Image processing method and device

By detecting and aligning feature points in the face area and performing double checks to ensure accuracy, it solves the stability problem of eye tracking technology in unstable lighting environments and improves the use effect of augmented reality 3D heads-up displays.

CN111277812BActive Publication Date: 2024-09-27SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910659582.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-12-04
Filing Date
2019-07-22
Publication Date
2024-09-27
Estimated Expiration
2039-07-22

AI Technical Summary

Technical Problem

Eye tracking technology is difficult to maintain stable operation in unstable lighting environments, especially under backlight or strong sunlight conditions, affecting the use of augmented reality 3D heads-up displays.

Method used

By receiving image frames, the user's face area is detected, multiple preset feature points are aligned with the characteristic parts in the face area, and two checks are performed to ensure accuracy. If it fails, it will be re-detected and if it succeeds, the face area will be output. information.

Benefits of technology

Improved eye tracking accuracy and stability ensures effective operation of augmented reality 3D heads-up displays under various lighting conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111277812B_ABST
    Figure CN111277812B_ABST
Patent Text Reader

Abstract

An image processing method and device are disclosed. The image processing method includes: receiving an image frame; detecting a user's face area in the image frame; aligning a plurality of preset feature points to a plurality of feature parts included in the face area; performing a first check on the result of the alignment based on a first area corresponding to a combination of the plurality of feature parts; performing a second check on the result of the alignment based on a second area corresponding to a single feature part of the plurality of feature parts; re-detecting the face area based on determining failure of at least one of the first check and the second check; and outputting information about the face area based on determining success of the first check and the second check.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is based on and claims the benefit of priority from Korean Patent Application No. 10-2018-0154351, filed on December 4, 2018, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference in its entirety. Technical Field

[0002] Methods and apparatuses consistent with example embodiments relate to an image processing method and apparatus. Background Art

[0003] Camera-based eye tracking technology (e.g., autostereoscopic or glasses-free three-dimensional (3D) super-multiview (SMV) display based on viewpoint tracking, etc.) is used in various fields. The level of performance of the eye tracking technology is determined based on the quality of the image captured by the camera used. Eye tracking technology may exhibit deteriorated operational stability under some conditions (e.g., in an environment with backlight or strong sunlight, in a dark or low-lighting environment, and in a drastically changing lighting environment (e.g., when a vehicle passes through a tunnel during actual driving)). Therefore, there is a need for an eye tracking method that can stably operate under various lighting conditions during actual use of an augmented reality (AR) 3D head-up display (HUD) (e.g., during vehicle driving). Because when a user wears glasses, the user's eyes may be affected by the reflection of the lenses of the glasses caused by infrared (IR) light sources and strong sunlight, and therefore, the stability and accuracy of the eye tracking method may be reduced. Summary of the invention

[0004] One or more example embodiments may address at least the above problems and / or disadvantages and other disadvantages not described above.In addition, an example embodiment is not required to overcome the disadvantages described above, and an example embodiment may not overcome any of the problems described above.

[0005] According to one aspect of the disclosure, there is provided an image processing method, comprising: receiving an image frame; detecting a facial area of ​​a user in the image frame; aligning a plurality of preset feature points at a plurality of feature parts included in the facial area; performing a first check on a result of the alignment based on a first area corresponding to a combination of the plurality of feature parts; performing a second check on the result of the alignment based on a second area corresponding to a single feature part of the plurality of feature parts; re-detecting the facial area based on determining a failure of at least one of the first check and the second check; and outputting information about the facial area based on determining a success of both the first check and the second check.

[0006] The step of detecting the face area may include: when the image frame is an initial image frame, detecting the face area of ​​the user included in the image frame; and when the image frame is not the initial image frame, receiving the face area detected based on one of a plurality of previous image frames of the image frame.

[0007] The aligning may include aligning the plurality of preset feature points with the plurality of feature parts included in the face area and a surrounding area of ​​the face area.

[0008] The step of aligning may include moving the plurality of preset feature points based on image information of the face region.

[0009] When the image frame is an initial image frame, the plurality of preset feature points before being aligned may correspond to average positions of feature parts of a plurality of users.

[0010] When the image frame is not an initial image frame, the plurality of preset feature points before being aligned may correspond to points aligned based on a previous image frame.

[0011] The combination of the plurality of characteristic parts may include the user's eyes and nose, and the single characteristic part includes the user's eyes.

[0012] The step of performing the first inspection may include determining whether the first area includes a combination of the plurality of characteristic parts based on image information of the first area.

[0013] The performing of the first check may include determining whether the first region corresponds to a category corresponding to a combination of the plurality of characteristic parts based on image information of the first region.

[0014] The step of performing the second inspection may include determining whether the second area corresponds to a single characteristic part based on image information of the second area.

[0015] The step of performing the second inspection may include determining whether the second area corresponds to a category corresponding to a single characteristic part based on image information of the second area.

[0016] The outputting of the information about the face region may include outputting information about at least one of a position of a pupil included in the face region, a viewpoint based on the position of the pupil, and a facial expression in the face region.

