KR101739736B1 - Camera module and method for controlling thereof - Google Patents
Camera module and method for controlling thereof Download PDFInfo
- Publication number
- KR101739736B1 KR101739736B1 KR1020100065704A KR20100065704A KR101739736B1 KR 101739736 B1 KR101739736 B1 KR 101739736B1 KR 1020100065704 A KR1020100065704 A KR 1020100065704A KR 20100065704 A KR20100065704 A KR 20100065704A KR 101739736 B1 KR101739736 B1 KR 101739736B1
- Authority
- KR
- South Korea
- Prior art keywords
- circuit board
- printed circuit
- size
- motor
- image
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 11
- 230000003287 optical effect Effects 0.000 claims abstract description 17
- 238000004891 communication Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000037308 hair color Effects 0.000 description 1
- 238000002347 injection Methods 0.000 description 1
- 239000007924 injection Substances 0.000 description 1
- 238000009413 insulation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01L—SEMICONDUCTOR DEVICES NOT COVERED BY CLASS H10
- H01L27/00—Devices consisting of a plurality of semiconductor or other solid-state components formed in or on a common substrate
- H01L27/14—Devices consisting of a plurality of semiconductor or other solid-state components formed in or on a common substrate including semiconductor components sensitive to infrared radiation, light, electromagnetic radiation of shorter wavelength or corpuscular radiation and specially adapted either for the conversion of the energy of such radiation into electrical energy or for the control of electrical energy by such radiation
- H01L27/144—Devices controlled by radiation
- H01L27/146—Imager structures
- H01L27/14601—Structural or functional details thereof
- H01L27/14618—Containers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/50—Constructional details
- H04N23/54—Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Power Engineering (AREA)
- Electromagnetism (AREA)
- Condensed Matter Physics & Semiconductors (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
본 발명은 카메라 모듈 및 그의 구동 방법에 관한 것으로, 본 발명은 피사체의 광 이미지를 입사하는 복수의 렌즈를 포함하는 렌즈 배럴, 상기 렌즈 배럴의 하부에 위치하여 상기 광 이미지를 전기적인 신호로 변환하는 이미지 센서, 상기 이미지 센서가 상부에 부착되어 있으며, 외부로 연장되는 연장부를 포함하는 인쇄회로기판, 상기 인쇄회로기판의 상기 연장부와 연결되어 있으며, 상기 인쇄회로기판을 광축 방향을 기준으로 상하, 앞뒤 및 좌우로 이동시킬 수 있는 모터부, 상기 인쇄회로기판의 상부에 부착되며 상기 이미지 센서를 통해 입력되는 영상 이미지 중 피사체의 얼굴 영역을 판단하고, 얼굴 영역이 설정된 기준 크기 및 기준 위치를 갖도록 상기 모터부를 구동시키는 모터 구동부를 포함한다.The present invention relates to a camera module and a method of driving the same, and more particularly to a camera module and a method of driving the same. The lens barrel includes a lens barrel including a plurality of lenses for receiving an optical image of a subject, A printed circuit board connected to the extension of the printed circuit board, the printed circuit board including an image sensor, an image sensor mounted on the image sensor, and an extension extending to the outside, And a control unit for controlling the motor so as to determine the face area of the subject in the image image input through the image sensor, And a motor driving unit for driving the motor unit.
Description
본 발명은 카메라 모듈 및 그의 구동 방법에 관한 것이다.The present invention relates to a camera module and a driving method thereof.
최근 통신 기술 및 디지털 정보 처리 기술의 발전과 더불어 정보 처리 및 연산, 통신, 화상 정보 입출력 등 다양한 기능의 집적된 이동통신단말기 기술이 새롭게 대두되고 있다. 디지털 카메라와 통신 기능이 장착된 PDA, 디지털 카메라 기능이 부가된 휴대 전화, 개인 휴대 멀티미디어 재생기(PMP, personal multi-media player)등을 그 예로 들 수 있는데, 디지털 카메라 기술 및 정보 저장 능력의 발달로 인하여 높은 사양의 디지털 카메라 모듈(digital camera module)의 장착이 점차 보편화되고 있는 것이 추세이며, 제발 기술의 발달로 이동통신단말기에 장착되는 디지털 카메라 모듈에 메가 픽셀(mega pixel)급 이미지 센서(image sensor)가 사용되고 있다.Recently, with the development of communication technology and digital information processing technology, an integrated mobile communication terminal technology of various functions such as information processing, calculation, communication, image information input / output, etc. is newly emerged. A PDA equipped with a digital camera and a communication function, a mobile phone with a digital camera function, a personal multi-media player (PMP), and the like. A digital camera module mounted on a mobile communication terminal has been equipped with a mega pixel image sensor (hereinafter, referred to as " image sensor " ) Are used.
특히, 자동 초점 및 광학 줌 등 부가 기능은 사용자로 하여금 사진 촬영의 호기심을 불러일으키고 있다.In particular, additional functions such as autofocus and optical zoom are causing the user to be curious about photography.
그러나, 종래 사진 촬영을 할 때 피사체인 사람은 촬영자의 지시에 따라 카메라 모듈과의 거리를 확보한다. 피사체인 사람이 촬영자가 되어 본인의 인물 사진을 촬영하고자 하는 경우, 촬영자가 카메라 모듈과 피사체(촬영자) 사이의 중심을 일치시키지 못 해 촬영자의 얼굴이 화면의 중심에서 벗어나 외곽으로 치우치는 경우가 많다.However, when a conventional photographing is performed, a person who is a subject secures a distance from the camera module in accordance with the instruction of the photographer. When a person who is a subject is a photographer and wants to photograph a person's portrait, the photographer can not align the center between the camera module and the subject (photographer), and the photographer's face often deviates from the center of the screen to the outside.
본 발명은 피사체인 사람의 얼굴이 화면 중심에서 촬영될 수 있도록 자동 조정하는 카메라 모듈 및 그의 구동 방법을 제공한다.The present invention provides a camera module that automatically adjusts a face of a person, which is a subject, to be photographed at the center of the screen, and a driving method thereof.
본 발명의 한 특징에 따르면, 피사체의 광 이미지를 입사하는 복수의 렌즈를 포함하는 렌즈 배럴, 상기 렌즈 배럴의 하부에 위치하여 상기 광 이미지를 전기적인 신호로 변환하는 이미지 센서, 상기 이미지 센서가 상부에 부착되어 있으며, 외부로 연장되는 연장부를 포함하는 인쇄회로기판, 상기 인쇄회로기판의 상기 연장부와 연결되어 있으며, 상기 인쇄회로기판을 광축 방향을 기준으로 상하, 앞뒤 및 좌우로 이동시킬 수 있는 모터부, 상기 인쇄회로기판의 상부에 부착되며 상기 이미지 센서를 통해 입력되는 영상 이미지 중 피사체의 얼굴 영역을 판단하고, 얼굴 영역이 설정된 기준 크기 및 기준 위치를 갖도록 상기 모터부를 구동시키는 모터 구동부를 포함하는 카메라 모듈이 제공된다.According to an aspect of the present invention, there is provided a lens barrel comprising: a lens barrel including a plurality of lenses for inputting an optical image of a subject; an image sensor positioned below the lens barrel to convert the optical image into an electrical signal; A printed circuit board connected to the extension of the printed circuit board and capable of moving the printed circuit board up and down, back and forth, and left and right with respect to the direction of the optical axis, And a motor driving unit for driving the motor unit to determine a face area of the subject in the image image input through the image sensor and having a reference size and a reference position set on the printed circuit board A camera module is provided.
본 발명의 다른 특징에 따르면, 영상 이미지가 입력되면 전체 영역 중 피사체의 얼굴이 표시되는 얼굴 영역의 크기 및 위치를 검출하는 단계, 검출된 상기 얼굴 영역의 크기 및 위치와 설정된 기준 크기 및 기준 위치의 차이를 계산하는 단계, 계산된 상기 차이에 대응하도록 영상 이미지를 입사하는 렌즈를 이동시켜 상기 얼굴 영역의 크기 및 위치가 상기 기준 크기 및 기준 위치와 일치시키는 단계를 포함하는 카메라 모듈의 구동 방법이 제공된다.According to another aspect of the present invention, there is provided an image processing method comprising the steps of: detecting a size and a position of a face region in which a face of a subject is displayed in an entire region when a video image is input; detecting a size and a position of the detected face region, Calculating a difference, moving a lens to enter a video image so as to correspond to the calculated difference, and matching the size and position of the face area with the reference size and the reference position, do.
본 발명의 실시 예에서는 화면에 표시될 얼굴 영역을 검출하고 검출된 얼굴 영역의 크기 및 위치에 따라 모터부를 구동시켜 카메라 모듈을 자동으로 이동시킴으로써, 사용자가 별도의 조작없이 피사체의 얼굴 영역이 화면의 중심에 일정한 크기로 표시될 수 있도록 제어할 수 있다.In the embodiment of the present invention, the face area to be displayed on the screen is detected and the camera module is automatically moved by driving the motor part according to the size and position of the detected face area, It can be controlled so as to be displayed at a constant size in the center.
도 1은 본 발명의 실시 예에 따른 카메라 모듈의 단면도이다.
도 2는 본 발명의 실시 예에 따른 모터 구동부의 동작을 나타내는 플로우 차트이다.
도 3은 본 발명의 실시 예에 따른 화면에 표시되는 얼굴 영역의 예시도이다.
도 4는 본 발명의 실시 예에 따른 얼굴 영역의 크기 및 위치 검출 방법을 나타내는 플로우 차트이다.1 is a sectional view of a camera module according to an embodiment of the present invention.
2 is a flowchart showing the operation of the motor driving unit according to the embodiment of the present invention.
3 is an exemplary view of a face region displayed on a screen according to an embodiment of the present invention.
4 is a flowchart illustrating a method for detecting the size and position of a face area according to an embodiment of the present invention.
본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시 예를 가질 수 있는 바, 특정 실시 예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.
제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다.Terms including ordinals, such as first, second, etc., may be used to describe various elements, but the elements are not limited to these terms. The terms are used only for the purpose of distinguishing one component from another.
예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제2 구성요소는 제1 구성요소로 명명될 수 있고, 유사하게 제1 구성요소도 제2 구성요소로 명명될 수 있다. For example, without departing from the scope of the present invention, the second component may be referred to as a first component, and similarly, the first component may also be referred to as a second component.
어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, . On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between.
본 출원에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함한다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다. The terminology used in this application is used only to describe a specific embodiment and is not intended to limit the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise. In the present application, the terms "comprises", "having", and the like are used to specify that a feature, a number, a step, an operation, an element, a component, But do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.
이제 본 발명의 실시 예에 따른 카메라 모듈 및 그의 구동 방법에 대하여 도면을 참고하여 상세하게 설명하고, 도면 부호에 관계없이 동일하거나 대응하는 구성 요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기도 한다.Hereinafter, a camera module and a driving method thereof according to an embodiment of the present invention will be described in detail with reference to the drawings, and the same or corresponding components are denoted by the same reference numerals regardless of the reference numerals, It is also said.
도 1은 본 발명의 실시 예에 따른 카메라 모듈의 단면도이다.1 is a sectional view of a camera module according to an embodiment of the present invention.
도 1에 도시된 바와 같이, 카메라 모듈은 케이스(10), 렌즈 배럴(20), 홀더(30), 이미지 센서(40), 인쇄회로기판(50), 모터 구동부(60) 및 모터부(70)를 포함한다.1, the camera module includes a
케이스(10)는 하부가 개방된 육면체의 형태를 가지며, 상부 중심부에는 광투과홀이 형성되어 있다. 케이스(10)의 하부는 인쇄회로기판(50)에 의해 지지된다.The
케이스(10)는 그 내부와 외부의 절연을 위해 플라스틱으로 제조되는 것이 바람직하며, 대량 생산을 위하여 사출 성형되는 것도 가능하다.The
케이스(10)는 인쇄회로기판(50)과 결합하여 공간을 형성하며, 공간에는 렌즈 배럴(20), 홀더(30), 이미지 센서(40)를 포함한다.The
렌즈 배럴(20)은 복수의 렌즈를 고정, 보호하는 수단으로, 렌즈 배럴(20)의 내측에는 피사체의 광 이미지를 입사할 수 있는 복수의 렌즈가 광축 방향(O)을 따라 순차적으로 적층되어 있다.The
렌즈 배럴(20)의 둘레면에는 나사산(21)이 형성되어 있으며, 나사산(21)은 홀더(30)의 내주면에 형성된 나사산(31)과 나사 결합된다.A
홀더(30)는 상부와 하부가 개방된 원통 형상의 상측과 육면체 형상의 하측으로 나누어져 있으며, 상측의 내주면에는 렌즈 배럴(20)의 나사산(21)에 대응되는 나사산(31)이 형성되어 있다. 본 발명에서는 렌즈 배럴(20)을 홀더(30)에 나사 결합하면서 카메라 모듈의 원거리 포커싱을 맞출 수 있다.The
인쇄회로기판(50)에는 광 이미지를 전기적인 신호로 변환하는 이미지 센서(40)가 장착되어 있으며, 홀더(30)의 상측과 하측 사이에는 이미지 센서(40)로 광 이미지를 통과시킬 수 있는 ㅁ자 형상의 중앙 개구부가 형성되어 있으며, 중앙 개구부에는 적외선을 필터링하는 IR필터(도시하지 않음)가 장착될 수 있다.An
이미지 센서(40)는 렌즈 배럴(20)의 하부 및 인쇄회로기판(50)의 상부에 위치하여, 복수의 렌즈를 통해 입사되는 광 이미지를 전기적인 신호로 변환한다.The
인쇄회로기판(50)은 평탄도가 좋은 FPCB(Flexible Printed Circuit Board)일 수 있으며, 인쇄회로기판(50) 중 외부로 연장된 연장부(51, 52, 53)에는 모터부(70)가 전기적으로 연결되어 있다.The printed
인쇄회로기판(50)의 상부에는 모터 구동부(60)가 집적 회로(IC, Integrated circuit) 형태로 장착되어 있다.The
모터 구동부(60)는 이미지 센서(40)와 모터부(70) 사이에 전기적으로 연결되어, 이미지 센서(40)를 통해 입력되는 영상 이미지 중 피사체의 얼굴 영역을 판단하고, 얼굴 영역이 설정된 기준 영역의 크기와 위치를 갖도록 모터부(70)를 구동시킨다.The
모터부(70)는 인쇄회로기판(50)의 제1 연장부(51)와 전기적으로 연결되어 모터 구동부(60)의 제어신호에 따라 인쇄회로기판(50)을 광축 방향(O)을 따라 상하로 움직이는 제1 모터부(71)와, 인쇄회로기판(50)의 제2 연장부(52)와 전기적으로 연결되어 모터 구동부(60)의 제어신호에 따라 인쇄회로기판(50)을 앞뒤로 움직이는 제2 모터부(72)와, 인쇄회로기판(50)의 제3 연장부(53)와 전기적으로 연결되어 모터 구동부(60)의 제어신호에 따라 인쇄회로기판(50)을 좌우로 움직이는 제3 모터부(73)를 포함한다.The
도 1에 도시된 바와 같이, 인쇄회로기판(50)에는 이미지 센서(40), 홀더(30), 렌즈 배럴(20)이 차례로 적층되어 있으며, 이미지 센서(40), 홀더(30) 및 렌즈 배럴(20)은 케이스(10) 내에 고정되어 있으므로, 모터부(70)가 인쇄회로기판(50)을 상하, 앞뒤, 좌우 등으로 움직일 경우, 렌즈 배럴(20)은 인쇄회로기판(50)의 움직임에 대응하는 상하, 앞뒤, 좌우로 움직이게 된다.1, an
도 2는 본 발명의 실시 예에 따른 모터 구동부의 동작을 나타내는 플로우 차트이고, 도 3은 본 발명의 실시 예에 따른 화면에 표시되는 얼굴 영역의 예시도이다.FIG. 2 is a flowchart showing the operation of the motor driving unit according to the embodiment of the present invention, and FIG. 3 is an exemplary view of a face region displayed on a screen according to an embodiment of the present invention.
도 2에 도시된 바와 같이, 모터 구동부(60)는 이미지 센서(40)로부터 인물이 포함되는 영상 이미지를 입력 받는다(S201). 이때, 영상 이미지는 도 3a에 도시된 바와 같이 얼굴 영역이 크게 나온 영상 이미지일 수 있으며, 도 3b에 도시된 바와 같이 얼굴 영역이 좌측으로 치우쳐 얼굴 영역의 일부만 보이는 영상 이미지일 수 있으며, 도 3c에 도시된 바와 같이 얼굴 영역이 우측 아래로 치우쳐 얼굴 영역의 일부만 보이는 영상 이미지일 수 있다.As shown in FIG. 2, the
모터 구동부(60)는 영상 이미지가 입력되면, 영상 이미지의 전체 영역 중 피사체의 얼굴이 표시되는 영역인 얼굴 영역의 크기 및 위치를 검출한다(S202).When a video image is input, the
모터 구동부(60)가 얼굴 영역의 크기 및 위치를 검출하는 과정에 대해서는 하기 도 4를 참조하여 보다 구체적으로 설명하도록 한다.The process of detecting the size and position of the face region by the
그리고, 모터 구동부(60)는 검출된 얼굴 영역의 크기 및 위치와 설정된 기준 크기 및 기준 위치(중심 위치)를 비교한다(S203).Then, the
이때, 설정된 기준 크기 및 기준 위치는 도 3d에 도시된 크기 및 위치이며 이는 사용자에 의해 임의로 설정, 변경이 가능하다.At this time, the set reference size and the reference position are the size and the position shown in FIG. 3D, which can be arbitrarily set and changed by the user.
검출된 얼굴 영역의 크기 및 위치가 설정된 기준 크기 및 기준 위치와 일치하면(S203), 모터 구동부(60)는 모터부(70)를 구동시키지 않는다(S204).If the size and position of the detected face region coincide with the set reference size and the reference position (S203), the
그러나, 검출된 얼굴 영역의 크기 및 위치가 설정된 기준 크기 및 기준 위치와 차이가 있으면, 모터 구동부(60)는 검출된 얼굴 영역의 크기 및 위치와 설정된 기준 크기 및 기준 위치의 차이를 계산한다(S205).However, if the size and position of the detected face area are different from the set reference size and the reference position, the
모터 구동부(60)는 계산된 차이만큼 모터부(70)가 인쇄회로기판(50)을 이동시키도록 모터부(70)를 구동시킨다(S206). 그러면 인쇄회로기판(50)이 이동하면서 검출된 얼굴 영역의 크기 및 위치가 설정된 기준 크기 및 기준 위치와 일치하게 된다.The
보다 구체적으로, 도 3a에 도시된 바와 같이 얼굴 영역의 크기가 기준 크기 이상이면, 모터 구동부(60)는 검출된 얼굴 영역의 크기와 기준 크기의 차이에 대응하는 만큼 제1 모터부(71)를 구동시킨다. 그러면, 제1 모터부(71)가 인쇄회로기판(50)을 아래로 구동시켜 도 3a의 얼굴 영역의 크기는 도 3d의 기준 크기로 화면(도시하지 않음)에 표시되게 된다.3A, when the size of the face area is larger than the reference size, the
도 3b에 도시된 바와 같이 얼굴 영역의 위치가 기준 위치에서 좌측이면, 모터 구동부(60)는 검출된 얼굴 영역의 위치가 기준 위치와 일치하도록 위치 차이에 대응하는 만큼 제3 모터부(73)를 구동시킨다. 그러면, 제3 모터부(73)가 인쇄회로기판(50)을 우측으로 구동시켜 도 3b의 얼굴 영역의 위치가 도 3d의 중심 위치와 일치하도록 화면에 표시되게 된다.3B, if the position of the face region is the left side in the reference position, the
도 3c에 도시된 바와 같이 얼굴 영역의 위치가 기준 위치에서 우측 아래이면, 모터 구동부(60)는 검출된 얼굴 영역의 위치가 기준 위치와 일치하도록 위치 차이에 대응하는 만큼 제2 모터부(72) 및 제3 모터부(73)을 구동시킨다. 그러면, 제2 모터부(72) 및 제3 모터부(73)가 인쇄회로기판(50)을 좌측 위로 구동시켜 도 3c의 얼굴 영역의 위치가 도 3d의 중심 위치와 일치하도록 화면에 표시되게 된다. 3C, when the position of the face region is right below the reference position, the
이와 같이, 본 발명에서 모터 구동부(60)는 검출된 얼굴 영역의 위치 및 크기가 설정된 기준 위치 및 중앙 위치와 일치하도록 제1 모터부(71), 제2 모터부(72) 및 제3 모터부(73)을 각각 구동시킬 수 있으며, 동시에 구동시킬 수도 있다.In this way, in the present invention, the
상기한 바와 같이, 본 발명에서는 화면에 표시될 얼굴 영역을 검출하고 검출된 얼굴 영역의 크기 및 위치에 따라 모터부를 구동시켜 카메라 모듈을 자동으로 이동시킴으로써, 사용자가 별도의 조작없이 피사체의 얼굴 영역이 화면에서 설정된 크기 및 위치에 표시될 수 있도록 제어할 수 있다.As described above, in the present invention, the face area to be displayed on the screen is detected, and the camera module is automatically moved by driving the motor unit according to the size and position of the detected face area, It can be controlled so that it is displayed at the size and position set on the screen.
도 4는 본 발명의 실시 예에 따른 얼굴 영역의 크기 및 위치 검출 방법을 나타내는 플로우 차트이다.4 is a flowchart illustrating a method for detecting the size and position of a face area according to an embodiment of the present invention.
도 4에 도시된 바와 같이, 모터 구동부(60)는 이미지 센서(40)로부터 입력되는 영상 이미지를 채도 신호가 포함된 채도 영상 데이터로 변환한다(S401).4, the
채도 영상 데이터는 YCbCr 신호 중 색상 성분인 Cb, Cr를 의미한다.The chroma image data means Cb and Cr color components of the YCbCr signal.
본 발명에서는 영상 이미지를 채도 영상 데이터로 변환한 것으로 기술하였으나, 영상 이미지를 RGB 영상 데이터로 변화한 후에 RGB 영상 데이터를 채도 영상 데이터로 변환할 수도 있다.In the present invention, the video image is converted into the saturation video data. However, after converting the video image into the RGB video data, the RGB video data may be converted into the saturation video data.
복수의 화소 각각의 채도 영상 데이터 중 지정된 특정 색역의 채도 범위에 포함되는 화소들을 검출한다(S402).Pixels included in the saturation range of the specific gamut of the saturation image data of each of the plurality of pixels are detected (S402).
이때, 특정 색역은 피사체가 화면에 표시되는 영상 중 특정 채도 범위 또는 특정 휘도 범위로서, 피부색, 머리색, 적색, 녹색, 청색 등 다양할 수 있다. 그러나, 본 발명에서는 얼굴 영역의 얼굴 중심점을 계산하기 위해서 피부색을 특정 색역으로 설정한다. 아래에서는 설명의 편의상 특정 색역을 피부 색역으로 대표하여 설명한다.At this time, the specific gamut may be a specific saturation range or a specific luminance range of the image displayed on the screen of the subject, and may be various such as skin color, hair color, red, green, and blue. However, in the present invention, the skin color is set to a specific gamut in order to calculate the face center point of the face area. Hereinafter, for convenience of explanation, a specific gamut is represented by skin color gamut.
도 5는 피부색의 분포를 2변수 정규 분포로 모델링한 그래프로서, X축은 Cb 색차 신호의 값이고 Y축은 Cr 색차 신호의 값이다.FIG. 5 is a graph modeling the skin color distribution with a two-variable normal distribution, wherein the X axis is the value of the Cb color difference signal and the Y axis is the value of the Cr color difference signal.
도 5의 피부 색역은 대한민국 사람들의 피부색을 통계적으로 조사하여 추출된 색역으로, 나라, 인종에 따라 피부 색역은 다르게 추출될 수 있다.The skin color gamut of FIG. 5 can be extracted differently according to the color gamut extracted by statistically examining the skin color of Korean people and depending on the country and race.
모터 구동부(60)는 복수의 화소 각각의 채도 영상 데이터 중 특정 색역의 채도 범위에 포함되는 화소들을 얼굴 영역으로 추출한다(S403). 이때, 모터 구동부(60)는 엣지를 고려하여 화소들을 복수의 얼굴 영역으로 추출할 수 있다.The
이상에서 본 발명의 실시 예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, It belongs to the scope of right.
10: 케이스
20: 렌즈 배럴
30: 홀더
40: 이미지 센서
50: 인쇄회로기판
60: 모터 구동부
70: 모터부10: Case
20: lens barrel
30: Holder
40: Image sensor
50: printed circuit board
60:
70:
Claims (7)
상기 렌즈 배럴의 하부에 위치하여 상기 광 이미지를 전기적인 신호로 변환하는 이미지 센서,
상기 이미지 센서가 상부에 부착되어 있으며, 외부로 연장되는 연장부를 포함하는 인쇄회로기판,
상기 인쇄회로기판의 상기 연장부와 연결되어 있으며, 상기 인쇄회로기판을 광축 방향을 기준으로 상하, 앞뒤 및 좌우로 이동시킬 수 있는 모터부, 및
상기 인쇄회로기판의 상부에 부착되며 상기 이미지 센서를 통해 입력되는 영상 이미지 중 피사체의 얼굴 영역을 판단하고, 얼굴 영역이 설정된 기준 크기 및 기준 위치를 갖도록 상기 모터부를 구동시키는 모터 구동부를 포함하되,
상기 모터부는,
상기 연장부 중 제1 연장부와 연결되어 상기 모터 구동부의 제어신호에 따라 상기 인쇄회로기판을 광축 방향을 따라 상하로 움직이는 제1 모터부, 상기 연장부 중 제2 연장부와 연결되어 상기 모터 구동부의 제어신호에 따라 상기 인쇄회로기판을 광축 방향을 기준으로 앞뒤로 움직이는 제2 모터부, 및 상기 연장부 중 제3 연장부와 연결되어 상기 모터 구동부의 제어신호에 따라 상기 인쇄회로기판을 광축 방향을 기준으로 좌우로 움직이는 제3 모터부를 포함하고,
상기 모터 구동부는,
상기 이미지 센서로부터 입력되는 영상 이미지를 RGB 영상 데이터로 변환한 후에 상기 변환된 RGB 영상 데이터를 YCbCr 영상 데이터로 변환하고, 상기 YCbCr 영상 데이터 포함된 Cb 및 Cr 신호 값 중에서 특정 색역의 채도 범위에 포함되는 화소들을 상기 얼굴 영역으로 검출하며,
상기 검출된 얼굴 영역의 크기 및 위치와 상기 기준 크기 및 기준 위치를 비교하여 그 차이를 계산하고,
상기 검출된 얼굴 영역의 크기와 상기 기준 크기가 차이나는 경우, 상기 제1 모터부에 위쪽 또는 아래쪽으로 움직이는 제어 신호를 출력하고,
상기 검출된 얼굴 영역의 위치와 상기 기준 위치가 앞 또는 뒤쪽으로 차이 나는 경우, 상기 제2 모터부에 각각 뒤쪽 또는 앞쪽으로 움직이는 제어 신호를 출력하며,
상기 검출된 얼굴 영역의 위치와 상기 기준 위치가 왼쪽 또는 오른쪽으로 차이 나는 경우, 상기 제3 모터부에 각각 오른쪽 또는 왼쪽으로 움직이는 제어 신호를 출력하는,
카메라 모듈.A lens barrel including a plurality of lenses for entering an optical image of a subject,
An image sensor positioned below the lens barrel to convert the optical image into an electrical signal,
A printed circuit board on which the image sensor is mounted, the printed circuit board including an extension extending outwardly,
A motor unit connected to the extended portion of the printed circuit board and capable of moving the printed circuit board upward, downward, backward and leftward and rightward with respect to the optical axis direction,
And a motor driving unit which is attached to an upper part of the printed circuit board and judges a face area of a subject image inputted through the image sensor and drives the motor unit so that the face area has a set reference size and a reference position,
The motor unit includes:
A first motor part connected to a first extension part of the extension part and moving up and down the printed circuit board along the optical axis direction in accordance with a control signal of the motor drive part, A second motor part for moving the printed circuit board back and forth with respect to the optical axis direction in accordance with a control signal of the motor driving part and a second extension part connected to the third extension part of the extension part, And a third motor portion moving left and right on a reference basis,
The motor drive unit includes:
Converting the converted RGB image data into YCbCr image data after converting the image image input from the image sensor into RGB image data, and converting the converted RGB image data into YCbCr image data, wherein the Cb and Cr signal values included in the saturation range of the specific gamut Detecting pixels as the face region,
Comparing the size and position of the detected face area with the reference size and the reference position to calculate the difference,
And outputs a control signal for moving the first motor unit upward or downward when the size of the detected face region is different from the reference size,
And outputs a control signal for moving backward or forward to the second motor unit when the detected position of the face region and the reference position are different in forward or backward direction,
And outputting a control signal to the third motor unit to move right or left respectively when the detected position of the face region and the reference position differ from left or right,
Camera module.
상부와 하부가 개방된 원통 형상의 상측부와 육면체 형상의 하측부로 이루어져 있으며, 상기 상측부는 상기 렌즈 배럴과 나사 결합되며 상기 하측부의 하면은 상기 인쇄회로기판에 의해 지지되는 홀더를 더 포함하는 카메라 모듈.The method according to claim 1,
The camera module according to any one of claims 1 to 3, further comprising: a holder having an upper portion and a lower portion, the upper portion and the lower portion being hexagonal, the upper portion being screwed to the lens barrel and the lower portion being supported by the printed circuit board .
검출된 상기 얼굴 영역의 크기 및 위치와 설정된 기준 크기 및 기준 위치의 차이를 계산하는 단계, 및
계산된 상기 차이에 대응하도록 영상 이미지를 입사하는 렌즈를 광축 방향을 따라 위 또는 아래 쪽으로 이동시키거나 상기 광축에 직교하는 평면 상에서 상하좌우로 이동시켜 상기 얼굴 영역의 크기 및 위치가 상기 기준 크기 및 기준 위치와 일치시키는 단계를 포함하되,
상기 검출하는 단계는,
상기 영상 이미지를 RGB 영상 데이터로 변환한 후에 상기 변환된 RGB 영상 데이터를 YCbCr 영상 데이터로 변환하는 단계;
상기 변환된 YCbCr 영상 데이터에 포함된 Cb 및 Cr 신호 값 중에서 특정 색역의 채도 범위에 포함되는 화소들을 검출하는 단계; 및
상기 검출된 화소들을 얼굴 영역으로 추출하는 단계;를 포함하는
카메라 모듈의 구동 방법.Detecting a size and a position of a face region in which the face of the subject is displayed in the entire region when the video image is input;
Calculating a difference between the detected size and position of the face area and a set reference size and a reference position, and
Moving the lens for entering the image image upward or downward along the optical axis direction or vertically and horizontally on the plane orthogonal to the optical axis so that the size and position of the face area correspond to the reference size and the reference Location,
Wherein the detecting comprises:
Converting the converted RGB image data into YCbCr image data after converting the RGB image data into RGB image data;
Detecting pixels included in a saturation range of a specific color gamut among Cb and Cr signal values included in the converted YCbCr image data; And
And extracting the detected pixels as a face region
A method of driving a camera module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020100065704A KR101739736B1 (en) | 2010-07-08 | 2010-07-08 | Camera module and method for controlling thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020100065704A KR101739736B1 (en) | 2010-07-08 | 2010-07-08 | Camera module and method for controlling thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20120005120A KR20120005120A (en) | 2012-01-16 |
KR101739736B1 true KR101739736B1 (en) | 2017-05-25 |
Family
ID=45611359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020100065704A KR101739736B1 (en) | 2010-07-08 | 2010-07-08 | Camera module and method for controlling thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101739736B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112193175B (en) * | 2020-10-09 | 2022-04-08 | 安徽江淮汽车集团股份有限公司 | Adjusting method and adjusting mechanism of monitoring camera adjusting mechanism and monitoring device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008244805A (en) * | 2007-03-27 | 2008-10-09 | Fujifilm Corp | Digital camera |
-
2010
- 2010-07-08 KR KR1020100065704A patent/KR101739736B1/en active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008244805A (en) * | 2007-03-27 | 2008-10-09 | Fujifilm Corp | Digital camera |
Also Published As
Publication number | Publication date |
---|---|
KR20120005120A (en) | 2012-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101860644B (en) | Image processing apparatus | |
US8395694B2 (en) | Apparatus and method for blurring image background in digital image processing device | |
US8212890B2 (en) | Imaging device and imaging method | |
CN101378458B (en) | Use digital photographing apparatus and the method for face recognition function | |
KR101387404B1 (en) | Apparatus of controlling digital image processing apparatus and method thereof | |
US8520116B2 (en) | Photographing apparatus and method | |
US8823837B2 (en) | Zoom control method and apparatus, and digital photographing apparatus | |
US20130113888A1 (en) | Device, method and program for determining obstacle within imaging range during imaging for stereoscopic display | |
JP5736796B2 (en) | Electronic camera, program and recording medium | |
US10516860B2 (en) | Image processing method, storage medium, and terminal | |
US8576320B2 (en) | Digital photographing apparatus and method of controlling the same | |
US9398222B2 (en) | Image display device that displays image and display bodies specifying image's particular regions, control method and storage medium therefor, and image pickup apparatus | |
US8648960B2 (en) | Digital photographing apparatus and control method thereof | |
CN104823094A (en) | Image capture device and focus control method | |
US20100123804A1 (en) | Emotion-based image processing apparatus and image processing method | |
US10477113B2 (en) | Imaging device and control method therefor | |
CN111095913B (en) | Image processing apparatus, image processing method, image capturing apparatus, image capturing method, and storage medium | |
US20130257896A1 (en) | Display device | |
US11689798B2 (en) | Electronic device, image-capturing device, and image-capturing system | |
KR20090067915A (en) | Apparatus and method for capturing image by composition recommandation | |
JP5044472B2 (en) | Image processing apparatus, imaging apparatus, image processing method, and program | |
KR101613617B1 (en) | Apparatus and method for digital picturing image | |
KR101739736B1 (en) | Camera module and method for controlling thereof | |
KR20120059183A (en) | Photographic apparatus including camera module and method for taking image thereof | |
KR101411309B1 (en) | Digital image processing apparatus which can determine the eye's open-close rate comprised in image |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |