TW201339986A - Method and device for capturing image - Google Patents

Method and device for capturing image Download PDF

Info

Publication number
TW201339986A
TW201339986A TW101111406A TW101111406A TW201339986A TW 201339986 A TW201339986 A TW 201339986A TW 101111406 A TW101111406 A TW 101111406A TW 101111406 A TW101111406 A TW 101111406A TW 201339986 A TW201339986 A TW 201339986A
Authority
TW
Taiwan
Prior art keywords
face portion
subject
image capturing
control unit
standard posture
Prior art date
Application number
TW101111406A
Other languages
Chinese (zh)
Inventor
Yu-Chen Huang
Wen-Yan Chang
Original Assignee
Altek Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Altek Corp filed Critical Altek Corp
Priority to TW101111406A priority Critical patent/TW201339986A/en
Publication of TW201339986A publication Critical patent/TW201339986A/en

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)
  • Studio Devices (AREA)

Abstract

A method for capturing images and an image capture device using the method are provided. The method includes: getting a preview image of a photoed person; executing a face detection on the preview image to get a face part of the photoed person; and, obtaining a plurality of features of the face part. The method also includes: determining if the face part fits a standard pose according to the features; if the face part does not fit the standard, a suggestion message is outputted from the image capture device, the suggestion message is configured to indicate how the photoed person fits the standard pose; and, if the face part fits the standard pose, capturing an image of the photoed person. Therefore, the photoed person is actively indicated that how to adjust his pose during photoing.

Description

影像擷取方法與影像擷取裝置Image capturing method and image capturing device

本發明是有關於一種影像擷取的技術,且特別是有關於一種能主動提醒被拍攝者如何調整其姿勢的影像擷取方法與裝置。The present invention relates to a technique for image capture, and more particularly to an image capture method and apparatus that can actively remind a photographer how to adjust his or her posture.

隨著製作感光元件與鏡頭的技術進步,市面上許多裝置都能夠擷取影像或者是視訊。例如,除了照相機以外,筆記型電腦、手機以及平板電腦都常配備了能夠擷取影像的裝置。當用這些能夠擷取影像的裝置來拍攝人物時,一般使用者會希望拍攝較好看的人物照片。然而,如何決定何種姿勢是屬於好看的人物照片需要一定程度的攝影技巧,而一般使用者不一定都具備足夠的攝影技巧。With advances in the development of photosensitive elements and lenses, many devices on the market are capable of capturing images or video. For example, in addition to cameras, notebooks, cell phones, and tablets are often equipped with devices that capture images. When using these devices that can capture images to capture people, the average user would like to take a better picture of the person. However, how to determine which posture is a good-looking character photo requires a certain degree of photography skills, and the average user does not necessarily have enough photography skills.

另一方面,隨著電腦視覺與機器學習的技術越來越進步。一般的影像擷取裝置可以搭配一運算單元來偵測所擷取的影像中的物體。例如,搭配哈爾類型(haar-like)的特徵擷取演算法以及適應性增強(Adaptive boosting,AdaBoost)的機器學習演算法,可以準確的偵測出影像中的人臉部份。然而,這樣的技術僅能偵測出人臉部份,並不能幫助使用者拍攝出好看的人物照片。因此,如何提出一種方法,讓沒有一定程度的攝影技巧的使用者可以拍攝出好看的人物照片,為此領域技術人員所關心的議題。On the other hand, with the advancement of computer vision and machine learning technology. A general image capturing device can be combined with an arithmetic unit to detect objects in the captured image. For example, with the haar-like feature extraction algorithm and the adaptive learning (AdaBoost) machine learning algorithm, the face part of the image can be accurately detected. However, such a technique can only detect a part of the face and does not help the user to take a picture of a good-looking person. Therefore, how to propose a method for a user who does not have a certain degree of photography skills can take a picture of a good person, a topic of interest to those skilled in the field.

本發明提出一種影像擷取方法與影像擷取裝置,可以自動的提醒被拍攝者如何調整其姿勢,使得拍攝出的影像符合一標準姿勢。The invention provides an image capturing method and an image capturing device, which can automatically remind the photographer how to adjust its posture so that the captured image conforms to a standard posture.

本發明一實施例提出一種影像擷取方法,用於一影像擷取裝置。此影像擷取方法包括:取得被拍攝者的一預視影像;對此預視影像進行一人臉偵測以取得被拍攝者的人臉部分;並且,取得此人臉部分的多個特徵值。此影像擷取方法還包括:根據這些特徵值,判斷所取得的人臉部份是否符合一標準姿勢;若人臉部份不符合標準姿勢,則由影像擷取裝置輸出一提示訊息,此提示訊息是用以指示被拍攝者如何符合標準姿勢;以及,若人臉部份符合此標準姿勢,則擷取被拍攝者的一影像。An embodiment of the invention provides an image capture method for an image capture device. The image capturing method includes: obtaining a preview image of the subject; performing a face detection on the preview image to obtain a face portion of the subject; and obtaining a plurality of features of the face portion value. The image capturing method further includes: determining, according to the feature values, whether the obtained face portion conforms to a standard posture; if the face portion does not conform to the standard posture, the image capturing device outputs a prompt message, the prompt The message is used to indicate how the subject conforms to the standard posture; and if the face portion conforms to the standard posture, an image of the subject is captured.

在本發明的一實施例中,上述影像擷取裝置包括一聲音輸出單元。其中由影像擷取裝置輸出提示訊息的步驟包括:實作提示訊息為聲音訊號,並由此聲音輸出單元發出所實作的聲音訊號。In an embodiment of the invention, the image capturing device includes a sound output unit. The step of outputting the prompt message by the image capturing device comprises: implementing the prompt message as an audio signal, and thereby outputting the actual sound signal by the sound output unit.

在本發明的一實施例中,上述特徵值包括一鼻子位置、一左臉邊緣位置以及一右臉邊緣位置。上述影像擷取方法還包括:根據鼻子位置與左臉邊緣位置之間的水平距離以及鼻子位置與右臉邊緣位置之間的水平距離,判斷人臉部份的一水平面向角度是否符合標準姿勢的水平面向角度;以及,若人臉部份的水平面向角度不符合標準姿勢的水平面向角度,設定提示訊息用以指示被拍攝者將被拍攝者的頭轉向右或轉向左。In an embodiment of the invention, the feature value includes a nose position, a left face edge position, and a right face edge position. The image capturing method further includes: determining whether a horizontal orientation of the face portion conforms to a standard posture according to a horizontal distance between a nose position and a left face edge position and a horizontal distance between the nose position and the right face edge position. Horizontally facing the angle; and, if the horizontal face of the face portion does not conform to the horizontal orientation of the standard posture, a prompt message is set to indicate that the subject turns the subject's head to the right or to the left.

在本發明的一實施例中,上述特徵值包括一上眼瞼高度。上述的影像擷取方法還包括:根據上眼瞼高度的大小,判斷人臉部份的一垂直面向角度是否符合標準姿勢的一垂直面向角度;以及,若人臉部份的垂直面向角度不符合標準姿勢的垂直面向角度,設定提示訊息用以指示被拍攝者將被拍攝者的頭轉向上或轉向下。In an embodiment of the invention, the feature value includes an upper eyelid height. The image capturing method further includes: determining, according to the height of the upper eyelid, whether a vertical facing angle of the face portion conforms to a vertical facing angle of the standard posture; and if the vertical facing angle of the human face portion does not meet the standard The vertical direction of the posture is set, and a prompt message is set to instruct the subject to turn the subject's head up or down.

在本發明的一實施例中,上述特徵值包括一瞳孔位置與一眼睛輪廓。上述的影像擷取方法還包括:根據瞳孔位置相對於眼睛輪廓的相對位置,判斷人臉部份的一目光方向是否符合標準姿勢的一目光方向;以及,若人臉部份的目光方向不符合標準姿勢的目光方向,設定提示訊息用以指示被拍攝者調整被拍攝者的目光方向。In an embodiment of the invention, the feature value includes a pupil position and an eye contour. The image capturing method further includes: determining whether a gaze direction of the face portion conforms to a gaze direction of the standard posture according to a relative position of the pupil position relative to the contour of the eye; and if the gaze direction of the face portion does not match In the gaze direction of the standard posture, a setting prompt message is used to instruct the subject to adjust the gaze direction of the subject.

在本發明的一實施例中,上述特徵值包括一眼睛輪廓。上述的影像擷取方法還包括:根據眼睛輪廓的眼睛高度,判斷人臉部份的一眼睛閉合狀態是否符合標準姿勢的眼睛閉合狀態;以及,若人臉部份的眼睛閉合狀態不符合標準姿勢的眼睛閉合狀態,設定提示訊息用以指示被拍攝者將被拍攝者的眼睛睜開或閉上。In an embodiment of the invention, the feature value includes an eye contour. The image capturing method described above further includes: determining whether an eye closed state of the face portion conforms to a standard posture eye closed state according to an eye height of the eye contour; and if the face portion of the eye closed state does not conform to the standard posture The eyes are closed, and a prompt message is set to indicate that the subject has opened or closed the subject's eyes.