[0017] The image processing method may further include repeatedly performing the alignment, the first check, and the second check on the re-detected face region.

[0018] The image frame includes at least one of a color image frame and an infrared (IR) image frame.

[0019] A non-transitory computer-readable storage medium may store instructions, wherein the instructions can be executed by a processor for performing the image processing method as described above.

[0020] According to another aspect of the disclosure, there is provided an image processing device, including: a processor, configured to: detect a facial area of ​​a user in an image frame, align a plurality of preset feature points at a plurality of feature parts included in the facial area, perform a first check on a result of the alignment based on a first area corresponding to a combination of the plurality of feature parts, perform a second check on the result of the alignment based on a second area corresponding to a single feature part of the plurality of feature parts, and re-detect the facial area based on determining a failure of at least one of the first check and the second check; and a communication interface, configured to: receive an image frame, and output information about the facial area based on determining a success of both the first check and the second check.

[0021] The processor may be further configured to: detect a face area of ​​a user included in the image frame when the image frame is an initial image frame; and receive a face area detected based on one of a plurality of previous image frames of the image frame when the image frame is not the initial image frame.

[0022] The processor may be further configured to align the plurality of preset feature points with the plurality of feature parts included in the face area and the surrounding area of ​​the face area.

[0023] The processor may be further configured to move the plurality of preset feature points based on the image information of the face region.

[0024] When the image frame is an initial image frame, the plurality of preset feature points before being aligned correspond to average positions of feature parts of a plurality of users.

[0025] When the image frame is not an initial image frame, the plurality of preset feature points before being aligned correspond to points aligned based on a previous image frame.

[0026] The combination of the plurality of characteristic parts may include the user's eyes and nose, and the single characteristic part includes the user's eyes.

[0027] The processor may be further configured to determine whether the first region includes a combination of the plurality of characteristic parts based on the image information of the first region.

[0028] The processor may be further configured to determine whether the first region corresponds to a category corresponding to a combination of the plurality of characteristic parts based on the image information of the first region.

[0029] The processor may be further configured to determine whether the second region corresponds to a single characteristic part based on the image information of the second region.

[0030] The processor may be further configured to determine whether the second region corresponds to a category corresponding to a single characteristic part based on the image information of the second region.

[0031] The communication interface may be further configured to output information on at least one of: a position of a pupil included in the face region, a viewpoint based on the position of the pupil, and a facial expression in the face region.

[0032] The processor may be further configured to repeatedly perform the alignment, the first check, and the second check on the re-detected face region.

[0033] The image frame may include at least one of a color image frame and an infrared (IR) image frame.

[0034] According to another aspect of the disclosure, an image processing device is provided, comprising: a memory configured to store one or more instructions; and a processor configured to execute the one or more instructions to: detect a facial area of ​​a user in an image frame, determine whether a combination of multiple feature parts in a first area satisfies a first criterion, determine whether one or more of the multiple feature parts individually satisfies a second criterion, re-detect the facial area based on determining that the combination of the multiple feature parts in the first area does not satisfy the first criterion or one or more of the multiple feature parts do not individually satisfy the second criterion; and output information about the facial area based on determining that the combination of the multiple feature parts in the first area satisfies the first criterion and one or more of the multiple feature parts individually satisfy the second criterion.

[0035] The first criterion may correspond to features of a face.

[0036] The second criterion may correspond to characteristics of the eye.

[0037] According to another aspect of the disclosure, there is provided an image processing method, comprising: detecting a facial region of a user in an image frame; determining whether a combination of a plurality of feature parts in a first region satisfies a first criterion; determining whether one or more of the plurality of feature parts individually satisfies a second criterion; re-detecting the facial region based on determining that the combination of the plurality of feature parts in the first region does not satisfy the first criterion or that one or more of the plurality of feature parts individually does not satisfy the second criterion; and outputting information about the facial region based on determining that the combination of the plurality of feature parts in the first region satisfies the first criterion and one or more of the plurality of feature parts individually satisfies the second criterion.

[0038] The first criterion may correspond to features of a face.

[0039] The second criterion may correspond to characteristics of the eye. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The above and / or other aspects will become more apparent by describing certain example embodiments in conjunction with the accompanying drawings, in which:

[0041] Figure 1 is a diagram showing an example of erroneous eye tracking;

[0042] Figure 2 is a flowchart illustrating an image processing method according to an example embodiment;

[0043] Figure 3 is a flowchart illustrating an image processing method according to another example embodiment;

[0044] Figure 4 is a diagram showing an example of how to output information about a face region according to an exemplary embodiment;

[0045] Figure 5A and Figure 5B is a diagram illustrating an example of results obtained by a first checker and a second checker according to an example embodiment;

[0046] Figure 6 is a diagram illustrating an example of an image processing method according to an example embodiment;

[0047] Figure 7 is a diagram illustrating an image processing apparatus according to an example embodiment. DETAILED DESCRIPTION

[0048] Reference will now be made in detail to example embodiments, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout.