在本發明的一實施例中,上述特徵值包括多個嘴角位置、一上嘴唇中心位置以及一下嘴唇中心位置。上述的影像擷取方法還包括:根據嘴角位置、上嘴唇中心位置與下嘴唇中心位置之間的相對位置,判斷人臉部份的微笑狀態是否符合標準姿勢的微笑狀態;以及,若人臉部份的微笑狀態不符合標準姿勢的微笑狀態,設定提示訊息用以指示被拍攝者調整被拍攝者的微笑程度。In an embodiment of the invention, the feature value includes a plurality of mouth corner positions, an upper lip center position, and a lower lip center position. The image capturing method further includes: determining, according to the position of the corner of the mouth, the relative position between the center position of the upper lip and the center position of the lower lip, whether the smile state of the face portion conforms to the smile state of the standard posture; and, if the face portion The smile state of the share does not conform to the smile state of the standard posture, and the setting prompt message is used to instruct the subject to adjust the smile degree of the subject.

在本發明的一實施例中,上述特徵值包括一眼睛輪廓。上述的影像擷取方法還包括:根據眼睛輪廓的完整度,判斷人臉部份是否被物體所遮蔽;以及,若人臉部份已被遮蔽,設定提示訊息用以通知被拍攝者已被遮蔽。In an embodiment of the invention, the feature value includes an eye contour. The image capturing method further includes: determining whether the face portion is obscured by the object according to the integrity of the contour of the eye; and, if the face portion has been obscured, setting a prompt message to notify the subject that the subject has been obscured .

以另外一個角度來說,本發明一實施例還提出一種影像擷取裝置。此影像擷取裝置包括一像擷取單元與一控制單元。影像擷取單元是用以取得被拍攝者的一預視影像。控制單元是耦接至影像擷取單元,用以對預視影像進行一人臉偵測以取得被拍攝者的人臉部分,並且還取得人臉部分的多個特徵值。控制單元會根據這些特徵值,判斷所取得的人臉部份是否符合一標準姿勢。若人臉部份不符合標準姿勢,則控制單元會產生一提示訊息,用以指示被拍攝者如何符合標準姿勢。人臉部份符合標準姿勢,則由影像擷取單元擷取被拍攝者的一影像。In another aspect, an embodiment of the present invention further provides an image capturing device. The image capturing device comprises an image capturing unit and a control unit. The image capturing unit is used to obtain a preview image of the subject. The control unit is coupled to the image capturing unit for performing a face detection on the preview image to obtain a face portion of the subject, and also obtaining a plurality of feature values of the face portion. Based on these characteristic values, the control unit determines whether the obtained face portion conforms to a standard posture. If the face part does not conform to the standard posture, the control unit will generate a prompt message to indicate how the subject conforms to the standard posture. When the face part conforms to the standard posture, an image of the subject is captured by the image capturing unit.

在本發明的一實施例中,上述影像擷取裝置還包括一聲音輸出單元。控制單元更用以實作提示訊息為一聲音訊號,並由聲音輸出單元發出此聲音訊號。In an embodiment of the invention, the image capturing device further includes a sound output unit. The control unit is further configured to implement the prompt message as an audio signal, and the sound output unit sends the sound signal.

在本發明的一實施例中,上述特徵值包括一鼻子位置、一左臉邊緣位置以及一右臉邊緣位置。控制單元還用以根據鼻子位置與左臉邊緣位置之間的水平距離以及鼻子位置與右臉邊緣位置之間的水平距離,判斷人臉部份的一水平面向角度是否符合標準姿勢的水平面向角度。若人臉部份的水平面向角度不符合標準姿勢的水平面向角度,控制單元設定提示訊息用以指示被拍攝者將被拍攝者的頭轉向右或轉向左。In an embodiment of the invention, the feature value includes a nose position, a left face edge position, and a right face edge position. The control unit is further configured to determine whether a horizontal orientation of the face portion conforms to a horizontal orientation of the standard posture according to a horizontal distance between the nose position and the left face edge position and a horizontal distance between the nose position and the right face edge position. . If the horizontal face of the face portion does not conform to the horizontal orientation of the standard posture, the control unit sets a prompt message to instruct the subject to turn the subject's head to the right or to the left.

在本發明的一實施例中,上述特徵值包括一上眼瞼高度。控制單元還用以根據上眼瞼高度的大小,判斷人臉部份的一垂直面向角度是否符合標準姿勢的垂直面向角度。若人臉部份的垂直面向角度不符合標準姿勢的垂直面向角度,控制單元設定提示訊息用以指示被拍攝者將被拍攝者的頭轉向上或轉向下。In an embodiment of the invention, the feature value includes an upper eyelid height. The control unit is further configured to determine whether a vertical facing angle of the face portion conforms to a vertical facing angle of the standard posture according to the height of the upper eyelid height. If the vertical facing angle of the face portion does not conform to the vertical facing angle of the standard posture, the control unit sets a prompt message for instructing the subject to turn the subject's head up or down.

在本發明的一實施例中,上述特徵值包括一瞳孔位置與一眼睛輪廓。控制單元還用以根據瞳孔位置相對於眼睛輪廓的相對位置,判斷人臉部份的一目光方向是否符合標準姿勢的目光方向。若人臉部份的目光方向不符合標準姿勢的目光方向,控制單元會設定提示訊息用以指示被拍攝者調整被拍攝者的目光方向。In an embodiment of the invention, the feature value includes a pupil position and an eye contour. The control unit is further configured to determine whether a gaze direction of the face portion conforms to a gaze direction of the standard posture according to a relative position of the pupil position relative to the contour of the eye. If the gaze direction of the face portion does not conform to the gaze direction of the standard posture, the control unit sets a prompt message for instructing the subject to adjust the gaze direction of the subject.

在本發明的一實施例中,上述特徵值包括一眼睛輪廓。控制單元還用以根據眼睛輪廓的眼睛高度,判斷人臉部份的眼睛閉合狀態是否符合標準姿勢的眼睛閉合狀態。若人臉部份的眼睛閉合狀態不符合標準姿勢的眼睛閉合狀態,控制單元設定提示訊息用以指示被拍攝者將被拍攝者的眼睛睜開或閉上。In an embodiment of the invention, the feature value includes an eye contour. The control unit is further configured to determine whether the eye closed state of the face portion conforms to the eye closed state of the standard posture according to the eye height of the eye contour. If the eye closed state of the face portion does not conform to the standard eye closed state, the control unit sets a prompt message to instruct the subject to open or close the subject's eyes.

在本發明的一實施例中,上述特徵值包括多個嘴角位置、一上嘴唇中心位置以及一下嘴唇中心位置。控制單元還用以根據這些嘴角位置、上嘴唇中心位置與下嘴唇中心位置之間的相對位置,判斷人臉部份的一微笑狀態是否符合標準姿勢的微笑狀態。若人臉部份的微笑狀態不符合標準姿勢的微笑狀態,控制單元設定提示訊息用以指示被拍攝者調整被拍攝者的微笑程度。In an embodiment of the invention, the feature value includes a plurality of mouth corner positions, an upper lip center position, and a lower lip center position. The control unit is further configured to determine whether a smile state of the face portion conforms to a smile state of the standard posture according to the relative positions between the corner position of the mouth, the center position of the upper lip, and the center position of the lower lip. If the smile state of the face portion does not conform to the smile state of the standard posture, the control unit sets a prompt message for instructing the subject to adjust the smile degree of the subject.

在本發明的一實施例中,上述特徵值包括一眼睛輪廓。控制單元還用以根據眼睛輪廓的完整度,判斷人臉部份是否被一物體所遮蔽。若人臉部份已被遮蔽,控制單元設定提示訊息用以通知被拍攝者已被遮蔽。In an embodiment of the invention, the feature value includes an eye contour. The control unit is further configured to determine whether the face portion is obscured by an object according to the integrity of the contour of the eye. If the face portion has been obscured, the control unit sets a prompt message to notify the subject that the subject has been obscured.

基於上述,本發明實施例所提出的影像擷取裝置與影像擷取方法,可以透過語音主動的提醒被拍攝者如何調整其姿勢。因此,即使攝影者不具備專業的攝影技巧,也可以拍攝出與標準姿勢相近的影像。Based on the above, the image capturing device and the image capturing method provided by the embodiments of the present invention can actively remind the photographer how to adjust the posture thereof through voice. Therefore, even if the photographer does not have professional photography skills, it is possible to take an image that is close to the standard posture.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

圖1是根據一實施例說明影像擷取裝置的方塊圖。1 is a block diagram illustrating an image capture device in accordance with an embodiment.

請參考圖1,影像擷取裝置100是用以拍攝一被拍攝者的影像。特別的是,影像擷取裝置100可以提醒被拍攝者如何調整其姿勢,使拍攝出的影像更好看。在本實施例中,影像擷取裝置100是一數位相機,然而在其他實施例中,影像擷取裝置也可以是智慧型手機,或是搭配有攝影鏡頭的筆記型電腦,本發明並不在此限。具體來說,影像擷取裝置100包括有影像擷取單元120、控制單元140、預視顯示單元160以及聲音輸出單元180。Referring to FIG. 1, the image capturing device 100 is configured to capture an image of a subject. In particular, the image capturing device 100 can remind the photographer how to adjust its posture to make the captured image look better. In this embodiment, the image capturing device 100 is a digital camera. However, in other embodiments, the image capturing device may also be a smart phone or a notebook computer with a photographic lens. The present invention is not limit. Specifically, the image capturing device 100 includes an image capturing unit 120, a control unit 140, a preview display unit 160, and a sound output unit 180.

影像擷取單元120是用以擷取影像。例如,影像擷取單元120是包括鏡頭、光圈、快門以及感光元件的裝置。The image capturing unit 120 is configured to capture an image. For example, the image capturing unit 120 is a device including a lens, an aperture, a shutter, and a photosensitive element.

控制單元140是耦接至影像擷取單元120、預視顯示單元160、以及聲音輸出單元。控制單元140是用以控制整個影像擷取裝置100,以及做影像處理相關的演算法。例如,控制單元140可以用來做去雜訊、白平衡(white balance)、銳利度增強(sharpness enhancement)或其他影像處理。在本實施例中,控制單元140是一個中央處理器(central processing unit,CPU),然而在其他實施例中,控制單元140也可以是微處理器(mircoprocessor)或是特殊應用積體電路(Application-specific integrated circuit,ASIC),本發明並不在此限。The control unit 140 is coupled to the image capturing unit 120, the preview display unit 160, and the sound output unit. The control unit 140 is used to control the entire image capturing device 100 and perform image processing related algorithms. For example, control unit 140 can be used to perform denoising, white balance, sharpness enhancement, or other image processing. In this embodiment, the control unit 140 is a central processing unit (CPU). However, in other embodiments, the control unit 140 may also be a microprocessor (mircoprocessor) or a special application integrated circuit (Application). -specific integrated circuit (ASIC), the invention is not limited thereto.

預視顯示單元160是用以顯示即時場景(live view),顯示此即時場景可以讓使用者在擷取影像之前,預視將擷取的影像的內容。例如,預視顯示單元160可以是液晶顯示器(Liquid Crystal Display,LCD),然而,預視顯示單元160也可以是其他種類的顯示面板,本發明並不在此限。The preview display unit 160 is configured to display a live view, and the display of the live view allows the user to preview the content of the captured image before capturing the image. For example, the preview display unit 160 may be a liquid crystal display (LCD). However, the preview display unit 160 may also be other types of display panels, and the present invention is not limited thereto.

聲音輸出單元180是用以發出聲音,例如,聲音輸出單元180是一個喇叭,用以輸出影像處理裝置100的語音訊號或音樂訊號。The sound output unit 180 is for emitting sound. For example, the sound output unit 180 is a speaker for outputting a voice signal or a music signal of the image processing apparatus 100.

其中,影像擷取單元120會取得至少一被拍攝者的一預視影像,控制單元140會將此預視影像顯示在預視顯示單元160。The image capturing unit 120 obtains a preview image of at least one subject, and the control unit 140 displays the preview image on the preview display unit 160.

圖2是根據一實施例說明拍攝被拍攝者的示意圖。2 is a schematic diagram illustrating photographing a subject in accordance with an embodiment.

請參照圖2,在此實施例中,被拍攝者210只有一位。然而,在其他實施例中被拍攝者可以有更多位,本發明並不限制被拍攝者的數目。影像擷取單元120在取得預視影像202以後,會將預視影像202顯示在預視顯示單元160上。並且,控制單元140會對此預視影像202做人臉偵測,取得對應被拍攝者210的人臉部份220。例如,控制單元140可以根據Viola和Jones所提出的物件偵測演算法來做人臉偵測。然而,控制單元也可以使用一類神經網路來做人臉偵測,本發明並不限制人臉偵測的演算法。在本實施例中,控制單元140可以根據所取得的人臉部份,判斷此人臉部份是否符合一標準姿勢,進而主動告知被拍攝者如何調整其姿勢,使得所擷取的影像更好看。具體來說,控制單元140會先取得人臉部份220的多個特徵值,根據這些特徵值來判斷人臉部份220是否符合一標準姿勢。Referring to FIG. 2, in this embodiment, the subject 210 has only one bit. However, in other embodiments, the photographer may have more bits, and the present invention does not limit the number of photographers. After acquiring the preview image 202, the image capturing unit 120 displays the preview image 202 on the preview display unit 160. Moreover, the control unit 140 performs face detection on the preview image 202 to obtain a face portion 220 corresponding to the subject 210. For example, the control unit 140 can perform face detection according to the object detection algorithm proposed by Viola and Jones. However, the control unit can also use a type of neural network for face detection, and the present invention does not limit the algorithm for face detection. In this embodiment, the control unit 140 can determine whether the face portion conforms to a standard posture according to the obtained face portion, and then actively inform the photographer how to adjust the posture thereof, so that the captured image is better viewed. . Specifically, the control unit 140 first obtains a plurality of feature values of the face portion 220, and determines whether the face portion 220 conforms to a standard posture based on the feature values.

圖3是根據一實施例說明人臉部份特徵值的示意圖。3 is a schematic diagram illustrating facial feature values in accordance with an embodiment.

請參照圖3。控制單元140可以從人臉部份220中取得多個特徵點300a~300g。這些特徵點所在的位置是較能夠描述人臉部份220的位置,例如,人臉中眼睛、眉毛上的資訊較能表示一個人情緒,而臉頰部分的資訊較不能夠描述人的情緒,因此位於臉頰部分特徵點的數目會比位於眼睛、眉毛上特徵點的數目少。每個特徵點可包括代表顏色、位置、亮度、或是邊緣銳利程度的特徵值,這些特徵值可以用以描述人臉部份220不同的資訊。例如,特徵點300a、300b、300g的特徵值可以用來表示人臉部份220的輪廓。特徵點300c的特徵值可以表示眼睛的輪廓。特徵點300d的特徵值可以表示鼻子的位置。特徵點300e、300f的特徵值可以用來表示是否有微笑。除此之外,控制單元140還可以根據人臉部分220上特徵點的特徵值來計算出更有語意的特徵值。例如,控制單元140可以根據上述顏色、位置、亮度等特徵值來計算出鼻子的高度、左臉邊緣位置、眼睛的大小、嘴角的位置的特徵值。或者,控制單元140可以根據這些特徵點之間的距離或連續性來計算出能代表眼睛的輪廓、嘴巴輪廓等特徵值。控制單元140是跟據這些特徵點所包括的特徵值(例如,顏色、位置、亮度)以及所計算出更有語意的特徵值(例如,鼻子高度、眼睛輪廓)來判斷人臉部份220是否符合一標準姿勢。本發明並不限制控制單元140所擷取並計算出的特徵值的內容。Please refer to Figure 3. The control unit 140 can obtain a plurality of feature points 300a to 300g from the face portion 220. The location of these feature points is more able to describe the position of the face portion 220. For example, the information on the eyes and the eyebrows in the face can express a person's emotions, while the information on the cheeks is less able to describe the person's emotions. The number of feature points on the cheeks will be less than the number of feature points on the eyes and eyebrows. Each feature point may include feature values representative of color, position, brightness, or edge sharpness, which may be used to describe different information for the face portion 220. For example, the feature values of the feature points 300a, 300b, 300g can be used to represent the outline of the face portion 220. The feature value of the feature point 300c may represent the outline of the eye. The feature value of the feature point 300d may indicate the position of the nose. The feature values of the feature points 300e, 300f can be used to indicate whether there is a smile. In addition to this, the control unit 140 can also calculate a more semantic feature value according to the feature value of the feature point on the face portion 220. For example, the control unit 140 may calculate the feature values of the height of the nose, the position of the left face, the size of the eye, and the position of the corner of the mouth based on the feature values such as the color, position, and brightness described above. Alternatively, the control unit 140 may calculate a feature value that can represent an outline of the eye, a contour of the mouth, or the like, based on the distance or continuity between the feature points. The control unit 140 determines whether the face portion 220 is based on the feature values (eg, color, position, brightness) included in the feature points and the calculated more semantic feature values (eg, nose height, eye contour). Meets a standard posture. The present invention does not limit the content of the feature values captured and calculated by the control unit 140.