[0049] The following structural or functional descriptions are exemplary to describe only example embodiments, and the scope of the example embodiments is not limited to the descriptions provided in the disclosure. Various changes and modifications may be made thereto by those of ordinary skill in the art.

[0050] Although the terms "first" or "second" are used to explain various components, the components are not limited to these terms. These terms should only be used to distinguish one component from another. For example, according to the disclosed example embodiments, within the scope of the rights, a "first" component may be referred to as a "second" component, or similarly, a "second" component may be referred to as a "first" component.

[0051] It will be understood that when a component is referred to as being “connected to” another component, the component may be directly connected or coupled to the other component or intervening components may be present.

[0052] As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. It should also be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates that there are narrated features, wholes, steps, operations, elements, components or combinations thereof, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. When a statement such as "at least one of..." is after a column of elements, the entire column of elements is modified, rather than a single element in the column. For example, the statement "at least one of a, b and c" should be understood to include only a, only b, only c, both a and b, both a and c, both b and c, or all of a, b and c.

[0053] Unless otherwise defined herein, all terms (including technical and scientific terms) used herein have the same meaning as those commonly understood by those of ordinary skill in the art. Unless otherwise defined herein, terms (such as those defined in general dictionaries) will be interpreted as having a meaning that matches the contextual meaning of the relevant art and will not be interpreted as an idealized or overly formal meaning.

[0054] The example embodiments described below may be applicable to, for example, an autostereoscopic or glasses-free three-dimensional (3D) monitor, an autostereoscopic or glasses-free 3D tablet or smartphone, a vehicle 3D head-up display (HUD), etc., to track the user's eyes using an infrared (IR) camera and output the coordinates of the position of the tracked eyes. For example, the example embodiments may be configured in the form of a software algorithm in a chip of a monitor, an application in a tablet or smartphone, and a hardware eye tracking device. For example, the example embodiments may also be applicable to autonomous vehicles, smart vehicles, smartphones, mobile devices, etc. Hereinafter, the example embodiments will be described in detail with reference to the accompanying drawings, and the same reference numerals in the drawings always represent the same elements.

[0055] Figure 1 is a diagram illustrating an example of erroneous eye tracking. Figure 1 Image frames 110 , 120 , and 130 obtained by capturing an image of a user, and a detection frame 125 from which an eye region and a nose region of the user are to be detected are shown.

[0056] Reference Figure 1, after failing to track the user's eyes in the image frame 110, the eye tracker detects the user's eye region and nose region using the detection frame 125 in the image frame 120. For example, when the user's face moves to the right using the detection frame 125 as described above, the eye tracker may align a plurality of preset points corresponding to the eye region and nose region at positions corresponding to the face moving to the right. However, by tracking the user's eyes using the points aligned at positions corresponding to the face moving to the right, eye tracking may be continuously performed for incorrect positions in each subsequent image frame. That is, when the eye tracker tracks the eyes using the previously aligned points, eye tracking may be erroneously performed in all subsequent image frames. This is because, although the detection frame 125 is used to correctly detect the user's face region, when the user's face moves again to face forward as shown in the image frame 130, the eye tracker may continuously and erroneously track the user's eyes by using the points aligned at positions corresponding to the face moving to the right. That is, a general type eye tracker may track the user's eyes by merely checking the user's face or performing a face check, and therefore, may not quickly respond to potential errors in tracking.

[0057] According to example embodiments, the accuracy of eye tracking can be improved by checking whether a correct area is tracked whenever a plurality of points are aligned for eye tracking and detecting a face area again from an image frame when an incorrect area is tracked, while solving the problem of continuously performing erroneous eye tracking as described above.

[0058] Figure 2 is a flowchart illustrating an image processing method according to an example embodiment. The image processing method to be described below may be performed by an image processing apparatus. Figure 2 In operation 210, the image processing apparatus receives an image frame. For example, the image frame may be a color image frame and an IR image frame.

[0059] In operation 220, the image processing apparatus obtains a face region of a user included in the image frame. For example, when the image frame received in operation 210 is an image frame initially received by the image processing apparatus or an initial image frame, the image processing apparatus may obtain the face region by detecting the face region of the user included in the initial image frame. However, when the image frame is not the initial image frame, the image processing apparatus may receive a face region detected based on one of a plurality of previous image frames of the image frame, thereby obtaining the face region.

[0060] In operation 230, the image processing apparatus aligns a plurality of preset points on a plurality of characteristic parts included in the face region. For example, the plurality of preset points may be 11 key points indicating major facial features (e.g., eyes and nose of the user). The plurality of points (i.e., the plurality of preset points) are aligned on the attached Figure 4 , Figure 5A , Figure 5B and Figure 6 In the figure, the plurality of characteristic parts are indicated as dots (●) or asterisks (*). In addition, the plurality of characteristic parts may be some parts or regions included in the face region of the image frame, and include, for example, lips, eyebrows, glasses, etc. in addition to the eyes and the nose. The image processing apparatus may align the plurality of points on the plurality of characteristic parts included in the face region and the surrounding area of ​​the face region. The image processing apparatus may move the plurality of points based on the image information of the face region to align on the plurality of characteristic parts.