如果控制單元140判斷人臉部份220不符合上述的標準姿勢,則控制單元140會產生一提示訊息,並由影像擷取裝置100輸出。此提示訊息是用以指示被拍攝者210如何調整其姿勢以符合該標準姿勢。舉例來說,此提示訊息的內容為”睜開眼睛”、”頭往右一點”或是”看鏡頭”。並且,提示訊息可以被實作為一聲音訊號,控制單元140可以將由提示訊息實作的聲音訊號傳送至聲音輸出單元180,並由聲音輸出單元180發出此聲音訊號以通知被拍攝者210。當被拍攝者210聽到此聲音訊號以後,便可以依照聲音訊號的指示來調整其姿勢。If the control unit 140 determines that the face portion 220 does not conform to the standard posture described above, the control unit 140 generates a prompt message and outputs it by the image capturing device 100. This prompt message is used to indicate how the subject 210 adjusts his or her posture to conform to the standard posture. For example, the content of this prompt message is "open your eyes", "head to the right" or "look at the lens". Moreover, the prompt message can be implemented as an audio signal, and the control unit 140 can transmit the voice signal implemented by the prompt message to the sound output unit 180, and the sound output unit 180 sends the sound signal to notify the subject 210. When the subject 210 hears the sound signal, the posture of the sound signal can be adjusted according to the indication of the sound signal.

具體來說,控制單元140是根據上述的特徵值來判斷人臉部份220的水平面向角度、垂直面向角度、目光方向、眼睛閉合狀態、或微笑狀態是否符合標準姿勢,藉此決定提示訊息的內容。除此之外,控制單元140也可以根據上述的特徵值來判斷人臉部份220是否被一物體所遮蔽,若人臉部分220已被遮蔽,控制單元140可以藉由提示訊息通知被拍攝者210已被遮蔽。Specifically, the control unit 140 determines whether the horizontal orientation angle, the vertical orientation angle, the gaze direction, the eye closed state, or the smile state of the face portion 220 conforms to the standard posture according to the feature value described above, thereby determining the prompt message. content. In addition, the control unit 140 may also determine whether the face portion 220 is obscured by an object according to the feature value described above. If the face portion 220 has been obscured, the control unit 140 may notify that the image is captured by a prompt message. The person 210 has been obscured.

圖4是根據一實施例說明標準姿勢的示意圖。請參照圖4,在本實施例中,標準姿勢400被設定為眼睛睜開、以及目光方向是朝向鏡頭等。然而,標準姿勢可以被設定為其他的樣式,例如,標準姿勢400的目光方向可以是朝向遠方,本發明並不限制標準姿勢400的內容。4 is a schematic diagram illustrating a standard gesture in accordance with an embodiment. Referring to FIG. 4, in the present embodiment, the standard posture 400 is set to open the eyes, and the gaze direction is toward the lens or the like. However, the standard gesture can be set to other styles. For example, the gaze direction of the standard gesture 400 can be toward the far side, and the present invention does not limit the content of the standard gesture 400.

圖5是根據一實施例說明判斷水平面向角度的示意圖。FIG. 5 is a schematic diagram illustrating determining a horizontal orientation angle according to an embodiment.

請參照圖5。人臉部份500是擷取自上述的預視影像。其中,控制單元140所取得的特徵值包括鼻子位置502、左臉邊緣位置504以及右臉邊緣位置506。鼻子位置502是表示人臉部份500的鼻子的垂直中心線的位置。左臉邊緣位置504是表示人臉部份500最左邊的邊緣的位置。而右臉邊緣位置506是表示人臉部份500最右邊的邊緣的位置。控制單元140會計算左臉邊緣位置504與鼻子位置502之間的水平距離540,以及右臉邊緣位置506與鼻子位置502之間的水平距離520。接著,控制單元140便可以根據水平距離520、540來判斷人臉部份500的水平面向角度是否符合標準姿勢400的水平面向角度。舉例來說,當水平距離540大於水平距離520時,表示人臉部份的水平面向角度是朝向右邊的。當控制單元140判斷人臉部份500的水平面向角度不符合標準姿勢的水平面向角度時,控制單元140便會設定提示訊息用以指示被拍攝者210將被拍攝者的頭轉向左或轉向右。例如,當控制單元140判斷人臉部份500的水平面向角度是朝向右邊,且標準姿勢400的水平面向角度是朝向中間時,控制單元140便會將提示訊息設定為”請把頭轉向右”。當被拍攝者210聽到由此提示訊息實作的聲音訊號時,便可以將被拍攝者210的頭相對於被拍攝者210而轉向右邊,使得在影像擷取裝置100所取得的預視影像中,人臉部份500的水平面向角度會調整至中間,藉此讓人臉部份500的水平面向角度符合標準姿勢400的水平面向角度。Please refer to Figure 5. The face portion 500 is a preview image taken from the above. The feature values obtained by the control unit 140 include a nose position 502, a left face edge position 504, and a right face edge position 506. The nose position 502 is the position of the vertical center line of the nose of the face portion 500. The left face edge position 504 is a position indicating the leftmost edge of the face portion 500. The right face edge position 506 is the position indicating the rightmost edge of the face portion 500. Control unit 140 calculates a horizontal distance 540 between left face edge position 504 and nose position 502, and a horizontal distance 520 between right face edge position 506 and nose position 502. Next, the control unit 140 can determine whether the horizontal orientation angle of the face portion 500 conforms to the horizontal orientation angle of the standard posture 400 according to the horizontal distances 520, 540. For example, when the horizontal distance 540 is greater than the horizontal distance 520, it indicates that the horizontal facing angle of the face portion is toward the right. When the control unit 140 determines that the horizontal facing angle of the face portion 500 does not conform to the horizontal orientation angle of the standard posture, the control unit 140 sets a prompt message for instructing the subject 210 to turn the subject's head to the left or to the right. . For example, when the control unit 140 determines that the horizontal facing angle of the face portion 500 is toward the right side and the horizontal facing angle of the standard posture 400 is toward the middle, the control unit 140 sets the prompt message to "Please turn the head to the right". When the subject 210 hears the sound signal of the prompt message, the head of the subject 210 can be turned to the right with respect to the subject 210, so that the preview image obtained by the image capturing device 100 is in the preview image. The horizontal facing angle of the face portion 500 is adjusted to the middle, whereby the horizontal facing angle of the face portion 500 conforms to the horizontal facing angle of the standard posture 400.

圖6A與圖6B是根據一實施例說明判斷垂直面向角度的示意圖。6A and 6B are schematic diagrams illustrating the determination of a vertical orientation angle, according to an embodiment.

請參考圖6A。人臉部份600a是擷取自上述的預視影像,其中人臉部份600a是稍微的抬向上。控制單元140所取得的特徵值包括上眼瞼高度602a,上眼瞼高度602a是表示人臉部份600a中眼睛的上眼瞼的垂直高度。控制單元140可以根據上眼瞼高度602a的大小來判斷人臉部份600a的垂直面向角度,此垂直面向角度是用以表示人臉部份600a是朝向上或是朝向下。舉例來說,當上眼瞼高度602a越大時,表示人臉部份600a朝向上的程度越大。反之,當上眼瞼高度602b越小時,表示人臉部份600b朝向下的程度越大(如圖6B所示)。若人臉部份600a的垂直面向角度不符合標準姿勢400的垂直面向角度,則控制單元140會設定提示訊息用以指示被拍攝者210將被拍攝者210的頭轉向上或轉向下。例如,人臉部份600a的垂直面向角度是朝向上,而標準姿勢400的垂直面向角度是朝向中間,因此控制單元140便可以設定提示訊息為”請把頭轉向下”。被拍攝者210在聽到由提示訊息實作的聲音訊號時,便可以將被拍攝者210的頭轉向下,使得所拍攝出的人臉部份600a更符合標準姿勢400。Please refer to FIG. 6A. The face portion 600a is a pre-view image taken from the above, wherein the face portion 600a is slightly raised upward. The feature values obtained by the control unit 140 include an upper eyelid height 602a which is a vertical height indicating the upper eyelid of the eye in the face portion 600a. The control unit 140 can determine the vertical facing angle of the face portion 600a according to the size of the upper eyelid height 602a, which is used to indicate that the face portion 600a is facing upward or downward. For example, when the upper eyelid height 602a is larger, the degree to which the face portion 600a is directed upward is increased. On the contrary, when the upper eyelid height 602b is smaller, it means that the face portion 600b is directed downward (as shown in Fig. 6B). If the vertical orientation angle of the face portion 600a does not conform to the vertical orientation angle of the standard posture 400, the control unit 140 sets a prompt message for instructing the photographer 210 to turn the head of the photographer 210 up or down. For example, the vertical face angle of the face portion 600a is upward, and the vertical face angle of the standard posture 400 is toward the middle, so the control unit 140 can set the prompt message to "Please turn the head down". When the subject 210 hears the sound signal implemented by the prompt message, the head of the subject 210 can be turned down, so that the captured face portion 600a more conforms to the standard posture 400.

圖7是根據一實施例說明判斷目光方向的示意圖。Figure 7 is a schematic diagram illustrating the determination of the direction of the eye according to an embodiment.