[0061] For example, the image processing device may use the following methods to identify the positions of the characteristic parts corresponding to the eyes and nose of the user from the face area of ​​the image frame: a supervised descent method (SDM) that aligns the points with the image shape using a descent vector learned from the initial shape, a method based on an active shape model (ASM) that aligns the points based on principal component analysis (PCA) to analyze the shape and the principal components of the shape, a method based on an active appearance model (AAM), and a method based on a constrained local model (CLM). The image processing device may move multiple points to the identified positions of multiple characteristic parts to align the multiple points at the identified parts. For example, when the image frame is an initial image frame, the multiple points before being aligned may correspond to the average position of the characteristic parts of multiple users. In this example, each of the multiple points before being aligned may correspond to the average value of the coordinates of the positions of the corresponding characteristic parts of multiple users. However, when the image frame is not an initial image frame, the points before being aligned may correspond to the points aligned based on the previous image frame.

[0062] In operation 240, the image processing device performs a first check on the result of the alignment based on the first area corresponding to the combination of multiple feature parts. The first area may include areas such as eyes, nose, lips, and glasses. However, the first area is not limited to the foregoing example. The image processing device may check whether the first area includes a combination of multiple feature parts (e.g., eyes and nose) based on image information of the first area. The image processing device may check whether the first area corresponds to a class corresponding to the combination of multiple feature parts based on the image information of the first area. The class corresponding to the combination of feature parts may be, for example, the face of a user. The image processing device may check whether the first area corresponds to such a face class based on, for example, a scale-invariant feature transform (SIFT) feature using a first checker. For example, when 11 points corresponding to key points indicating eyes and noses of each face stored in a training image database (DB) are aligned to a face area of ​​a training image frame, the first checker may be a classifier trained using SIFT features extracted from each of the multiple alignment points. The first checker may check whether the face area aligned with multiple points corresponds to an actual face class based on image information of the face area of ​​the image frame. The first checker may be, for example, a support vector machine (SVM) classifier. Because the first checker is configured to first check the alignment in the face area, the first checker may also be referred to as a face checker.

[0063] SIFT features can be obtained through the following two stages. The image processing device can extract candidate feature points with local maximum or local minimum image brightness from the scale space of the image pyramid representation of the image data of the first area, and perform filtering on the feature points with a low contrast range and select the feature points to be used for image matching. The image processing device can obtain an orientation component based on the gradient of the surrounding area of ​​the selected feature point, reset the region of interest (ROI) based on the obtained orientation component, detect the size of the feature point, and generate a descriptor. The descriptor can correspond to the SIFT feature.

[0064] In operation 250, the image processing device performs a second check on the result of the alignment based on a second area corresponding to a single feature part of the plurality of feature parts. The second area may include an area such as an eye, a nose, or glasses. However, the second area is not limited to the aforementioned examples. The image processing device may check whether the second area corresponds to a single feature part based on image information of the second area. The image processing device may check whether the second area corresponds to a category corresponding to the single feature part based on image information of the second area. For example, the image processing device may use a second checker to check whether the second area corresponds to an eye category based on SIFT features of the second area. For example, when three points corresponding to key points indicating each eye stored in the training image DB are aligned in an eye area of ​​the training image frame, the second checker may be a classifier trained using SIFT features extracted from each of the plurality of alignment points. The second checker may check whether the eye area aligned with the plurality of points corresponds to an actual eye category based on image information of the eye area of ​​the image frame. The second checker may be, for example, an SVM classifier. Because the second checker is configured to secondarily check alignment in the eye area, the second checker may also be referred to as an eye checker.

[0065] In operation 260, the image processing apparatus re-detects the face region in response to failure of at least one of the first check and the second check. Then, the image processing apparatus may repeatedly perform operations 230, 240, and 250 based on the face region re-detected in operation 260.

[0066] In operation 270, the image processing device outputs information about the face area in response to the success of the first check and the second check. For example, the image processing device may output information about the following: for example, the position of the pupil included in the face area, the viewpoint based on the position of the pupil, the facial expression in the face area, etc. The image processing device may explicitly or implicitly output the information about the face area in operation 270. Here, the explicit output of the information about the face area may include: displaying the position of the pupil included in the face area and / or the facial expression in the face area on a display or screen, and / or outputting the information through audio output. The implicit output of the information about the face area may include, for example, adjusting the image to be displayed on the HUD by the position of the pupil included in the face area and the viewpoint based on the position of the pupil, or providing a service corresponding to the facial expression in the face area.

[0067] Figure 3 is a flowchart illustrating an image processing method according to another exemplary embodiment. The image processing method to be described below may be performed by an image processing device. Figure 3In operation 310, the image processing apparatus obtains an nth image frame from a camera, where n may be an integer. The image frame may be, for example, a red, green, and blue (RGB) color image frame or an IR image frame.