請參照圖7。人臉部份700是擷取自從預視影像。控制單元140所取得的特徵值還包括瞳孔位置704a、704b以及眼睛輪廓702a、702b。其中瞳孔位置704a是表示人臉部份700中右眼的瞳孔的位置。眼睛輪廓702a則表示人臉部份700中右眼的輪廓,例如,眼睛輪廓702a可以被描述為一個橢圓形。控制單元140可以根據瞳孔位置704a相對於眼睛輪廓702a的相對位置來判斷人臉部份700的目光方向,此目光方向表示人臉部份700的眼睛所注視的方向。例如,當瞳孔位置704a相對於眼睛輪廓702a是偏離中間且較右時,表示人臉部份700的目光方式是朝向右邊。然而,控制單元140也可以同時計算瞳孔位置704a相對於眼睛輪廓702a的相對位置,以及瞳孔位置704b相對於眼睛輪廓702b的相對位置,來計算出人臉部分700的目光方向,本發明並不在此限。若人臉部份700的目光方向不符合標準姿勢400的目光方向,則控制單元140會設定提示訊息用以指示被拍攝者210調整被拍攝者210的目光方向。舉例來說,人臉部份700的目光方向是朝向右邊,而標準姿勢的目光方向是朝向影像擷取裝置100,因此控制單元可以將提示訊息設定為”請看鏡頭”。當被拍攝者210聽到由此提示訊息實作的聲音訊號以後,便可以調整其目光方向,使得所拍攝出來的人臉部份700更符合標準姿勢400。Please refer to Figure 7. The face portion 700 is captured from the preview image. The feature values obtained by control unit 140 also include pupil positions 704a, 704b and eye contours 702a, 702b. The pupil position 704a is the position of the pupil representing the right eye in the face portion 700. The eye contour 702a represents the contour of the right eye in the face portion 700, for example, the eye contour 702a can be described as an ellipse. The control unit 140 can determine the gaze direction of the face portion 700 based on the relative position of the pupil position 704a relative to the eye contour 702a, which indicates the direction in which the eyes of the face portion 700 are looking. For example, when the pupil position 704a is off-center and relatively right with respect to the eye contour 702a, the gaze pattern of the face portion 700 is toward the right. However, the control unit 140 can also calculate the relative position of the pupil position 704a relative to the eye contour 702a and the relative position of the pupil position 704b relative to the eye contour 702b to calculate the gaze direction of the face portion 700. The present invention is not This limit. If the gaze direction of the face portion 700 does not conform to the gaze direction of the standard posture 400, the control unit 140 sets a prompt message for instructing the subject 210 to adjust the gaze direction of the subject 210. For example, the gaze direction of the face portion 700 is toward the right side, and the gaze direction of the standard posture is toward the image capturing device 100, so the control unit can set the prompt message to "see the lens". When the subject 210 hears the sound signal of the prompt message, the direction of the eye can be adjusted so that the captured face portion 700 conforms to the standard posture 400.

圖8是根據一實施例說明判斷眼睛閉合裝置的示意圖。FIG. 8 is a schematic diagram illustrating the determination of an eye closure device, in accordance with an embodiment.

請參照圖8。人臉部份800是擷取自預視影像。控制單元140所取得的特徵值還包括眼睛輪廓802a、802b。眼睛輪廓802a表示人臉部份800中左眼的輪廓,例如,眼睛輪廓802a可以被描述為一個橢圓形。控制單元140還可以根據眼睛輪廓802a、802b計算出眼睛高度804a、804b。控制單元140可以根據眼睛輪廓802a的眼睛高度804a的大小,判斷出人臉部份的眼睛閉合裝態,此眼睛閉合狀態是表示人臉部份800的眼睛是否閉起來或是張開。舉例來說,當眼睛高度804a非常小時,表示眼睛輪廓802a是屬於閉起來的狀態。反之,當眼睛高度804a較大時,表示眼睛輪廓802a是屬於睜開的狀態。此外,控制單元140也可以同時考慮眼睛高度804a與眼睛高度804b,來判斷人臉部份的眼睛閉合裝態,本發明並不在此限。若人臉部份800的眼睛閉合狀態不符合標準姿勢400的眼睛閉合狀態,則控制單元140會設定提示訊息用以指示被拍攝者210將被拍攝者210的眼睛睜開或閉上。舉例來說,控制單元140判斷人臉部份800的眼睛閉合裝態是屬於閉上的,而標準姿勢400的眼睛閉合裝置是屬於睜開的,因此控制單元140可以將設定提示訊息為”請將眼睛睜開”。當被拍攝者210聽到由此提示訊息實作的聲音訊號以後,便可以將其眼睛睜開,使得所拍攝出來的人臉部份800更符合標準姿勢400。Please refer to Figure 8. The face portion 800 is captured from the preview image. The feature values obtained by control unit 140 also include eye contours 802a, 802b. The eye contour 802a represents the contour of the left eye in the face portion 800, for example, the eye contour 802a can be described as an ellipse. Control unit 140 may also calculate eye heights 804a, 804b based on eye contours 802a, 802b. The control unit 140 can determine the eye closed state of the face portion according to the size of the eye height 804a of the eye contour 802a, and the eye closed state indicates whether the eye portion of the face portion 800 is closed or opened. For example, when the eye height 804a is very small, it indicates that the eye contour 802a is in a closed state. Conversely, when the eye height 804a is large, it indicates that the eye contour 802a is in a state of being split. In addition, the control unit 140 can also consider the eye height 804a and the eye height 804b to determine the eye closure state of the face portion, which is not limited by the present invention. If the eye closed state of the face portion 800 does not conform to the eye closed state of the standard posture 400, the control unit 140 sets a prompt message for instructing the subject 210 to open or close the eyes of the subject 210. For example, the control unit 140 determines that the eye closing state of the face portion 800 is closed, and the eye closing device of the standard posture 400 belongs to the opening, so the control unit 140 can set the prompt message to "Please Open your eyes." When the subject 210 hears the sound signal of the prompt message, the eyes can be opened, so that the captured face portion 800 conforms to the standard posture 400.

圖9是根據一實施例說明判斷微笑狀態的示意圖。9 is a schematic diagram illustrating the determination of a smile state, in accordance with an embodiment.

請參照圖9。人臉部份900是擷取自預視影像。控制單元140所取得的特徵值包括嘴角位置902a、902b、上嘴唇中心位置904以及下嘴唇中心位置906。嘴角位置902a、902b表示人臉部份900的兩嘴角的位置。上嘴唇中心位置904表示人臉部份900的上嘴唇的水平中心點的位置。下嘴唇中心位置表示人臉部份900的下嘴唇的水平中心點的位置。控制單元140可以根據嘴角位置902a、904b、上嘴唇中心位置904以及下嘴唇中心位置906之間的相對位置,來取得人臉部份900的微笑狀態,此微笑狀態表示人臉部份900微笑的程度。舉例來說,當嘴角位置902a、904b相對於上嘴唇中心位置904較靠近下嘴唇中心位置906時,表示人臉部份900並不微笑。反之,當嘴角位置902a、904b相對於下嘴唇中心位置906較靠近上嘴唇中心位置904時,表示人臉部份900微笑的程度較多。若人臉部份900的微笑狀態不符合標準姿勢400的微笑狀態,則控制單元140可以設定提示訊息用以指示被拍攝者210調整被拍攝者210的微笑程度。例如,若控制單元140判斷人臉部份900並沒有微笑,而標準姿勢400有微笑,則控制單元140可以設定提示訊息為”請微笑”。當被拍攝者210聽到由此提示訊息實作的聲音訊號以後,便可以加大其微笑程度,使得所拍攝出來的人臉部份900更符合標準姿勢400。Please refer to Figure 9. The face portion 900 is captured from the preview image. The feature values obtained by control unit 140 include mouth corner positions 902a, 902b, upper lip center position 904, and lower lip center position 906. The corner position 902a, 902b represents the position of the two corners of the face portion 900. The upper lip center position 904 represents the position of the horizontal center point of the upper lip of the face portion 900. The lower lip center position indicates the position of the horizontal center point of the lower lip of the face portion 900. The control unit 140 can obtain the smiling state of the face portion 900 according to the relative position between the corner position 902a, 904b, the upper lip center position 904, and the lower lip center position 906. The smile state indicates that the face portion 900 is smiling. degree. For example, when the mouth angular position 902a, 904b is closer to the lower lip center position 906 relative to the upper lip center position 904, the face portion 900 is not smiling. Conversely, when the mouth angular position 902a, 904b is closer to the upper lip center position 904 relative to the lower lip center position 906, the face portion 900 is more likely to smile. If the smile state of the face portion 900 does not meet the smile state of the standard gesture 400, the control unit 140 may set a prompt message for instructing the photographer 210 to adjust the smile degree of the subject 210. For example, if the control unit 140 determines that the face portion 900 does not smile and the standard gesture 400 has a smile, the control unit 140 may set the prompt message to "please smile". When the subject 210 hears the voice signal of the prompt message, the degree of smile can be increased, so that the captured face portion 900 more conforms to the standard posture 400.