[0068] In operation 320, the image processing apparatus determines whether eyes and nose are detected from the previous (n-1)th image frame. In operation 390, in response to the determination made in operation 320 that eyes and nose are not detected, the image processing apparatus detects eyes and nose using a detection frame.

[0069] In operation 330, in response to the determination made in operation 320 that the eyes and the nose are detected, the image processing apparatus aligns feature points on a plurality of feature parts (e.g., the eyes and the nose) included in the surrounding area of ​​the detection frame. According to example embodiments, there may be 11 points constituting the feature points. The 11 points may include, for example, three points for each eye, one point between the eyes, one point for the tip of the nose, and three points for the lips (or three points for the nose).

[0070] In operation 340 , the image processing apparatus performs a first check on a result of alignment of a face region corresponding to a combination of eyes and a nose using the aligned feature points.

[0071] In operation 350, the image processing apparatus determines whether eyes and nose are tracked in the face region as a result of the first check. In operation 390, in response to a determination made in operation 350 that eyes and nose are not tracked, the image processing apparatus detects eyes and nose using a detection frame.

[0072] Typically, the speed of detecting an object (e.g., a face region) may be less than or equal to 20 milliseconds (ms), and the speed of tracking an object may be less than or equal to 3 ms. Therefore, the object detection speed may be significantly slower than the object tracking speed. According to example embodiments, the image processing speed may be increased by performing object detection again only when object tracking fails, and not performing object detection once object tracking succeeds.

[0073] In operation 360 , in response to the determination made in operation 350 that the eyes and the nose are detected, the image processing apparatus performs a second check on the result of alignment of the eye region using the aligned three points.

[0074] In operation 370, the image processing apparatus determines whether eyes are detected as a result of the second check. In operation 390, in response to a determination made in operation 370 that eyes are not detected, the image processing apparatus detects eyes and a nose using a detection frame.

[0075] In operation 380 , in response to the determination made in operation 370 that the eye is detected, the image processing apparatus outputs coordinates of the eye or coordinates of the pupil.

[0076] Figure 4 is a diagram showing an example of how to output information about a face area according to an exemplary embodiment. Figure 4 In operation 410, when the image processing apparatus receives an image frame from a camera, the image processing apparatus detects eyes and a nose from the image frame using a detection frame 405 for detecting a face region including regions of eyes and a nose.

[0077] In operation 420 , the image processing apparatus aligns a plurality of points on the eyes and the nose within a surrounding area of ​​the detection frame 405 , wherein the surrounding area includes the detection frame 405 .

[0078] In operation 430, the image processing device checks the result of the alignment based on the aligned points. In detail, in operation 433, the image processing device performs a first check for checking whether the points corresponding to the eyes and the nose among the aligned points are aligned with the positions of the eyes and the nose in the actual image frame. For example, the image processing device may obtain a shape indicated by the aligned points in the face area. The image processing device may perform a first check for determining whether a plurality of points are aligned on the face using image information of a surrounding area of ​​the area corresponding to the shape. Subsequently, in operation 436, the image processing device performs a second check for checking whether the points corresponding to the eyes among the aligned points are aligned with the positions of the eyes in the actual image frame.

[0079] In response to failure of any one of the first check and the second check in operation 430 , the image processing apparatus detects eyes and a nose from a subsequent image frame using the detection frame 405 in operation 410 .

[0080] In response to success of both the first check and the second check in operation 430 , the image processing apparatus extracts the position of the pupil from the aligned points in operation 440 .

[0081] Figure 5A and Figure 5B is a diagram illustrating an example of results obtained by a first checker and a second checker according to an example embodiment. Figure 5A The result of aligning the preset 11 points on a plurality of characteristic parts (eg, eyes and nose) included in the face region of the image frame is shown.

[0082] As described above, the first checker or face checker checks whether the 11 points are aligned with the eyes and nose in the image frame as shown in image 510, or whether the 11 points are aligned with the face area of ​​the image frame but are not correctly aligned with the eyes and nose in the image frame as shown in image 520.

[0083] Figure 5BThe result of aligning three points corresponding to the eyes among the preset 11 points on a single feature part (eg, the eye) included in the image frame is shown.

[0084] As described above, the second checker or eye checker determines whether the three points are aligned with the eyes in the face area of ​​the image frame as shown in image 530, or whether the three points are not correctly aligned with the eyes in the face area of ​​the image frame as shown in image 540 although they are placed in the eye area in the image frame.

[0085] According to example embodiments, by using such a two-step tracking check of a face checker and an eye checker, the stability and accuracy of the overall eye tracking may be improved by using alignment to improve the accuracy of face detection and the accuracy of eye alignment at multiple points of an image frame.

[0086] According to one embodiment, the first check may include determining whether a combination of multiple feature parts in the first region satisfies a first criterion, and the second check may include determining whether one or more of the multiple feature parts individually satisfies a second criterion. In addition, based on determining that the combination of the multiple feature parts in the first region does not satisfy the first criterion, the face may be re-detected. Otherwise, based on determining that the combination of the multiple feature parts in the first region satisfies the first criterion and one or more of the multiple feature parts individually satisfies the second criterion, information about the face region may be output.