圖10是根據一實施例說明判斷人臉部份是否被遮蔽的示意圖。FIG. 10 is a schematic diagram illustrating determining whether a face portion is obscured, according to an embodiment.

請參照圖10。人臉部份1000是擷取自預視影像。控制單元140取得的特徵值還包括眼睛輪廓1002a、1002b。眼睛輪廓1002a、1002b是表示人臉部份1000的眼睛的輪廓,例如,眼睛輪廓可以被描述為一橢圓形。控制單元140會根據眼睛輪廓1002a、1002b的完整度來判斷人臉部份是否被一物體1004所遮蔽。舉例來說,當控制單元140判斷眼睛輪廓1002b並不完整,例如,眼睛輪廓1002b並不是完整的橢圓,則控制單元140會判斷人臉部份1000已被物體1004所遮蔽。若人臉部份1000被物體1004所遮蔽,則控制單元會設定提示訊息用以通知被拍攝者210已被物體1004所遮蔽。例如,控制單元140可以設定提示訊息為”您被擋住了”。當被拍攝者210聽到由此提示訊息實作的聲音訊號以後,便可以得知自己已被一物體所擋住。Please refer to Figure 10. The face portion 1000 is taken from a pre-view image. The feature values obtained by control unit 140 also include eye contours 1002a, 1002b. The eye contours 1002a, 1002b are outlines of the eyes representing the face portion 1000, for example, the eye contours can be described as an ellipse. The control unit 140 determines whether the face portion is obscured by an object 1004 based on the integrity of the eye contours 1002a, 1002b. For example, when the control unit 140 determines that the eye contour 1002b is not complete, for example, the eye contour 1002b is not a complete ellipse, the control unit 140 determines that the face portion 1000 has been obscured by the object 1004. If the face portion 1000 is obscured by the object 1004, the control unit sets a prompt message to notify the subject 210 that it has been obscured by the object 1004. For example, the control unit 140 can set the prompt message to "You are blocked." When the photographer 210 hears the sound signal of the prompt message, he can know that he has been blocked by an object.

然而,值得注意的是,上述提示訊息的內容僅是一範例。在其他實施例中,控制單元140可以設定提示訊息包含不同的文字內容,本發明並不在此限。除此之外,當預視影像中所包含的人臉部份不只一個時,控制單元也可以根據各個人臉部份的狀況,分別產生不同的提示訊息,本發明並不在此限。在另一實施例中,控制單元140也可以用圖案或文字的方式將提示訊息顯示在預視顯示單元160上,以讓拍攝者(未繪示)在讀取此提示訊息以後,可以引導被拍攝者210調整其姿勢,使得更符合標準姿勢400。However, it is worth noting that the content of the above prompt message is only an example. In other embodiments, the control unit 140 may set the prompt message to include different text content, and the present invention is not limited thereto. In addition, when there is more than one face part included in the preview image, the control unit may separately generate different prompt messages according to the condition of each face part, and the present invention is not limited thereto. In another embodiment, the control unit 140 may also display the prompt message on the preview display unit 160 by means of a pattern or a text, so that the photographer (not shown) can guide the viewer after reading the prompt message. The photographer 210 adjusts its posture to make it more conform to the standard posture 400.

影像處理裝置100除了會提示被拍攝者210如何調整其姿勢以外,還可以自動的拍攝。請參考回圖2,當控制單元140判斷人臉部份220符合標準姿勢400以後,影像擷取裝置便會自動的擷取被拍攝者210的影像。如此一來,便可以避免眼睛閉起來,或沒有微笑等不符合標準姿勢400的狀況。The image processing apparatus 100 can automatically capture images in addition to prompting the photographer 210 how to adjust his or her posture. Referring back to FIG. 2, after the control unit 140 determines that the face portion 220 conforms to the standard posture 400, the image capturing device automatically captures the image of the subject 210. In this way, it is possible to prevent the eyes from being closed, or to have a situation such as a smile that does not conform to the standard posture 400.

以另外一個角度來說,本發明還提出一種影像擷取方法。圖11是根據一實施例說明影像擷取方法的流程圖。In another aspect, the present invention also provides an image capture method. 11 is a flow chart illustrating an image capture method in accordance with an embodiment.

請參考圖11。在步驟S1102中,取得被拍攝者的預視影像。在步驟S1104中,對預視影像進行人臉偵測,取得被拍攝者的至少一人臉部分。在步驟S1106中,取得人臉部分的多個特徵值。在步驟S1108中,根據這些特徵值,判斷人臉部份是否符合一標準姿勢。在步驟S1110中,若人臉部份不符合標準姿勢,則由影像擷取裝置輸出一提示訊息,此提示訊息用以指示被拍攝者如何符合標準姿勢。在步驟S1112中,若人臉部份符合標準姿勢,則擷取被拍攝者的影像。然而,圖11中各步驟以詳細說明如上,在此便不再贅述。Please refer to Figure 11. In step S1102, a pre-view image of the subject is acquired. In step S1104, face detection is performed on the preview image, and at least one face portion of the subject is obtained. In step S1106, a plurality of feature values of the face portion are obtained. In step S1108, based on these feature values, it is determined whether the face portion conforms to a standard posture. In step S1110, if the face portion does not conform to the standard posture, the image capturing device outputs a prompt message for indicating how the subject conforms to the standard posture. In step S1112, if the face portion conforms to the standard posture, the image of the subject is captured. However, the steps in FIG. 11 are as described above in detail, and will not be described again here.

綜上所述,本發明實施例所提出的影像擷取裝置與影像擷取方法,可以自動的產生一提示訊息以提醒被拍攝者如何調整其姿勢,使拍攝出來的影像更好看。並且根據不同的特徵值來判斷一人臉部份的水平面向角度、垂直面向角度、目光方向、眼睛閉合狀態、或微笑狀態是否符合標準姿勢,藉此決定提示訊息的內容。In summary, the image capturing device and the image capturing method provided by the embodiments of the present invention can automatically generate a prompt message to remind the photographer how to adjust the posture thereof to make the captured image look better. And determining whether the horizontal orientation of the face portion, the vertical orientation angle, the gaze direction, the eye closure state, or the smile state conform to the standard posture according to different feature values, thereby determining the content of the prompt message.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

100...影像擷取裝置100. . . Image capture device

120...影像擷取單元120. . . Image capture unit

140...控制單元140. . . control unit

160...預視顯示單元160. . . Preview display unit

180...聲音輸出單元180. . . Sound output unit

210...被拍攝者210. . . Photographer

220、500、600a、600b、700、800、900、1000...人臉部份220, 500, 600a, 600b, 700, 800, 900, 1000. . . Face part

202...預視影像202. . . Preview image

300a~300g...特徵點300a~300g. . . Feature points

400...標準姿勢400. . . Standard posture

502...鼻子位置502. . . Nose position

504...左臉邊緣位置504. . . Left face edge position

506...右臉邊緣位置506. . . Right face edge position

520、540...水平距離520, 540. . . Horizontal distance

602a、602b...上眼瞼高度602a, 602b. . . Upper eyelid height

702a、702b、802a、802b、1002a、1002b...眼睛輪廓702a, 702b, 802a, 802b, 1002a, 1002b. . . Eye contour

704a、704b...瞳孔位置704a, 704b. . . Pupil position

804a、804b...眼睛高度804a, 804b. . . Eye height

902a、902b...嘴角位置902a, 902b. . . Mouth corner position

904...上嘴唇中心位置904. . . Upper lip center position

906...下嘴唇中心位置906. . . Lower lip center position

1004...物體1004. . . object

S1102、S1104、S1106、S1108、S1110、S1112...影像擷取方法的各步驟S1102, S1104, S1106, S1108, S1110, S1112. . . Steps of the image capture method

圖1是根據一實施例說明影像擷取裝置的方塊圖。1 is a block diagram illustrating an image capture device in accordance with an embodiment.

圖2是根據一實施例說明拍攝被拍攝者的示意圖。2 is a schematic diagram illustrating photographing a subject in accordance with an embodiment.

圖3是根據一實施例說明人臉部份特徵值的示意圖。3 is a schematic diagram illustrating facial feature values in accordance with an embodiment.

圖4是根據一實施例說明標準姿勢的示意圖。4 is a schematic diagram illustrating a standard gesture in accordance with an embodiment.

圖5是根據一實施例說明判斷水平面向角度的示意圖。FIG. 5 is a schematic diagram illustrating determining a horizontal orientation angle according to an embodiment.

圖6A與圖6B是根據一實施例說明判斷垂直面向角度的示意圖。6A and 6B are schematic diagrams illustrating the determination of a vertical orientation angle, according to an embodiment.

圖7是根據一實施例說明判斷目光方向的示意圖。Figure 7 is a schematic diagram illustrating the determination of the direction of the eye according to an embodiment.

圖8是根據一實施例說明判斷眼睛閉合裝置的示意圖。FIG. 8 is a schematic diagram illustrating the determination of an eye closure device, in accordance with an embodiment.