[0087] According to one embodiment, the first criterion may be whether the plurality of feature points (i.e., 11 points) are aligned with the eyes and nose in the image frame. According to one embodiment, the second criterion may be whether one or more points (i.e., 3 points) among the plurality of feature points are correctly aligned with the eyes in the face region of the image frame. According to one embodiment, the first criterion may correspond to features of the face, and the second criterion may correspond to features of the eyes.

[0088] Figure 6 is a diagram illustrating an example of an image processing method according to an example embodiment. Figure 6 In operation 610, the image processing apparatus detects a user's face region including eyes and a nose from each image frame of the camera using a detection frame. Then, unless alignment and / or tracking fails, the image processing apparatus performs tracking without performing additional detection.

[0089] In operation 630, the image processing apparatus aligns a plurality of preset points on the eyes and the nose included in the face region. In response to determining in operation 640 that the alignment in operation 630 fails, the image processing apparatus detects the face region of the user including the eyes and the nose from a new image frame in operation 610. In response to success of the alignment in operation 630, the image processing apparatus performs a two-step tracking check in operation 650. The two-step tracking check is performed as follows.

[0090] When a face region in which 11 points are aligned is input in operation 651 , the image processing apparatus extracts SIFT features of the aligned plurality of points in operation 652 .

[0091] In operation 653 , the image processing apparatus checks the results of face alignment and eye alignment based on the SIFT features extracted in operation 652 using an SVM classifier trained using tens of thousands of images in the image DB.

[0092] In operation 653, the image processing apparatus performs a first tracking check on the face using the above-mentioned face checker. The face checker is configured to check whether the face region aligned with the plurality of points corresponds to an actual face using image information of the face region of the image frame.

[0093] In operation 653, the image processing apparatus performs a second tracking check on the eye using the above-mentioned eye checker. The eye checker is configured to check whether the eye area aligned with the plurality of points corresponds to an actual eye using image information of the eye area of ​​the image frame.

[0094] like Figure 6 As shown in 670 in FIG. 6 , the image processing apparatus can correct potential errors in early tracking by removing misaligned alignment outliers through the two-step tracking check performed in operation 653. In operation 654, in response to a failure of at least one of the two-step tracking checks, the image processing apparatus re-detects the face region in operation 656. In operation 655, in response to a success of the two-step tracking check, the image processing apparatus maintains alignment.

[0095] Figure 7 2 is a diagram showing an image processing apparatus according to an exemplary embodiment. Figure 7 , the image processing device 700 includes a sensor 710, a processor 730, a memory 750, a communication interface 770, and a display 790. The sensor 710, the processor 730, the memory 750, the communication interface 770, and the display 790 may communicate with each other via a communication bus 705. According to another example embodiment, the image processing device may not include the display 790. However, the image processing device may be configured to communicate with the display.

[0096] The sensor 710 may sense an image frame. The sensor 710 may be, for example, an image sensor, a visual sensor, or an IR camera that captures an input image by IR illumination. The image frame may be, for example, an image of a user's face or an image of a vehicle traveling.

[0097] The processor 730 may obtain a face region of a user included in an image frame. The processor 730 may align a plurality of preset points on a plurality of characteristic parts included in the face region. The processor 730 may perform a first check on a result of the alignment based on a first region corresponding to a combination of the plurality of characteristic parts. The processor 730 may perform a second check on a result of the alignment based on a second region corresponding to a single characteristic part among the plurality of characteristic parts. In response to a failure of at least one of the first check and the second check, the processor 730 may re-detect the face region.

[0098] The processor 730 may execute the above reference Figures 1 to 6 The processor 730 may execute a program and control the image processing apparatus 700. The program code of the program to be executed by the processor 730 may be stored in the memory 750. The processor 730 may be configured by, for example, a central processing unit (CPU) and a graphics processing unit (GPU).

[0099] The memory 750 may store an image frame, a face region of a user obtained by the processor 730 , information about the face region, etc. The memory 750 may be a volatile memory or a nonvolatile memory.

[0100] The communication interface 770 may receive an image frame. In response to success of the first check and the second check, the communication interface 770 may output information about the face area. According to an example embodiment, the communication interface 770 may receive an image frame captured by an external source of the image processing apparatus 700, or information from various sensors received from outside the image processing apparatus 700.

[0101] The display 790 may display the processing result of the processor 730. For example, in the case where the image processing apparatus 700 is embedded in a vehicle, the display 790 may be configured by a HUD installed in the vehicle.

[0102] The unit described herein can be implemented using hardware components and software components. For example, hardware components may include microphones, amplifiers, bandpass filters, analog-to-digital converters, non-temporary computer memory and processing devices. The processing device may be implemented using one or more general-purpose computers or special-purpose computers (such as, for example, processors, controllers and arithmetic logic units (ALUs), digital signal processors, microcomputers, field programmable gate arrays (FPGAs), programmable logic units (PLUs), microprocessors, or any other device capable of responding and executing instructions in a limited manner). The processing device may run an operating system (OS) and one or more software applications running on the OS. In response to the execution of software, the processing device may also access, store, operate, process and create data. For the purpose of simplicity, the description of the processing device is used as a singular, however, it will be understood by those skilled in the art that the processing device may include multiple processing elements and multiple types of processing elements. For example, the processing device may include multiple processors or processors and controllers. In addition, different processing configurations are feasible, such as parallel processors.

[0103] Software may include computer programs, code segments, instructions, or some combination thereof to independently or collectively direct or configure a processing device to operate as desired. Software and data may be implemented permanently or temporarily in any type of machine, component, physical or virtual equipment, computer storage medium or device, or in a propagating signal wave that can provide instructions or data to a processing device or can be interpreted by a processing device. Software may also be distributed on networked computer systems so that the software is stored and executed in a distributed manner. Software and data may be stored by one or more non-transitory computer-readable recording media. Non-transitory computer-readable recording media may include any data storage device that can store data that can be subsequently read by a computer system or processing device.

[0104] Example embodiments include non-transitory computer-readable media containing program instructions for implementing various operations that can be implemented by a computer. The medium may also include program instructions, data files, data structures, tables, etc. separately, or include data files, data structures, tables, etc. in combination with program instructions. The medium and program instructions may be program instructions specially designed and constructed for the purpose of the example embodiments, or they may be known types and program instructions available to technicians in the field of computer software. Examples of non-transitory computer-readable media include: magnetic media (such as hard disks, floppy disks, and tapes), optical media (such as CD ROM disks), magneto-optical media (such as optical disks), and hardware devices (such as read-only memories (ROMs) and random access memories (RAMs)) that are specially configured to store and execute program instructions. Examples of program instructions include machine codes (such as codes generated by compilers) and files containing high-level codes that can be executed by computers using interpreters. The described device may be configured to be used as one or more software modules to execute the above-mentioned example embodiments, and vice versa.

[0105] The examples described herein are considered in a descriptive sense only and not for purposes of limitation. The description of features or aspects in each example will be considered applicable to similar features or aspects in other examples. Appropriate results may be achieved if the described techniques are performed in a different order, and / or if components in the described systems, architectures, devices, or circuits are combined in a different manner and / or replaced or supplemented by other components or their equivalents.

[0106] While this disclosure includes specific examples, it will be apparent to one of ordinary skill in the art that various changes in form and details may be made in these examples without departing from the spirit and scope of the claims and their equivalents.

Claims

1. An image processing method, include: receiving an image frame; Detecting a user's face region in an image frame; Aligning a plurality of preset feature points on a plurality of feature parts, the plurality of feature parts being included in a facial region; wherein the plurality of preset feature points are a plurality of key points indicating main facial features of the facial region; performing a first inspection on the result of the alignment based on a first area corresponding to a combination of the plurality of characteristic parts; performing a second check on the result of the alignment based on a second area corresponding to a single feature of the plurality of feature parts; re-detecting the face region based on determining failure of at least one of the first check and the second check; and outputting information about the face area based on determining success of both the first check and the second check, The characteristic part is a partial area in the face area of ​​the image frame.

2. The image processing method according to claim 1, in, The steps to detect the face area include: When the image frame is an initial image frame, detecting a face area of ​​a user included in the image frame; and When the image frame is not an initial image frame, a face region detected based on one of a plurality of previous image frames of the image frame is received.

3. The image processing method according to claim 1, in, The steps of alignment include: The plurality of preset feature points are moved based on the image information of the face area.

4. The image processing method according to claim 1, in, When the image frame is an initial image frame, the plurality of preset feature points before being aligned correspond to average positions of feature parts of a plurality of users.

5. The image processing method according to claim 1, in, When the image frame is not an initial image frame, the plurality of preset feature points before being aligned correspond to points aligned based on a previous image frame.

6. The image processing method according to claim 1, in, The combination of the plurality of characteristic parts includes eyes and a nose of the user, and a single characteristic part includes eyes of the user.

7. The image processing method according to claim 1, in, The steps for performing the first check include: It is determined whether the first area includes a combination of the plurality of characteristic parts based on the image information of the first area.

8. The image processing method according to claim 1, in, The steps for performing the first check include: It is determined whether the first region corresponds to a category corresponding to a combination of the plurality of characteristic parts based on the image information of the first region.

9. The image processing method according to claim 1, in, The steps for performing the second check include: It is determined whether the second area corresponds to a single characteristic part based on the image information of the second area.

10. The image processing method according to claim 1, in, The steps for performing the second check include: It is determined whether the second region corresponds to a category corresponding to a single characteristic part based on the image information of the second region.

11. The image processing method according to claim 1, in, The steps of outputting information about the face region include: Information on at least one of a position of a pupil included in a face region, a viewpoint based on the position of the pupil, and a facial expression in the face region is output.

12. The image processing method according to claim 1, further comprising: include: The alignment, the first check, and the second check are repeatedly performed on the re-detected face region.