圖9是根據一實施例說明判斷微笑狀態的示意圖。9 is a schematic diagram illustrating the determination of a smile state, in accordance with an embodiment.

圖10是根據一實施例說明判斷人臉部份是否被遮蔽的示意圖。FIG. 10 is a schematic diagram illustrating determining whether a face portion is obscured, according to an embodiment.

圖11是根據一實施例說明影像擷取方法的流程圖。11 is a flow chart illustrating an image capture method in accordance with an embodiment.

S1102、S1104、S1106、S1108、S1110、S1112...影像擷取方法的各步驟S1102, S1104, S1106, S1108, S1110, S1112. . . Steps of the image capture method

Claims (16)

一種影像擷取方法,用於一影像擷取裝置,包括:取得至少一被拍攝者的一預視影像;對該預視影像進行一人臉偵測以取得各該至少一被拍攝者的一人臉部分;取得該人臉部分的多個特徵值;根據該些特徵值,判斷該人臉部份是否符合一標準姿勢;若該人臉部份不符合該標準姿勢,則由該影像擷取裝置輸出一提示訊息,該提示訊息用以指示該被拍攝者如何符合該標準姿勢;以及若該人臉部份符合該標準姿勢,則擷取該被拍攝者的一影像。An image capturing method for an image capturing device includes: acquiring a preview image of at least one subject; performing a face detection on the preview image to obtain a face of each of the at least one subject And obtaining a plurality of feature values of the face portion; determining, according to the feature values, whether the face portion meets a standard posture; if the face portion does not conform to the standard posture, the image is The taking device outputs a prompt message for indicating how the subject conforms to the standard posture; and if the face portion conforms to the standard posture, capturing an image of the subject. 如申請專利範圍第1項所述之影像擷取方法,其中該影像擷取裝置包括一聲音輸出單元,其中由該影像擷取裝置輸出該提示訊息的步驟包括:實作該提示訊息為一聲音訊號,並由該聲音輸出單元發出該聲音訊號。The image capturing method of claim 1, wherein the image capturing device comprises a sound output unit, wherein the step of outputting the prompt message by the image capturing device comprises: implementing the prompt message as a sound a signal, and the sound signal is sent by the sound output unit. 如申請專利範圍第1項所述之影像擷取方法,其中該些特徵值包括一鼻子位置、一左臉邊緣位置以及一右臉邊緣位置,該影像擷取方法還包括:根據該鼻子位置與該左臉邊緣位置之間的水平距離以及該鼻子位置與該右臉邊緣位置之間的水平距離,判斷該人臉部份的一水平面向角度是否符合該標準姿勢的一水平面向角度;以及若該人臉部份的該水平面向角度不符合該標準姿勢的該水平面向角度,設定該提示訊息用以指示該被拍攝者將該被拍攝者的頭轉向右或轉向左。The image capturing method of claim 1, wherein the feature values include a nose position, a left face edge position, and a right face edge position, the image capturing method further comprising: according to the nose position and a horizontal distance between the left face edge position and a horizontal distance between the nose position and the right face edge position, determining whether a horizontal facing angle of the face portion conforms to a horizontal facing angle of the standard posture; The horizontal facing angle of the face portion does not conform to the horizontal facing angle of the standard posture, and the prompt message is set to instruct the subject to turn the subject's head to the right or to the left. 如申請專利範圍第1項所述之影像擷取方法,其中該些特徵值包括一上眼瞼高度,該影像擷取方法還包括:根據該上眼瞼高度的大小,判斷該人臉部份的一垂直面向角度是否符合該標準姿勢的一垂直面向角度;以及若該人臉部份的該垂直面向角度不符合該標準姿勢的該垂直面向角度,設定該提示訊息用以指示該被拍攝者將該被拍攝者的頭轉向上或轉向下。The image capturing method of claim 1, wherein the feature values include an upper eyelid height, and the image capturing method further comprises: determining a face portion of the upper eyelid according to the height of the upper eyelid Whether the vertical facing angle conforms to a vertical facing angle of the standard posture; and if the vertical facing angle of the human face portion does not conform to the vertical facing angle of the standard posture, setting the prompt message to indicate that the subject will The subject's head turns up or down. 如申請專利範圍第1項所述之影像擷取方法,其中該些特徵值包括一瞳孔位置與一眼睛輪廓,該影像擷取方法還包括:根據該瞳孔位置相對於該眼睛輪廓的相對位置,判斷該人臉部份的一目光方向是否符合該標準姿勢的一目光方向;以及若該人臉部份的該目光方向不符合該標準姿勢的該目光方向,設定該提示訊息用以指示該被拍攝者調整該被拍攝者的目光方向。The image capturing method of claim 1, wherein the feature values include a pupil position and an eye contour, the image capturing method further comprising: according to the relative position of the pupil position relative to the contour of the eye, Determining whether a gaze direction of the face portion conforms to a gaze direction of the standard gesture; and if the gaze direction of the face portion does not conform to the gaze direction of the standard gesture, setting the prompt message to indicate the gaze The photographer adjusts the direction of the subject's gaze. 如申請專利範圍第1項所述之影像擷取方法,其中該些特徵值包括一眼睛輪廓,該影像擷取方法還包括:根據該眼睛輪廓的一眼睛高度,判斷該人臉部份的一眼睛閉合狀態是否符合該標準姿勢的一眼睛閉合狀態;以及若該人臉部份的該眼睛閉合狀態不符合該標準姿勢的該眼睛閉合狀態,設定該提示訊息用以指示該被拍攝者將該被拍攝者的眼睛睜開或閉上。The image capturing method of claim 1, wherein the feature values include an eye contour, the image capturing method further comprising: determining a face portion of the eye based on an eye height of the eye contour Whether the eye closed state conforms to an eye closed state of the standard posture; and if the eye closed state of the face portion does not conform to the eye closed state of the standard posture, setting the prompt message to indicate that the subject is to be The subject's eyes are opened or closed. 如申請專利範圍第1項所述之影像擷取方法,其中該些特徵值包括多個嘴角位置、一上嘴唇中心位置以及一下嘴唇中心位置,該影像擷取方法還包括:根據該些嘴角位置、該上嘴唇中心位置與該下嘴唇中心位置之間的相對位置,判斷該人臉部份的一微笑狀態是否符合該標準姿勢的一微笑狀態;以及若該人臉部份的該微笑狀態不符合該標準姿勢的該微笑狀態,設定該提示訊息用以指示該被拍攝者調整該被拍攝者的微笑程度。The image capturing method of claim 1, wherein the feature values include a plurality of mouth corner positions, an upper lip center position, and a lower lip center position, the image capturing method further comprising: according to the mouth corner positions a relative position between the center position of the upper lip and the center position of the lower lip, determining whether a smile state of the face portion conforms to a smile state of the standard posture; and if the smile state of the face portion is not In the smile state conforming to the standard posture, the prompt message is set to instruct the subject to adjust the smile degree of the subject. 如申請專利範圍第1項所述之影像擷取方法,其中該些特徵值包括一眼睛輪廓,該影像擷取方法還包括:根據該眼睛輪廓的一完整度,判斷該人臉部份是否被一物體所遮蔽;以及若該人臉部份已被遮蔽,設定該提示訊息用以通知該被拍攝者已被遮蔽。The image capturing method of claim 1, wherein the feature values include an eye contour, and the image capturing method further comprises: determining, according to a completeness of the eye contour, whether the face portion is An object is obscured; and if the face portion has been obscured, the prompt message is set to notify the subject that the subject has been obscured. 一種影像擷取裝置,包括:一影像擷取單元,用以取得至少一被拍攝者的一預視影像;以及一控制單元,耦接至該影像擷取單元,用以對該預視影像進行一人臉偵測以取得各該至少一被拍攝者的一人臉部分,並取得該人臉部分的多個特徵值,其中,該控制單元根據該些特徵值,判斷該人臉部份是否符合一標準姿勢,若該人臉部份不符合該標準姿勢,則該控制單元產生一提示訊息,該提示訊息用以指示該被拍攝者如何符合該標準姿勢,其中,若該人臉部份符合該標準姿勢,則由該影像擷取單元擷取該被拍攝者的一影像。An image capturing device includes: an image capturing unit for acquiring at least one preview image of a subject; and a control unit coupled to the image capturing unit for performing the preview image a face detection to obtain a face portion of each of the at least one subject, and obtain a plurality of feature values of the face portion, wherein the control unit determines whether the face portion is based on the feature values In accordance with a standard posture, if the face portion does not conform to the standard posture, the control unit generates a prompt message for indicating how the subject conforms to the standard posture, wherein the face portion When the standard posture is met, an image of the subject is captured by the image capturing unit. 如申請專利範圍第9項所述之影像擷取裝置,其中該影像擷取裝置還包括一聲音輸出單元,其中該控制單元更用以實作該提示訊息為一聲音訊號,並由該聲音輸出單元發出該聲音訊號。The image capturing device of claim 9, wherein the image capturing device further comprises a sound output unit, wherein the control unit is further configured to implement the prompt message as an audio signal and output the sound The unit sends the sound signal. 如申請專利範圍第9項所述之影像擷取裝置,其中該些特徵值包括一鼻子位置、一左臉邊緣位置以及一右臉邊緣位置,該控制單元還用以根據該鼻子位置與該左臉邊緣位置之間的水平距離以及該鼻子位置與該右臉邊緣位置之間的水平距離,判斷該人臉部份的一水平面向角度是否符合該標準姿勢的一水平面向角度,若該人臉部份的該水平面向角度不符合該標準姿勢的該水平面向角度,該控制單元設定該提示訊息用以指示該被拍攝者將該被拍攝者的頭轉向右或轉向左。The image capturing device of claim 9, wherein the feature values include a nose position, a left face edge position, and a right face edge position, and the control unit is further configured to: according to the nose position and the left a horizontal distance between the edge position of the face and a horizontal distance between the position of the nose and the edge of the right face, determining whether a horizontal orientation of the face portion conforms to a horizontal orientation of the standard posture, if the face A portion of the horizontal facing angle does not conform to the horizontal facing angle of the standard posture, and the control unit sets the prompt message to instruct the subject to turn the subject's head to the right or to the left. 如申請專利範圍第9項所述之影像擷取裝置,其中該些特徵值包括一上眼瞼高度,該控制單元還用以根據該上眼瞼高度的大小,判斷該人臉部份的一垂直面向角度是否符合該標準姿勢的一垂直面向角度,若該人臉部份的該垂直面向角度不符合該標準姿勢的該垂直面向角度,該控制單元設定該提示訊息用以指示該被拍攝者將該被拍攝者的頭轉向上或轉向下。The image capturing device of claim 9, wherein the feature values include an upper eyelid height, and the control unit is further configured to determine a vertical face of the face portion according to the height of the upper eyelid Whether the angle conforms to a vertical orientation angle of the standard posture, and if the vertical orientation angle of the face portion does not meet the vertical orientation angle of the standard posture, the control unit sets the prompt message to indicate that the subject is to be The subject's head turns up or down. 如申請專利範圍第9項所述之影像擷取裝置,其中該些特徵值包括一瞳孔位置與一眼睛輪廓,該控制單元還用以根據該瞳孔位置相對於該眼睛輪廓的相對位置,判斷該人臉部份的一目光方向是否符合該標準姿勢的一目光方向,若該人臉部份的該目光方向不符合該標準姿勢的該目光方向,該控制單元設定該提示訊息用以指示該被拍攝者調整該被拍攝者的目光方向。The image capturing device of claim 9, wherein the feature values include a pupil position and an eye contour, and the control unit is further configured to determine the relative position of the pupil position relative to the eye contour. Whether a gaze direction of the face portion conforms to a gaze direction of the standard posture, and if the gaze direction of the face portion does not conform to the gaze direction of the standard posture, the control unit sets the prompt message to indicate the gaze The photographer adjusts the direction of the subject's gaze. 如申請專利範圍第9項所述之影像擷取裝置,其中該些特徵值包括一眼睛輪廓,該控制單元還用以根據該眼睛輪廓的一眼睛高度,判斷該人臉部份的一眼睛閉合狀態是否符合該標準姿勢的一眼睛閉合狀態,若該人臉部份的該眼睛閉合狀態不符合該標準姿勢的該眼睛閉合狀態,該控制單元設定該提示訊息用以指示該被拍攝者將該被拍攝者的眼睛睜開或閉上。The image capturing device of claim 9, wherein the feature values include an eye contour, and the control unit is further configured to determine an eye closure of the face portion according to an eye height of the eye contour Whether the state conforms to an eye closed state of the standard posture, and if the eye closed state of the face portion does not meet the eye closed state of the standard posture, the control unit sets the prompt message to indicate that the subject will The subject's eyes are opened or closed. 如申請專利範圍第9項所述之影像擷取裝置,其中該些特徵值包括多個嘴角位置、一上嘴唇中心位置以及一下嘴唇中心位置,該控制單元還用以根據該些嘴角位置、該上嘴唇中心位置與該下嘴唇中心位置之間的相對位置,判斷該人臉部份的一微笑狀態是否符合該標準姿勢的一微笑狀態,若該人臉部份的該微笑狀態不符合該標準姿勢的該微笑狀態,該控制單元設定該提示訊息用以指示該被拍攝者調整該被拍攝者的微笑程度。The image capturing device of claim 9, wherein the feature values include a plurality of mouth corner positions, an upper lip center position, and a lower lip center position, and the control unit is further configured to: according to the mouth corner positions, a relative position between the center position of the upper lip and the center position of the lower lip, determining whether a smile state of the face portion conforms to a smile state of the standard posture, and if the smile state of the face portion does not meet the standard In the smiling state of the gesture, the control unit sets the prompt message to instruct the subject to adjust the smile degree of the subject. 如申請專利範圍第9項所述之影像擷取裝置,其中該些特徵值包括一眼睛輪廓,該控制單元還用以根據該眼睛輪廓的一完整度,判斷該人臉部份是否被一物體所遮蔽,若該人臉部份已被遮蔽,該控制單元設定該提示訊息用以通知該被拍攝者已被遮蔽。The image capturing device of claim 9, wherein the feature values include an eye contour, and the control unit is further configured to determine whether the face portion is an object according to a completeness of the eye contour If the face portion is obscured, the control unit sets the prompt message to notify the subject that the subject has been obscured.
TW101111406A 2012-03-30 2012-03-30 Method and device for capturing image TW201339986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101111406A TW201339986A (en) 2012-03-30 2012-03-30 Method and device for capturing image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101111406A TW201339986A (en) 2012-03-30 2012-03-30 Method and device for capturing image

Publications (1)

Publication Number Publication Date
TW201339986A true TW201339986A (en) 2013-10-01

Family

ID=49770952

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101111406A TW201339986A (en) 2012-03-30 2012-03-30 Method and device for capturing image

Country Status (1)

Country Link
TW (1) TW201339986A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI668639B (en) * 2018-05-30 2019-08-11 瑞軒科技股份有限公司 Facial recognition system and method
CN110555331A (en) * 2018-05-30 2019-12-10 苏州乐轩科技有限公司 Face identification system and method
CN110870771A (en) * 2018-08-31 2020-03-10 雲云科技股份有限公司 Image detection method and image detection device for determining posture of user
CN111246113A (en) * 2020-03-05 2020-06-05 上海瑾盛通信科技有限公司 Image processing method, device, equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI668639B (en) * 2018-05-30 2019-08-11 瑞軒科技股份有限公司 Facial recognition system and method
CN110555331A (en) * 2018-05-30 2019-12-10 苏州乐轩科技有限公司 Face identification system and method
CN110555331B (en) * 2018-05-30 2022-04-15 苏州乐轩科技有限公司 Face identification system and method
CN110870771A (en) * 2018-08-31 2020-03-10 雲云科技股份有限公司 Image detection method and image detection device for determining posture of user
CN111246113A (en) * 2020-03-05 2020-06-05 上海瑾盛通信科技有限公司 Image processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103369214A (en) An image acquiring method and an image acquiring apparatus
US10691934B2 (en) Real-time visual feedback for user positioning with respect to a camera and a display
JP6101397B2 (en) Photo output method and apparatus
US20140254939A1 (en) Apparatus and method for outputting information on facial expression
US8031970B2 (en) Method of restoring closed-eye portrait photo
US10467498B2 (en) Method and device for capturing images using image templates
WO2021027537A1 (en) Method and apparatus for taking identification photo, device and storage medium
WO2017016146A1 (en) Image display method and apparatus
CN107025437A (en) Intelligent photographing method and device based on intelligent composition and micro- Expression analysis
WO2018120662A1 (en) Photographing method, photographing apparatus and terminal
US8786749B2 (en) Digital photographing apparatus for displaying an icon corresponding to a subject feature and method of controlling the same
WO2014131329A1 (en) Image acquisition method and device
CN104754216A (en) Photographing method and device
JP6111723B2 (en) Image generating apparatus, image generating method, and program
WO2017096861A1 (en) Method and device for taking photographs
WO2021147650A1 (en) Photographing method and apparatus, storage medium, and electronic device
US20160189413A1 (en) Image creation method, computer-readable storage medium, and image creation apparatus
US10257414B2 (en) Method and system for smart group portrait
WO2018095059A1 (en) Image processing method and device
TW201339986A (en) Method and device for capturing image
JP6098133B2 (en) Face component extraction device, face component extraction method and program
JP5958082B2 (en) Image processing apparatus and image processing method
WO2021147648A1 (en) Suggestion method and device, storage medium, and electronic apparatus
WO2019205566A1 (en) Method and device for displaying image
JP2016139975A (en) Image acquisition device, image acquisition method and program for image acquisition