13. The image processing method according to claim 1, in, The image frame includes at least one of a color image frame and an infrared image frame. 14 . A non-transitory computer-readable storage medium storing instructions, wherein the instructions are executable by a processor for executing the image processing method of claim 1 .

15. An image processing device, include: The processor is configured as: Detecting the user's face area in the image frame, aligning a plurality of preset feature points at a plurality of feature parts, the plurality of feature parts being included in a face region, wherein the plurality of preset feature points are a plurality of key points indicating main facial features of the face region, performing a first check on the result of the alignment based on a first area corresponding to a combination of the plurality of feature parts, performing a second check on the result of the alignment based on a second area corresponding to a single feature part of the plurality of feature parts, and re-detecting a face area based on determining failure of at least one of the first check and the second check; and a communication interface configured to: receive the image frame and output information about the face region based on determining success of both the first check and the second check, The characteristic part is a partial area in the face area of ​​the image frame.

16. The image processing device according to claim 15, in, The processor is also configured to: When the image frame is an initial image frame, detecting a face area of ​​a user included in the image frame; and When the image frame is not an initial image frame, a face region detected based on one of a plurality of previous image frames of the image frame is received.

17. The image processing device according to claim 15, in, The processor is also configured to: The plurality of preset feature points are moved based on the image information of the face area.

18. The image processing device according to claim 15, in, When the image frame is an initial image frame, the plurality of preset feature points before being aligned correspond to average positions of feature parts of a plurality of users.

19. The image processing device according to claim 15, in, When the image frame is not an initial image frame, the plurality of preset feature points before being aligned correspond to points aligned based on a previous image frame.

20. The image processing device according to claim 15, in, The combination of the plurality of characteristic parts includes eyes and a nose of the user, and a single characteristic part includes eyes of the user.

21. The image processing device according to claim 15, in, The processor is also configured to: It is determined whether the first area includes a combination of the plurality of characteristic parts based on the image information of the first area.

22. The image processing apparatus according to claim 15, in, The processor is also configured to: It is determined whether the first region corresponds to a category corresponding to a combination of the plurality of characteristic parts based on the image information of the first region.

23. The image processing apparatus according to claim 15, in, The processor is also configured to: It is determined whether the second area corresponds to a single characteristic part based on the image information of the second area.

24. The image processing apparatus according to claim 15, in, The processor is also configured to: It is determined whether the second region corresponds to a category corresponding to a single characteristic part based on the image information of the second region.

25. The image processing apparatus according to claim 15, in, The communication interface is also configured to: Information on at least one of a position of a pupil included in a face region, a viewpoint based on the position of the pupil, and a facial expression in the face region is output.

26. The image processing apparatus according to claim 15, in, The processor is also configured to: The alignment, the first check, and the second check are repeatedly performed on the re-detected face region.

27. The image processing apparatus according to claim 15, in, The image frame includes at least one of a color image frame and an infrared image frame.

28. An image processing device, include: a memory configured to store one or more instructions; as well as A processor configured to execute the one or more instructions to: Detect the user's face area in the image frame, aligning a plurality of preset feature points at a plurality of feature parts, the plurality of feature parts being included in a face region, wherein the plurality of preset feature points are a plurality of key points indicating main facial features of the face region, determining whether a combination of the plurality of characteristic parts in a first region corresponding to the combination of the plurality of characteristic parts satisfies a first criterion, determining whether one or more of the plurality of characteristic locations individually satisfies a second criterion, re-detecting a face region based on determining that a combination of the plurality of characteristic parts in the first region does not satisfy a first criterion or one or more of the plurality of characteristic parts individually do not satisfy a second criterion; and outputting information about the face region based on determining that a combination of the plurality of characteristic parts in the first region satisfies a first criterion and one or more of the plurality of characteristic parts individually satisfies a second criterion, The characteristic part is a partial area in the face area of ​​the image frame.

29. The image processing device according to claim 28, in, The first criterion corresponds to the features of the face.

30. The image processing device according to claim 28, in, The second criterion corresponds to the characteristics of the eyes.

31. An image processing method, include: Detecting a user's face region in an image frame; aligning a plurality of preset feature points at a plurality of feature parts, the plurality of feature parts being included in a face region, wherein the plurality of preset feature points are a plurality of key points indicating main facial features of the face region, determining whether a combination of the plurality of characteristic parts in a first region corresponding to the combination of the plurality of characteristic parts satisfies a first criterion; determining whether one or more of the plurality of features individually satisfies a second criterion; re-detecting a face region based on determining that a combination of the plurality of characteristic parts in the first region does not satisfy a first criterion or one or more of the plurality of characteristic parts individually do not satisfy a second criterion; and outputting information about the face region based on determining that a combination of the plurality of characteristic parts in the first region satisfies a first criterion and one or more of the plurality of characteristic parts individually satisfies a second criterion, The characteristic part is a partial area in the face area of ​​the image frame.

32. The image processing method according to claim 31, in, The first criterion corresponds to the features of the face.

33. The image processing method according to claim 31, in, The second criterion corresponds to the characteristics of the eyes.