WO2018054054A1 - Face recognition method, apparatus, mobile terminal and computer storage medium - Google Patents

Face recognition method, apparatus, mobile terminal and computer storage medium Download PDF

Info

Publication number
WO2018054054A1
WO2018054054A1 PCT/CN2017/082055 CN2017082055W WO2018054054A1 WO 2018054054 A1 WO2018054054 A1 WO 2018054054A1 CN 2017082055 W CN2017082055 W CN 2017082055W WO 2018054054 A1 WO2018054054 A1 WO 2018054054A1
Authority
WO
WIPO (PCT)
Prior art keywords
camera image
face
exposure amount
main
face region
Prior art date
Application number
PCT/CN2017/082055
Other languages
French (fr)
Chinese (zh)
Inventor
胡文迪
李飞
李晶
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018054054A1 publication Critical patent/WO2018054054A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene

Definitions

  • the present invention relates to the field of photographing technology, and in particular, to a method and device for recognizing a face, a mobile terminal, and a computer storage medium.
  • the face recognition algorithm has a wide range of applications in photographing and videography.
  • the face recognition algorithm can adjust the exposure strategy of the face position in real time according to the position of the face in the image, and focus according to the position of the face in the picture, thereby obtaining the person. Face-oriented, more natural photos and movies. However, for some special scenes, such as photos taken in a backlit scene, the exposure strategy of the backlight will darken the overexposed portion so that the face in the photo is dark, resulting in the face recognition algorithm not recognizing the special scene. The face of the face, in turn, can not be exposed and focus optimized for the face.
  • Embodiments of the present invention are desirable to provide a method and apparatus for face recognition, a mobile terminal, and a computer storage medium capable of accurately recognizing a face region in a main camera image in any shooting scene.
  • the embodiment of the invention provides a method for face recognition, which is applied to a mobile terminal including a main camera and a secondary camera;
  • a face region in the main camera image is identified using parameter information associated with a face region in the secondary camera image.
  • the adjusting the exposure amount of the auxiliary camera image until the recognition of the face region in the auxiliary camera image comprises:
  • auxiliary camera image is in the backlight scene, increasing the exposure amount of the secondary camera image until the face region in the secondary camera image is recognized by using a face recognition algorithm;
  • the exposure amount of the secondary camera image is reduced until the face region in the secondary camera image is recognized by the face recognition algorithm.
  • the parameter information includes: a face coordinate position in the secondary camera image or an exposure amount when the face region is recognized in the secondary camera image.
  • the parameter information when the parameter information is a face coordinate position in the secondary camera image, the parameter information related to the face region in the secondary camera image is used to identify the image in the main camera image.
  • Face area including:
  • the exposure amount at the face coordinate position in the main camera image is adjusted until the face region in the main camera image is recognized using a face recognition algorithm.
  • the parameter information when the parameter information is an exposure amount when a face region is recognized in the auxiliary camera image, the parameter information is identified by using parameter information related to a face region in the auxiliary camera image.
  • the face area in the main camera image including:
  • the method further includes:
  • the embodiment of the invention further provides a device for recognizing a face, comprising:
  • a secondary recognition module configured to adjust an exposure amount of the secondary camera image until a face region in the secondary camera image is recognized
  • the main image recognition module is configured to recognize a face region in the main camera image by using parameter information related to a face region in the auxiliary camera image.
  • the auxiliary recognition module is configured to:
  • auxiliary camera image is in the backlight scene, increasing the exposure amount of the secondary camera image until the face region in the secondary camera image is recognized by using a face recognition algorithm;
  • the exposure amount of the secondary camera image is reduced until the face region in the secondary camera image is recognized by the face recognition algorithm.
  • the parameter information includes: a face coordinate position in the secondary camera image or an exposure amount when the face region is recognized in the secondary camera image.
  • the primary recognition module is configured to:
  • the exposure amount at the face coordinate position in the main camera image is adjusted until the face region in the main camera image is recognized using a face recognition algorithm.
  • the main camera recognition module is configured to:
  • the exposure amount of the main camera image is adjusted within the set value range until the face region in the main camera image is recognized by the face recognition algorithm.
  • the apparatus further includes:
  • a photometry module configured to meter the main camera image according to a face region in the main camera image, obtain an exposure amount required by the main camera image, and compare the exposure amount to the main camera The image is adjusted.
  • the embodiment of the invention further provides a mobile terminal, which comprises the device for face recognition according to the embodiment of the invention.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the method for face recognition according to the embodiment of the present invention.
  • the method, device, mobile terminal and computer storage medium for face recognition solve the problem that a face recognition algorithm cannot be used to recognize a face region in a main camera image in a backlight scene or a glare scene.
  • different exposure strategies are used in the main camera and the auxiliary camera, and the auxiliary camera is used to adjust the exposure amount to help the main camera find the face region in the image.
  • Embodiments of the present invention can improve the range and recognition rate of a face in a main camera image under different exposure conditions.
  • FIG. 1 is a flowchart of a method for face recognition according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of a method for face recognition according to a second embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for face recognition according to a third embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a device for a face recognition according to a fourth embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a device for a face recognition according to a fifth embodiment of the present invention.
  • FIG. 6 is a schematic diagram showing the structure of a device for face recognition according to a sixth embodiment of the present invention.
  • a first embodiment of the present invention is a method for face recognition, which is used in a mobile terminal including a main camera and a secondary camera; as shown in FIG. 1, the following specific steps are included:
  • Step S101 Adjust the exposure amount of the secondary camera image until the face region in the secondary camera image is recognized.
  • step S101 includes:
  • auxiliary camera image is in the backlight scene, increasing the exposure amount of the secondary camera image until the face region in the secondary camera image is recognized by using a face recognition algorithm;
  • the exposure amount of the secondary camera image is reduced until the face region in the secondary camera image is recognized by the face recognition algorithm.
  • Step S102 Identify a face region in the main camera image by using parameter information related to the face region in the auxiliary camera image.
  • step S102 includes:
  • a face coordinate position in the auxiliary camera image is mapped into the main camera image by using a perspective correction algorithm to obtain the main camera.
  • a face coordinate position in the image adjusting an exposure amount at a face coordinate position in the main camera image until a face region in the main camera image is recognized by a face recognition algorithm; or
  • the exposure amount when the face region is recognized in the auxiliary camera image is used as a reference value, and is preset
  • the exposure amount of the main camera image is adjusted within the value range until the face region in the main camera image is recognized using a face recognition algorithm.
  • a second embodiment of the present invention is a method for face recognition for use in a mobile terminal including a main camera and a secondary camera; as shown in FIG. 2, the following specific steps are included:
  • Step S201 The backlight detection algorithm and the strong light detection algorithm are used to determine whether the secondary camera image is in a backlight scene or a strong light scene.
  • step S202 is performed.
  • Step S202 Adjust the exposure amount of the secondary camera image until the face region in the secondary camera image is recognized.
  • step S202 includes:
  • the exposure amount of the auxiliary camera image is gradually increased until the coordinate position of the human face in the auxiliary camera image can be recognized by using the face recognition algorithm;
  • the exposure amount of the secondary camera image is gradually reduced until the coordinate position of the face in the secondary camera image can be recognized by the face recognition algorithm.
  • the range of the exposure amount is roughly set to 25 exposure levels. For example, from the -12th exposure level to the 12th exposure level; if the auxiliary camera image is in a strong light scene, the exposure level is gradually increased from the 0 exposure level until the face recognition algorithm can be used to identify the face. The coordinate position in the camera image; if the auxiliary camera image is in a strong light scene, the exposure level is gradually reduced from the 0 exposure level until the coordinate position of the face in the auxiliary camera image can be recognized by the face recognition algorithm .
  • Step S203 Map a face coordinate position in the secondary camera image to the main camera image by using a perspective correction algorithm to obtain a face coordinate position in the main camera image.
  • Step S204 adjusting the exposure amount at the face coordinate position in the main camera image, To identify a face region in the main camera image using a face recognition algorithm.
  • Step S205 metering the main camera image according to the face region in the main camera image, obtaining an exposure amount required by the main camera image, and adjusting the main camera image according to the exposure amount.
  • step S205 includes:
  • a third embodiment of the present invention is a method for face recognition for use in a mobile terminal including a main camera and a secondary camera; as shown in FIG. 3, the following specific steps are included:
  • Step S301 The backlight detection algorithm and the strong light detection algorithm are used to determine whether the secondary camera image is in a backlight scene or a strong light scene.
  • step S302 is performed.
  • Step S302 Adjust the exposure amount of the secondary camera image until the face region in the secondary camera image is recognized.
  • step S302 includes:
  • the auxiliary camera adjusts an exposure amount of the auxiliary camera image by cyclically traversing a preset exposure table until a face region in the auxiliary camera image is recognized.
  • the preset exposure table includes a plurality of levels of exposure parameters, which are roughly set to 25 exposure levels compared to the range of values of the exposure amount of the second embodiment, the preset exposure table will be an exposure amount The range of values is divided into more precise exposure parameters.
  • Step S303 Synchronize the exposure parameters in the preset exposure table when the face region is recognized in the auxiliary camera image into the main camera image.
  • Step S304 using an exposure parameter in the preset exposure table, and the exposure parameter
  • the main camera image is adjusted by a preset number of front and rear (for example, five before and after) exposure parameters in the preset exposure table until the face region in the main camera image is recognized by the face recognition algorithm.
  • Step S305 metering the main camera image according to the face region in the main camera image, obtaining an exposure amount required by the main camera image, and adjusting the main camera image according to the exposure amount.
  • the step S305 includes:
  • a fourth embodiment of the present invention a device for recognizing a face, as shown in FIG. 4, includes the following components:
  • the auxiliary image recognition module 401 is configured to adjust an exposure amount of the auxiliary camera image until the face region in the auxiliary camera image is recognized;
  • the main image recognition module 402 is configured to recognize a face region in the main camera image by using parameter information related to a face region in the auxiliary camera image.
  • the auxiliary photo recognition module 401 is configured to:
  • auxiliary camera image is in the backlight scene, increasing the exposure amount of the secondary camera image until the face region in the secondary camera image is recognized by using a face recognition algorithm;
  • the exposure amount of the secondary camera image is reduced until the face region in the secondary camera image is recognized by the face recognition algorithm.
  • the main photo recognition module 402 is configured to:
  • the face coordinate position in the secondary camera image is mapped to the main camera image by using a perspective correction algorithm Adjusting the exposure amount at the face coordinate position in the main camera image until the face coordinate position in the main camera image is obtained, until the face in the main camera image is recognized by the face recognition algorithm Area; or,
  • the exposure amount when the face region is recognized in the auxiliary camera image is used as a reference value, and is preset
  • the exposure amount of the main camera image is adjusted within the value range until the face region in the main camera image is recognized using a face recognition algorithm.
  • a fifth embodiment of the present invention a device for recognizing a face, as shown in FIG. 5, includes:
  • the determining module 501 is configured to determine whether the secondary camera image is in a backlight scene or a strong light scene by using a backlight detection algorithm and a strong light detection algorithm. When the determination result is that the secondary camera image is in a backlight scene or a strong light scene, the auxiliary camera is triggered.
  • the auxiliary image recognition module 502 is configured to adjust an exposure amount of the auxiliary camera image until a face region in the auxiliary camera image is recognized;
  • the information synchronization module 503 is configured to map the face coordinate position in the secondary camera image to the main camera image by using a perspective correction algorithm to obtain a face coordinate position in the main camera image.
  • the main image recognition module 504 is configured to adjust an exposure amount at a face coordinate position in the main camera image until a face region in the main camera image is recognized by a face recognition algorithm.
  • auxiliary image recognition module 502 is configured to:
  • auxiliary camera image is in the backlight scene, increasing the exposure amount of the auxiliary camera image until the coordinate position of the human face in the auxiliary camera image can be recognized by using the face recognition algorithm;
  • the exposure amount of the secondary camera image is reduced until the coordinate position of the face in the secondary camera image can be recognized by the face recognition algorithm.
  • the range of the exposure amount is roughly set to 25 exposure levels; If the auxiliary camera image is in a strong light scene, the exposure level is gradually increased from the 0 exposure level until the coordinate position of the face in the auxiliary camera image can be recognized by the face recognition algorithm; if the auxiliary camera image In the glare scene, the exposure level is gradually reduced from the 0 exposure level until the coordinate position of the face in the auxiliary camera image can be recognized by the face recognition algorithm.
  • the device further includes: a photometry module 505 configured to perform photometry on the main camera image according to a face region in the main camera image to obtain an exposure required by the main camera image And adjusting the main camera image according to the exposure amount.
  • a photometry module 505 configured to perform photometry on the main camera image according to a face region in the main camera image to obtain an exposure required by the main camera image And adjusting the main camera image according to the exposure amount.
  • the photometry module 505 is configured to:
  • a sixth embodiment of the present invention a device for recognizing a face, as shown in FIG. 6, includes:
  • the determining module 601 is configured to determine whether the secondary camera image is in a backlight scene or a strong light scene by using a backlight detection algorithm and a strong light detection algorithm. When the determination result is that the secondary camera image is in a backlight scene or a strong light scene, the auxiliary camera is triggered. Identification module 602.
  • the auxiliary recognition module 602 is configured to adjust an exposure amount of the secondary camera image until a face region in the secondary camera image is recognized.
  • the main image recognition module 604 is configured to adjust the exposure parameter in the preset exposure table, and the exposure parameter adjusts the preset number of exposure parameters in the preset exposure table The main camera image until the face region in the main camera image is recognized using a face recognition algorithm.
  • auxiliary photo recognition module 602 is configured to:
  • the exposure amount of the secondary camera image is adjusted by looping through the preset exposure table until the face region in the secondary camera image is recognized.
  • the preset exposure table includes a plurality of levels of exposure parameters, which are roughly set to 25 exposure levels compared to the value range of the exposure amount with the fifth embodiment, the preset exposure table will be an exposure amount The range of values is divided into more precise exposure parameters.
  • the device further includes: a photometry module 605 configured to perform photometry on the main camera image according to a face region in the main camera image to obtain an exposure required by the main camera image And adjusting the main camera image according to the exposure amount.
  • a photometry module 605 configured to perform photometry on the main camera image according to a face region in the main camera image to obtain an exposure required by the main camera image And adjusting the main camera image according to the exposure amount.
  • the photometry module 605 is configured to:
  • a seventh embodiment of the present invention provides a mobile terminal, which includes the device for face recognition according to any one of the fourth to sixth embodiments of the present invention.
  • the method, device, mobile terminal and computer storage medium for face recognition solve the problem that a face recognition algorithm cannot be used to recognize a face region in a main camera image in a backlight scene or a glare scene.
  • different exposure strategies are used in the main camera and the auxiliary camera, and the auxiliary camera is used to adjust the exposure amount to help the main camera find the face region in the image.
  • Embodiments of the present invention can improve the range and recognition rate of a face in a main camera image under different exposure conditions.
  • the disclosed method and apparatus can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the modules is only a logical function division.
  • there may be another division manner for example, multiple modules or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the communication connections between the various components shown or discussed may be indirect coupling or communication connections through some interfaces, devices or modules, and may be electrical, mechanical or otherwise.
  • the modules described above as separate components may or may not be physically separated.
  • the components displayed as modules may or may not be physical modules, that is, may be located in one place or distributed to multiple network modules; Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may be separately used as one module, or two or more modules may be integrated into one module;
  • the module can be implemented in the form of hardware or in the form of hardware plus software function modules.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a removable storage device, a read-only memory (ROM), a magnetic disk or an optical disk, and the like, which can store program codes.
  • ROM read-only memory
  • the above-described integrated module of the embodiment of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a stand-alone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. Enabling a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods of the various embodiments of the present invention All or part.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disk.
  • the technical solution of the embodiment of the invention solves the problem that the face recognition algorithm cannot be used to recognize the face region in the main camera image in the backlight scene or the glare scene.
  • different exposure strategies are used in the main camera and the auxiliary camera, and the auxiliary camera is used to adjust the exposure amount to help the main camera find the face region in the image.
  • Embodiments of the present invention can improve the range and recognition rate of a face in a main camera image under different exposure conditions.

Abstract

Disclosed in the embodiments of the present invention are a face recognition method, apparatus, mobile terminal and computer storage medium, the method comprising: adjusting exposure of an auxiliary camera image until a face area in the auxiliary camera image is recognized; and recognizing a face area in a main camera image using parameter information related to the face area in the auxiliary camera image.

Description

一种人脸识别的方法、装置、移动终端及计算机存储介质Method, device, mobile terminal and computer storage medium for face recognition
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201610846382.9、申请日为2016年09月23日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is based on a Chinese patent application filed on Apr. 23, 2016, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明涉及拍摄技术领域,尤其涉及一种人脸识别的方法、装置、移动终端及计算机存储介质。The present invention relates to the field of photographing technology, and in particular, to a method and device for recognizing a face, a mobile terminal, and a computer storage medium.
背景技术Background technique
人脸识别算法在拍照、摄像中有广泛的应用,人脸识别算法可以根据图像中人脸的位置实时调整人脸位置的曝光策略,并根据图片中人脸的位置进行对焦,从而得到以人脸为主体的、更为自然的照片和影片。但是,对于一些特殊场景,例如在背光场景下拍摄的照片,由于背光的曝光策略会将过曝光部分压暗以至于照片中的人脸偏暗,从而导致人脸识别算法无法识别该特殊场景下的人脸,进而无法对人脸进行曝光和对焦优化。The face recognition algorithm has a wide range of applications in photographing and videography. The face recognition algorithm can adjust the exposure strategy of the face position in real time according to the position of the face in the image, and focus according to the position of the face in the picture, thereby obtaining the person. Face-oriented, more natural photos and movies. However, for some special scenes, such as photos taken in a backlit scene, the exposure strategy of the backlight will darken the overexposed portion so that the face in the photo is dark, resulting in the face recognition algorithm not recognizing the special scene. The face of the face, in turn, can not be exposed and focus optimized for the face.
发明内容Summary of the invention
本发明实施例期望提供一种人脸识别的方法、装置、移动终端及计算机存储介质,能够在任何拍摄场景中都能准确的识别出主摄像头图像中的人脸区域。Embodiments of the present invention are desirable to provide a method and apparatus for face recognition, a mobile terminal, and a computer storage medium capable of accurately recognizing a face region in a main camera image in any shooting scene.
本发明实施例提供了一种人脸识别的方法,应用于包括主摄像头和辅摄像头的移动终端中;包括: The embodiment of the invention provides a method for face recognition, which is applied to a mobile terminal including a main camera and a secondary camera;
调节辅摄像头图像的曝光量,直至识别出所述辅摄像头图像中的人脸区域;Adjusting an exposure amount of the auxiliary camera image until a face region in the auxiliary camera image is recognized;
利用与所述辅摄像头图像中的人脸区域相关的参数信息识别出主摄像头图像中的人脸区域。A face region in the main camera image is identified using parameter information associated with a face region in the secondary camera image.
在一实施例中,所述调节辅摄像头图像的曝光量,直至识别出所述辅摄像头图像中的人脸区域,包括:In an embodiment, the adjusting the exposure amount of the auxiliary camera image until the recognition of the face region in the auxiliary camera image comprises:
若所述辅摄像头图像处于背光场景中,则增加所述辅摄像头图像的曝光量,直至利用人脸识别算法识别出所述辅摄像头图像中的人脸区域;If the auxiliary camera image is in the backlight scene, increasing the exposure amount of the secondary camera image until the face region in the secondary camera image is recognized by using a face recognition algorithm;
若所述辅摄像头图像处于强光场景中,则减少所述辅摄像头图像的曝光量,直至利用人脸识别算法识别出所述辅摄像头图像中的人脸区域。If the secondary camera image is in a strong light scene, the exposure amount of the secondary camera image is reduced until the face region in the secondary camera image is recognized by the face recognition algorithm.
在一实施例中,所述参数信息,包括:所述辅摄像头图像中的人脸坐标位置或者在所述辅摄像头图像中识别出人脸区域时的曝光量。In an embodiment, the parameter information includes: a face coordinate position in the secondary camera image or an exposure amount when the face region is recognized in the secondary camera image.
在一实施例中,当所述参数信息为所述辅摄像头图像中的人脸坐标位置时,所述利用与所述辅摄像头图像中的人脸区域相关的参数信息识别出主摄像头图像中的人脸区域,包括:In an embodiment, when the parameter information is a face coordinate position in the secondary camera image, the parameter information related to the face region in the secondary camera image is used to identify the image in the main camera image. Face area, including:
利用视角矫正算法将所述辅摄像头图像中的人脸坐标位置映射到所述主摄像头图像中,得到所述主摄像头图像中的人脸坐标位置;Mapping a face coordinate position in the auxiliary camera image to the main camera image by using a perspective correction algorithm to obtain a face coordinate position in the main camera image;
调整所述主摄像头图像中的人脸坐标位置处的曝光量,直至利用人脸识别算法识别出所述主摄像头图像中的人脸区域。The exposure amount at the face coordinate position in the main camera image is adjusted until the face region in the main camera image is recognized using a face recognition algorithm.
在一实施例中,当所述参数信息为在所述辅摄像头图像中识别出人脸区域时的曝光量时,所述利用与所述辅摄像头图像中的人脸区域相关的参数信息识别出主摄像头图像中的人脸区域,包括:In an embodiment, when the parameter information is an exposure amount when a face region is recognized in the auxiliary camera image, the parameter information is identified by using parameter information related to a face region in the auxiliary camera image. The face area in the main camera image, including:
以在所述辅摄像头图像中识别出人脸区域时的曝光量为基准值,在预设的取值范围内调节所述主摄像头图像的曝光量,直至利用人脸识别算法识别出所述主摄像头图像中的人脸区域。 Adjusting an exposure amount of the main camera image within a preset value range by using an exposure amount when the face region is recognized in the auxiliary camera image as a reference value until the main recognition is performed by using a face recognition algorithm The face area in the camera image.
在一实施例中,所述方法还包括:In an embodiment, the method further includes:
根据所述主摄像头图像中的人脸区域对所述主摄像头图像进行测光,得到所述主摄像头图像所需的曝光量,并根据所述曝光量对所述主摄像头图像进行调节。And measuring the main camera image according to the face region in the main camera image, obtaining an exposure amount required by the main camera image, and adjusting the main camera image according to the exposure amount.
本发明实施例还提供了一种人脸识别的装置,包括:The embodiment of the invention further provides a device for recognizing a face, comprising:
辅摄识别模块,配置为调节辅摄像头图像的曝光量,直至识别出所述辅摄像头图像中的人脸区域;a secondary recognition module configured to adjust an exposure amount of the secondary camera image until a face region in the secondary camera image is recognized;
主摄识别模块,配置为利用与所述辅摄像头图像中的人脸区域相关的参数信息识别出主摄像头图像中的人脸区域。The main image recognition module is configured to recognize a face region in the main camera image by using parameter information related to a face region in the auxiliary camera image.
在一实施例中,所述辅摄识别模块,配置为:In an embodiment, the auxiliary recognition module is configured to:
若所述辅摄像头图像处于背光场景中,则增加所述辅摄像头图像的曝光量,直至利用人脸识别算法识别出所述辅摄像头图像中的人脸区域;If the auxiliary camera image is in the backlight scene, increasing the exposure amount of the secondary camera image until the face region in the secondary camera image is recognized by using a face recognition algorithm;
若所述辅摄像头图像处于强光场景中,则减少所述辅摄像头图像的曝光量,直至利用人脸识别算法识别出辅摄像头图像中的人脸区域。If the auxiliary camera image is in a strong light scene, the exposure amount of the secondary camera image is reduced until the face region in the secondary camera image is recognized by the face recognition algorithm.
在一实施例中,所述参数信息,包括:所述辅摄像头图像中的人脸坐标位置或者在所述辅摄像头图像中识别出人脸区域时的曝光量。In an embodiment, the parameter information includes: a face coordinate position in the secondary camera image or an exposure amount when the face region is recognized in the secondary camera image.
在一实施例中,当所述参数信息为所述辅摄像头图像中的人脸坐标位置时,所述主摄识别模块,配置为:In an embodiment, when the parameter information is a face coordinate position in the secondary camera image, the primary recognition module is configured to:
利用视角矫正算法将所述辅摄像头图像中的人脸坐标位置映射到所述主摄像头图像中,得到所述主摄像头图像中的人脸坐标位置;Mapping a face coordinate position in the auxiliary camera image to the main camera image by using a perspective correction algorithm to obtain a face coordinate position in the main camera image;
调整所述主摄像头图像中的人脸坐标位置处的曝光量,直至利用人脸识别算法识别出所述主摄像头图像中的人脸区域。The exposure amount at the face coordinate position in the main camera image is adjusted until the face region in the main camera image is recognized using a face recognition algorithm.
在一实施例中,当所述参数信息为在所述辅摄像头图像中识别出人脸区域时的曝光量时,所述主摄识别模块,配置为:In an embodiment, when the parameter information is an exposure amount when a face region is recognized in the auxiliary camera image, the main camera recognition module is configured to:
以在所述辅摄像头图像中识别出人脸区域时的曝光量为基准值,在预 设的取值范围内调节所述主摄像头图像的曝光量,直至利用人脸识别算法识别出所述主摄像头图像中的人脸区域。Taking the exposure amount when the face region is recognized in the auxiliary camera image as a reference value, in advance The exposure amount of the main camera image is adjusted within the set value range until the face region in the main camera image is recognized by the face recognition algorithm.
在一实施例中,所述装置还包括:In an embodiment, the apparatus further includes:
测光模块,配置为根据所述主摄像头图像中的人脸区域对所述主摄像头图像进行测光,得到所述主摄像头图像所需的曝光量,并根据所述曝光量对所述主摄像头图像进行调节。a photometry module configured to meter the main camera image according to a face region in the main camera image, obtain an exposure amount required by the main camera image, and compare the exposure amount to the main camera The image is adjusted.
本发明实施例还提供了一种移动终端,包括本发明实施例所述的人脸识别的装置。The embodiment of the invention further provides a mobile terminal, which comprises the device for face recognition according to the embodiment of the invention.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的人脸识别的方法。The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the method for face recognition according to the embodiment of the present invention.
本发明实施例的人脸识别的方法、装置、移动终端及计算机存储介质,解决了在背光场景或强光场景中,无法利用人脸识别算法识别出主摄像头图像中的人脸区域的问题。本发明实施例在主摄像头和辅摄像头内使用不同的曝光策略,利用辅摄像头调整曝光量,以帮助主摄像头找到图像中的人脸区域。本发明实施例可以提高在不同曝光条件下对主摄像头图像中的人脸进行识别的范围和识别率。The method, device, mobile terminal and computer storage medium for face recognition according to embodiments of the present invention solve the problem that a face recognition algorithm cannot be used to recognize a face region in a main camera image in a backlight scene or a glare scene. In the embodiment of the invention, different exposure strategies are used in the main camera and the auxiliary camera, and the auxiliary camera is used to adjust the exposure amount to help the main camera find the face region in the image. Embodiments of the present invention can improve the range and recognition rate of a face in a main camera image under different exposure conditions.
附图说明DRAWINGS
图1为本发明第一实施例的人脸识别的方法的流程图;1 is a flowchart of a method for face recognition according to a first embodiment of the present invention;
图2为本发明第二实施例的人脸识别的方法的流程图;2 is a flowchart of a method for face recognition according to a second embodiment of the present invention;
图3为本发明第三实施例的人脸识别的方法的流程图;3 is a flowchart of a method for face recognition according to a third embodiment of the present invention;
图4为本发明第四实施例的人脸识别的装置的组成结构示意图;4 is a schematic structural diagram of a device for a face recognition according to a fourth embodiment of the present invention;
图5为本发明第五实施例的人脸识别的装置的组成结构示意图;FIG. 5 is a schematic structural diagram of a device for a face recognition according to a fifth embodiment of the present invention; FIG.
图6为本发明第六实施例的人脸识别的装置的组成结构示意图。 FIG. 6 is a schematic diagram showing the structure of a device for face recognition according to a sixth embodiment of the present invention.
具体实施方式detailed description
为更进一步阐述本发明为达成预定目的所采取的技术手段及功效,以下结合附图及较佳实施例,对本发明进行详细说明如后。The present invention will be described in detail below with reference to the accompanying drawings and preferred embodiments.
本发明第一实施例,一种人脸识别的方法,用于包括主摄像头和辅摄像头的移动终端中;如图1所示,包括以下具体步骤:A first embodiment of the present invention is a method for face recognition, which is used in a mobile terminal including a main camera and a secondary camera; as shown in FIG. 1, the following specific steps are included:
步骤S101:调节辅摄像头图像的曝光量,直至识别出所述辅摄像头图像中的人脸区域。Step S101: Adjust the exposure amount of the secondary camera image until the face region in the secondary camera image is recognized.
具体的,步骤S101,包括:Specifically, step S101 includes:
若所述辅摄像头图像处于背光场景中,则增加所述辅摄像头图像的曝光量,直至利用人脸识别算法识别出所述辅摄像头图像中的人脸区域;If the auxiliary camera image is in the backlight scene, increasing the exposure amount of the secondary camera image until the face region in the secondary camera image is recognized by using a face recognition algorithm;
若所述辅摄像头图像处于强光场景中,则减少所述辅摄像头图像的曝光量,直至利用人脸识别算法识别出所述辅摄像头图像中的人脸区域。If the secondary camera image is in a strong light scene, the exposure amount of the secondary camera image is reduced until the face region in the secondary camera image is recognized by the face recognition algorithm.
步骤S102:利用与所述辅摄像头图像中的人脸区域相关的参数信息识别出主摄像头图像中的人脸区域。Step S102: Identify a face region in the main camera image by using parameter information related to the face region in the auxiliary camera image.
具体的,步骤S102,包括:Specifically, step S102 includes:
当所述参数信息为所述辅摄像头图像中的人脸坐标位置时,利用视角矫正算法将所述辅摄像头图像中的人脸坐标位置映射到所述主摄像头图像中,以得到所述主摄像头图像中的人脸坐标位置,调整所述主摄像头图像中的人脸坐标位置处的曝光量,直至利用人脸识别算法识别出所述主摄像头图像中的人脸区域;或者,When the parameter information is a face coordinate position in the auxiliary camera image, a face coordinate position in the auxiliary camera image is mapped into the main camera image by using a perspective correction algorithm to obtain the main camera. a face coordinate position in the image, adjusting an exposure amount at a face coordinate position in the main camera image until a face region in the main camera image is recognized by a face recognition algorithm; or
当所述参数信息为在所述辅摄像头图像中识别出人脸区域时的曝光量时,以在所述辅摄像头图像中识别出人脸区域时的曝光量为基准值,在预设的取值范围内调节所述主摄像头图像的曝光量,直至利用人脸识别算法识别出所述主摄像头图像中的人脸区域。 When the parameter information is an exposure amount when the face region is recognized in the auxiliary camera image, the exposure amount when the face region is recognized in the auxiliary camera image is used as a reference value, and is preset The exposure amount of the main camera image is adjusted within the value range until the face region in the main camera image is recognized using a face recognition algorithm.
本发明第二实施例,一种人脸识别的方法,用于包括主摄像头和辅摄像头的移动终端中;如图2所示,包括以下具体步骤:A second embodiment of the present invention is a method for face recognition for use in a mobile terminal including a main camera and a secondary camera; as shown in FIG. 2, the following specific steps are included:
步骤S201:利用背光检测算法和强光检测算法判断辅摄像头图像是否处于背光场景或强光场景中,当判断结果为辅摄像头图像处于背光场景或强光场景中时,则执行步骤S202。Step S201: The backlight detection algorithm and the strong light detection algorithm are used to determine whether the secondary camera image is in a backlight scene or a strong light scene. When the determination result is that the secondary camera image is in a backlight scene or a strong light scene, step S202 is performed.
步骤S202:调节所述辅摄像头图像的曝光量,直至识别出所述辅摄像头图像中的人脸区域。Step S202: Adjust the exposure amount of the secondary camera image until the face region in the secondary camera image is recognized.
具体的,步骤S202,包括:Specifically, step S202 includes:
若所述辅摄像头图像处于背光场景中,则逐渐增加所述辅摄像头图像的曝光量,直至利用人脸识别算法可以识别到人脸在所述辅摄像头图像中的坐标位置;If the auxiliary camera image is in the backlight scene, the exposure amount of the auxiliary camera image is gradually increased until the coordinate position of the human face in the auxiliary camera image can be recognized by using the face recognition algorithm;
若所述辅摄像头图像处于强光场景中,则逐渐减少所述辅摄像头图像的曝光量,直至利用人脸识别算法可以识别到人脸在所述辅摄像头图像中的坐标位置。If the auxiliary camera image is in a strong light scene, the exposure amount of the secondary camera image is gradually reduced until the coordinate position of the face in the secondary camera image can be recognized by the face recognition algorithm.
作为一种实施方式,由于只需得到人脸在辅摄像头中的坐标位置,而不需要精确了解辅摄像头的最佳曝光量,所以将曝光量的取值范围粗略的设置为25个曝光档次,例如从第-12曝光档次到第12曝光档次;若所述辅摄像头图像处于强光场景中,则从0曝光档次开始,逐渐增加曝光档次,直至可以利用人脸识别算法识别到人脸在辅摄像头图像中的坐标位置;若所述辅摄像头图像处于强光场景中,则从0曝光档次开始,逐渐减少曝光档次,直至可以利用人脸识别算法识别到人脸在辅摄像头图像中的坐标位置。As an implementation manner, since it is only necessary to obtain the coordinate position of the face in the auxiliary camera, and it is not necessary to accurately know the optimal exposure amount of the auxiliary camera, the range of the exposure amount is roughly set to 25 exposure levels. For example, from the -12th exposure level to the 12th exposure level; if the auxiliary camera image is in a strong light scene, the exposure level is gradually increased from the 0 exposure level until the face recognition algorithm can be used to identify the face. The coordinate position in the camera image; if the auxiliary camera image is in a strong light scene, the exposure level is gradually reduced from the 0 exposure level until the coordinate position of the face in the auxiliary camera image can be recognized by the face recognition algorithm .
步骤S203:利用视角矫正算法将所述辅摄像头图像中的人脸坐标位置映射到所述主摄像头图像中,得到所述主摄像头图像中的人脸坐标位置。Step S203: Map a face coordinate position in the secondary camera image to the main camera image by using a perspective correction algorithm to obtain a face coordinate position in the main camera image.
步骤S204:调整所述主摄像头图像中的人脸坐标位置处的曝光量,直 至利用人脸识别算法识别出所述主摄像头图像中的人脸区域。Step S204: adjusting the exposure amount at the face coordinate position in the main camera image, To identify a face region in the main camera image using a face recognition algorithm.
步骤S205:根据所述主摄像头图像中的人脸区域对所述主摄像头图像进行测光,得到所述主摄像头图像所需的曝光量,并根据所述曝光量对所述主摄像头图像进行调节。Step S205: metering the main camera image according to the face region in the main camera image, obtaining an exposure amount required by the main camera image, and adjusting the main camera image according to the exposure amount. .
具体的,步骤S205,包括:Specifically, step S205 includes:
以所述主摄像头图像中的人脸区域的亮度为主,兼顾所述主摄像头图像中的其他区域的亮度,按照权重测光算法得到所述主摄像头图像所需的曝光量,并根据所述曝光量对所述主摄像头图像进行调节,再利用人脸识别算法对调节曝光量后的主摄像头图像进行人脸识别。Taking the brightness of the face region in the main camera image as the main focus, taking into account the brightness of other regions in the main camera image, obtaining the exposure amount required by the main camera image according to the weight metering algorithm, and according to the The exposure amount is adjusted on the main camera image, and the face recognition algorithm is used to perform face recognition on the main camera image after adjusting the exposure amount.
本发明第三实施例,一种人脸识别的方法,用于包括主摄像头和辅摄像头的移动终端中;如图3所示,包括以下具体步骤:A third embodiment of the present invention is a method for face recognition for use in a mobile terminal including a main camera and a secondary camera; as shown in FIG. 3, the following specific steps are included:
步骤S301:利用背光检测算法和强光检测算法判断辅摄像头图像是否处于背光场景或强光场景中,当判断结果为辅摄像头图像处于背光场景或强光场景中时,则执行步骤S302。Step S301: The backlight detection algorithm and the strong light detection algorithm are used to determine whether the secondary camera image is in a backlight scene or a strong light scene. When the determination result is that the secondary camera image is in a backlight scene or a strong light scene, step S302 is performed.
步骤S302:调节所述辅摄像头图像的曝光量,直至识别出所述辅摄像头图像中的人脸区域。Step S302: Adjust the exposure amount of the secondary camera image until the face region in the secondary camera image is recognized.
具体的,步骤S302,包括:Specifically, step S302 includes:
所述辅摄像头通过循环遍历预设的曝光表,调整所述辅摄像头图像的曝光量,直至识别出所述辅摄像头图像中的人脸区域。The auxiliary camera adjusts an exposure amount of the auxiliary camera image by cyclically traversing a preset exposure table until a face region in the auxiliary camera image is recognized.
所述预设的曝光表包括多个级别的曝光参数,相比与第二实施例的将曝光量的取值范围粗略的设置为25个曝光档次,所述预设的曝光表将曝光量的取值范围划分为更为精确的曝光参数。The preset exposure table includes a plurality of levels of exposure parameters, which are roughly set to 25 exposure levels compared to the range of values of the exposure amount of the second embodiment, the preset exposure table will be an exposure amount The range of values is divided into more precise exposure parameters.
步骤S303:将在所述辅摄像头图像中识别出人脸区域时的所述预设的曝光表中的曝光参数同步到主摄像头图像中。Step S303: Synchronize the exposure parameters in the preset exposure table when the face region is recognized in the auxiliary camera image into the main camera image.
步骤S304:利用所述预设的曝光表中的曝光参数,以及所述曝光参数 在所述预设的曝光表中的前后预设数量(例如前后各五个)曝光参数调节所述主摄像头图像,直至利用人脸识别算法识别出主摄像头图像中的人脸区域。Step S304: using an exposure parameter in the preset exposure table, and the exposure parameter The main camera image is adjusted by a preset number of front and rear (for example, five before and after) exposure parameters in the preset exposure table until the face region in the main camera image is recognized by the face recognition algorithm.
步骤S305:根据所述主摄像头图像中的人脸区域对所述主摄像头图像进行测光,得到所述主摄像头图像所需的曝光量,并根据所述曝光量对所述主摄像头图像进行调节。Step S305: metering the main camera image according to the face region in the main camera image, obtaining an exposure amount required by the main camera image, and adjusting the main camera image according to the exposure amount. .
具体的,所述步骤S305,包括:Specifically, the step S305 includes:
以所述主摄像头图像中的人脸区域的亮度为主,兼顾所述主摄像头图像中的其他区域的亮度,按照权重测光算法得到所述主摄像头图像所需的曝光量,并根据所述曝光量对所述主摄像头图像进行调节,再利用人脸识别算法对调节曝光量后的主摄像头图像进行人脸识别。Taking the brightness of the face region in the main camera image as the main focus, taking into account the brightness of other regions in the main camera image, obtaining the exposure amount required by the main camera image according to the weight metering algorithm, and according to the The exposure amount is adjusted on the main camera image, and the face recognition algorithm is used to perform face recognition on the main camera image after adjusting the exposure amount.
本发明第四实施例,一种人脸识别的装置,如图4所示,包括以下组成部分:A fourth embodiment of the present invention, a device for recognizing a face, as shown in FIG. 4, includes the following components:
辅摄识别模块401,配置为调节辅摄像头图像的曝光量,直至识别出所述辅摄像头图像中的人脸区域;The auxiliary image recognition module 401 is configured to adjust an exposure amount of the auxiliary camera image until the face region in the auxiliary camera image is recognized;
主摄识别模块402,配置为利用与所述辅摄像头图像中的人脸区域相关的参数信息识别出主摄像头图像中的人脸区域。The main image recognition module 402 is configured to recognize a face region in the main camera image by using parameter information related to a face region in the auxiliary camera image.
具体的,所述辅摄识别模块401,配置为:Specifically, the auxiliary photo recognition module 401 is configured to:
若所述辅摄像头图像处于背光场景中,则增加所述辅摄像头图像的曝光量,直至利用人脸识别算法识别出所述辅摄像头图像中的人脸区域;If the auxiliary camera image is in the backlight scene, increasing the exposure amount of the secondary camera image until the face region in the secondary camera image is recognized by using a face recognition algorithm;
若所述辅摄像头图像处于强光场景中,则减少所述辅摄像头图像的曝光量,直至利用人脸识别算法识别出所述辅摄像头图像中的人脸区域。If the secondary camera image is in a strong light scene, the exposure amount of the secondary camera image is reduced until the face region in the secondary camera image is recognized by the face recognition algorithm.
具体的,主摄识别模块402,配置为:Specifically, the main photo recognition module 402 is configured to:
当所述参数信息为所述辅摄像头图像中的人脸坐标位置时,利用视角矫正算法将所述辅摄像头图像中的人脸坐标位置映射到所述主摄像头图像 中,以得到所述主摄像头图像中的人脸坐标位置,调整所述主摄像头图像中的人脸坐标位置处的曝光量,直至利用人脸识别算法识别出所述主摄像头图像中的人脸区域;或者,When the parameter information is a face coordinate position in the auxiliary camera image, the face coordinate position in the secondary camera image is mapped to the main camera image by using a perspective correction algorithm Adjusting the exposure amount at the face coordinate position in the main camera image until the face coordinate position in the main camera image is obtained, until the face in the main camera image is recognized by the face recognition algorithm Area; or,
当所述参数信息为在所述辅摄像头图像中识别出人脸区域时的曝光量时,以在所述辅摄像头图像中识别出人脸区域时的曝光量为基准值,在预设的取值范围内调节所述主摄像头图像的曝光量,直至利用人脸识别算法识别出所述主摄像头图像中的人脸区域。When the parameter information is an exposure amount when the face region is recognized in the auxiliary camera image, the exposure amount when the face region is recognized in the auxiliary camera image is used as a reference value, and is preset The exposure amount of the main camera image is adjusted within the value range until the face region in the main camera image is recognized using a face recognition algorithm.
本发明第五实施例,一种人脸识别的装置,如图5所示,包括:A fifth embodiment of the present invention, a device for recognizing a face, as shown in FIG. 5, includes:
判断模块501,配置为利用背光检测算法和强光检测算法判断辅摄像头图像是否处于背光场景或强光场景中,当判断结果为辅摄像头图像处于背光场景或强光场景中时,则触发辅摄识别模块502;The determining module 501 is configured to determine whether the secondary camera image is in a backlight scene or a strong light scene by using a backlight detection algorithm and a strong light detection algorithm. When the determination result is that the secondary camera image is in a backlight scene or a strong light scene, the auxiliary camera is triggered. Identification module 502;
辅摄识别模块502,配置为调节所述辅摄像头图像的曝光量,直至识别出所述辅摄像头图像中的人脸区域;The auxiliary image recognition module 502 is configured to adjust an exposure amount of the auxiliary camera image until a face region in the auxiliary camera image is recognized;
信息同步模块503,配置为利用视角矫正算法将所述辅摄像头图像中的人脸坐标位置映射到主摄像头图像中,得到所述主摄像头图像中的人脸坐标位置。The information synchronization module 503 is configured to map the face coordinate position in the secondary camera image to the main camera image by using a perspective correction algorithm to obtain a face coordinate position in the main camera image.
主摄识别模块504,配置为调整所述主摄像头图像中的人脸坐标位置处的曝光量,直至利用人脸识别算法识别出所述主摄像头图像中的人脸区域。The main image recognition module 504 is configured to adjust an exposure amount at a face coordinate position in the main camera image until a face region in the main camera image is recognized by a face recognition algorithm.
具体的,所述辅摄识别模块502,配置为:Specifically, the auxiliary image recognition module 502 is configured to:
若所述辅摄像头图像处于背光场景中,则增加所述辅摄像头图像的曝光量,直至利用人脸识别算法可以识别到人脸在所述辅摄像头图像中的坐标位置;If the auxiliary camera image is in the backlight scene, increasing the exposure amount of the auxiliary camera image until the coordinate position of the human face in the auxiliary camera image can be recognized by using the face recognition algorithm;
若所述辅摄像头图像处于强光场景中,则减少所述辅摄像头图像的曝光量,直至利用人脸识别算法可以识别到人脸在所述辅摄像头图像中的坐标位置。 If the auxiliary camera image is in a highlight scene, the exposure amount of the secondary camera image is reduced until the coordinate position of the face in the secondary camera image can be recognized by the face recognition algorithm.
作为一种实施方式,由于只需得到人脸在辅摄像头中的坐标位置,而不需要精确了解辅摄像头的最佳曝光量,所以将曝光量的取值范围粗略的设置为25个曝光档次;若所述辅摄像头图像处于强光场景中,则从0曝光档次开始,逐渐增加曝光档次,直至可以利用人脸识别算法识别到人脸在辅摄像头图像中的坐标位置;若所述辅摄像头图像处于强光场景中,则从0曝光档次开始,逐渐减少曝光档次,直至可以利用人脸识别算法识别到人脸在辅摄像头图像中的坐标位置。As an implementation manner, since only the coordinate position of the face in the auxiliary camera is obtained, and the optimal exposure amount of the auxiliary camera is not required to be accurately understood, the range of the exposure amount is roughly set to 25 exposure levels; If the auxiliary camera image is in a strong light scene, the exposure level is gradually increased from the 0 exposure level until the coordinate position of the face in the auxiliary camera image can be recognized by the face recognition algorithm; if the auxiliary camera image In the glare scene, the exposure level is gradually reduced from the 0 exposure level until the coordinate position of the face in the auxiliary camera image can be recognized by the face recognition algorithm.
作为一种实施方式,所述装置还包括:测光模块505,配置为根据所述主摄像头图像中的人脸区域对所述主摄像头图像进行测光,得到所述主摄像头图像所需的曝光量,并根据所述曝光量对所述主摄像头图像进行调节。As an embodiment, the device further includes: a photometry module 505 configured to perform photometry on the main camera image according to a face region in the main camera image to obtain an exposure required by the main camera image And adjusting the main camera image according to the exposure amount.
具体的,测光模块505,配置为:Specifically, the photometry module 505 is configured to:
以所述主摄像头图像中的人脸区域的亮度为主,兼顾所述主摄像头图像中的其他区域的亮度,按照权重测光算法得到所述主摄像头图像所需的曝光量,并根据所述曝光量对所述主摄像头图像进行调节,再利用人脸识别算法对调节曝光量后的主摄像头图像进行人脸识别。Taking the brightness of the face region in the main camera image as the main focus, taking into account the brightness of other regions in the main camera image, obtaining the exposure amount required by the main camera image according to the weight metering algorithm, and according to the The exposure amount is adjusted on the main camera image, and the face recognition algorithm is used to perform face recognition on the main camera image after adjusting the exposure amount.
本发明第六实施例,一种人脸识别的装置,如图6所示,包括:A sixth embodiment of the present invention, a device for recognizing a face, as shown in FIG. 6, includes:
判断模块601,配置为利用背光检测算法和强光检测算法判断辅摄像头图像是否处于背光场景或强光场景中,当判断结果为辅摄像头图像处于背光场景或强光场景中时,则触发辅摄识别模块602。The determining module 601 is configured to determine whether the secondary camera image is in a backlight scene or a strong light scene by using a backlight detection algorithm and a strong light detection algorithm. When the determination result is that the secondary camera image is in a backlight scene or a strong light scene, the auxiliary camera is triggered. Identification module 602.
辅摄识别模块602,配置为调节所述辅摄像头图像的曝光量,直至识别出所述辅摄像头图像中的人脸区域。The auxiliary recognition module 602 is configured to adjust an exposure amount of the secondary camera image until a face region in the secondary camera image is recognized.
信息同步模块603,配置为将在所述辅摄像头图像中识别出人脸区域时的预设的曝光表中的曝光参数同步到主摄像头图像中。The information synchronization module 603 is configured to synchronize the exposure parameters in the preset exposure table when the face region is recognized in the secondary camera image into the main camera image.
主摄识别模块604,配置为利用所述预设的曝光表中的曝光参数,以及所述曝光参数在所述预设的曝光表中的前后预设数量的曝光参数调节所述 主摄像头图像,直至利用人脸识别算法识别出所述主摄像头图像中的人脸区域。The main image recognition module 604 is configured to adjust the exposure parameter in the preset exposure table, and the exposure parameter adjusts the preset number of exposure parameters in the preset exposure table The main camera image until the face region in the main camera image is recognized using a face recognition algorithm.
具体的,所述辅摄识别模块602,配置为:Specifically, the auxiliary photo recognition module 602 is configured to:
通过循环遍历预设的曝光表,调整所述辅摄像头图像的曝光量,直至识别出所述辅摄像头图像中的人脸区域。The exposure amount of the secondary camera image is adjusted by looping through the preset exposure table until the face region in the secondary camera image is recognized.
所述预设的曝光表包括多个级别的曝光参数,相比与第五实施例的将曝光量的取值范围粗略的设置为25个曝光档次,所述预设的曝光表将曝光量的取值范围划分为更为精确的曝光参数。The preset exposure table includes a plurality of levels of exposure parameters, which are roughly set to 25 exposure levels compared to the value range of the exposure amount with the fifth embodiment, the preset exposure table will be an exposure amount The range of values is divided into more precise exposure parameters.
作为一种实施方式,所述装置还包括:测光模块605,配置为根据所述主摄像头图像中的人脸区域对所述主摄像头图像进行测光,得到所述主摄像头图像所需的曝光量,并根据所述曝光量对所述主摄像头图像进行调节。As an embodiment, the device further includes: a photometry module 605 configured to perform photometry on the main camera image according to a face region in the main camera image to obtain an exposure required by the main camera image And adjusting the main camera image according to the exposure amount.
具体的,测光模块605,配置为:Specifically, the photometry module 605 is configured to:
以所述主摄像头图像中的人脸区域的亮度为主,兼顾所述主摄像头图像中的其他区域的亮度,按照权重测光算法得到所述主摄像头图像所需的曝光量,并根据所述曝光量对所述主摄像头图像进行调节,再利用人脸识别算法对调节曝光量后的所述主摄像头图像进行人脸识别。Taking the brightness of the face region in the main camera image as the main focus, taking into account the brightness of other regions in the main camera image, obtaining the exposure amount required by the main camera image according to the weight metering algorithm, and according to the The exposure amount is adjusted to the main camera image, and the face recognition algorithm is used to perform face recognition on the main camera image after adjusting the exposure amount.
本发明第七实施例提供了一种移动终端,所述移动终端包括本发明第四实施例至第六实施例中任一实施例所述的人脸识别的装置。A seventh embodiment of the present invention provides a mobile terminal, which includes the device for face recognition according to any one of the fourth to sixth embodiments of the present invention.
本发明实施例的人脸识别的方法、装置、移动终端及计算机存储介质,解决了在背光场景或强光场景中,无法利用人脸识别算法识别出主摄像头图像中的人脸区域的问题。本发明实施例在主摄像头和辅摄像头内使用不同的曝光策略,利用辅摄像头调整曝光量,以帮助主摄像头找到图像中的人脸区域。本发明实施例可以提高在不同曝光条件下对主摄像头图像中的人脸进行识别的范围和识别率。The method, device, mobile terminal and computer storage medium for face recognition according to embodiments of the present invention solve the problem that a face recognition algorithm cannot be used to recognize a face region in a main camera image in a backlight scene or a glare scene. In the embodiment of the invention, different exposure strategies are used in the main camera and the auxiliary camera, and the auxiliary camera is used to adjust the exposure amount to help the main camera find the face region in the image. Embodiments of the present invention can improve the range and recognition rate of a face in a main camera image under different exposure conditions.
在本发明所提供的几个实施例中,应该理解到,所揭露的方法及装置, 可以通过其他的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个模块或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的通信连接可以是通过一些接口,设备或模块的间接耦合或通信连接,可以是电性的、机械的或其他形式的。In the several embodiments provided by the present invention, it should be understood that the disclosed method and apparatus, It can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be another division manner, for example, multiple modules or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed. In addition, the communication connections between the various components shown or discussed may be indirect coupling or communication connections through some interfaces, devices or modules, and may be electrical, mechanical or otherwise.
上述作为分离部件说明的模块可以是、或也可以不是物理上分开的,作为模块显示的部件可以是、或也可以不是物理模块,即可以位于一个地方,也可以分布到多个网络模块上;可以根据实际的需要选择其中的部分或全部模块来实现本实施例方案的目的。The modules described above as separate components may or may not be physically separated. The components displayed as modules may or may not be physical modules, that is, may be located in one place or distributed to multiple network modules; Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能模块可以全部集成在一个处理模块中,也可以是各模块分别单独作为一个模块,也可以两个或两个以上模块集成在一个模块中;上述集成的模块既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may be separately used as one module, or two or more modules may be integrated into one module; The module can be implemented in the form of hardware or in the form of hardware plus software function modules.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。It will be understood by those skilled in the art that all or part of the steps of implementing the foregoing method embodiments may be performed by hardware related to program instructions. The foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a removable storage device, a read-only memory (ROM), a magnetic disk or an optical disk, and the like, which can store program codes.
或者,本发明实施例上述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的 全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, the above-described integrated module of the embodiment of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a stand-alone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. Enabling a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods of the various embodiments of the present invention All or part. The foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disk.
本发明实施例中记载的存储器切换方法、装置只以上述实施例为例,但不仅限于此,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。The memory switching method and apparatus described in the embodiments of the present invention are only exemplified by the foregoing embodiments, but are not limited thereto, and those skilled in the art should understand that the technical solutions described in the foregoing embodiments may still be modified. Equivalent replacement of some or all of the technical features may be made without departing from the scope of the technical solutions of the embodiments of the present invention.
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明实施例的技术方案解决了在背光场景或强光场景中,无法利用人脸识别算法识别出主摄像头图像中的人脸区域的问题。本发明实施例在主摄像头和辅摄像头内使用不同的曝光策略,利用辅摄像头调整曝光量,以帮助主摄像头找到图像中的人脸区域。本发明实施例可以提高在不同曝光条件下对主摄像头图像中的人脸进行识别的范围和识别率。 The technical solution of the embodiment of the invention solves the problem that the face recognition algorithm cannot be used to recognize the face region in the main camera image in the backlight scene or the glare scene. In the embodiment of the invention, different exposure strategies are used in the main camera and the auxiliary camera, and the auxiliary camera is used to adjust the exposure amount to help the main camera find the face region in the image. Embodiments of the present invention can improve the range and recognition rate of a face in a main camera image under different exposure conditions.

Claims (14)

  1. 一种人脸识别的方法,应用于包括主摄像头和辅摄像头的移动终端中;包括:A method for face recognition is applied to a mobile terminal including a main camera and a secondary camera;
    调节辅摄像头图像的曝光量,直至识别出所述辅摄像头图像中的人脸区域;Adjusting an exposure amount of the auxiliary camera image until a face region in the auxiliary camera image is recognized;
    利用与所述辅摄像头图像中的人脸区域相关的参数信息识别出主摄像头图像中的人脸区域。A face region in the main camera image is identified using parameter information associated with a face region in the secondary camera image.
  2. 根据权利要求1所述的方法,其中,所述调节辅摄像头图像的曝光量,直至识别出所述辅摄像头图像中的人脸区域,包括:The method of claim 1, wherein the adjusting the exposure amount of the secondary camera image until the recognition of the face region in the secondary camera image comprises:
    若所述辅摄像头图像处于背光场景中,则增加所述辅摄像头图像的曝光量,直至利用人脸识别算法识别出所述辅摄像头图像中的人脸区域;If the auxiliary camera image is in the backlight scene, increasing the exposure amount of the secondary camera image until the face region in the secondary camera image is recognized by using a face recognition algorithm;
    若所述辅摄像头图像处于强光场景中,则减少所述辅摄像头图像的曝光量,直至利用人脸识别算法识别出所述辅摄像头图像中的人脸区域。If the secondary camera image is in a strong light scene, the exposure amount of the secondary camera image is reduced until the face region in the secondary camera image is recognized by the face recognition algorithm.
  3. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    所述参数信息,包括:所述辅摄像头图像中的人脸坐标位置或者在所述辅摄像头图像中识别出人脸区域时的曝光量。The parameter information includes: a face coordinate position in the secondary camera image or an exposure amount when the face region is recognized in the secondary camera image.
  4. 根据权利要求3所述的方法,其中,当所述参数信息为所述辅摄像头图像中的人脸坐标位置时,所述利用与所述辅摄像头图像中的人脸区域相关的参数信息识别出主摄像头图像中的人脸区域,包括:The method according to claim 3, wherein when said parameter information is a face coordinate position in said secondary camera image, said identifying is performed using parameter information related to a face region in said secondary camera image The face area in the main camera image, including:
    利用视角矫正算法将所述辅摄像头图像中的人脸坐标位置映射到所述主摄像头图像中,得到所述主摄像头图像中的人脸坐标位置;Mapping a face coordinate position in the auxiliary camera image to the main camera image by using a perspective correction algorithm to obtain a face coordinate position in the main camera image;
    调整所述主摄像头图像中的人脸坐标位置处的曝光量,直至利用人脸识别算法识别出所述主摄像头图像中的人脸区域。The exposure amount at the face coordinate position in the main camera image is adjusted until the face region in the main camera image is recognized using a face recognition algorithm.
  5. 根据权利要求3所述的方法,其中,当所述参数信息为在所述辅摄像头图像中识别出人脸区域时的曝光量时,所述利用与所述辅摄像头图像 中的人脸区域相关的参数信息识别出主摄像头图像中的人脸区域,包括:The method according to claim 3, wherein said utilization and said auxiliary camera image are when said parameter information is an exposure amount when a face region is recognized in said secondary camera image The parameter information related to the face region in the middle identifies the face region in the main camera image, including:
    以在所述辅摄像头图像中识别出人脸区域时的曝光量为基准值,在预设的取值范围内调节所述主摄像头图像的曝光量,直至利用人脸识别算法识别出所述主摄像头图像中的人脸区域。Adjusting an exposure amount of the main camera image within a preset value range by using an exposure amount when the face region is recognized in the auxiliary camera image as a reference value until the main recognition is performed by using a face recognition algorithm The face area in the camera image.
  6. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    根据所述主摄像头图像中的人脸区域对所述主摄像头图像进行测光,得到所述主摄像头图像所需的曝光量,并根据所述曝光量对所述主摄像头图像进行调节。And measuring the main camera image according to the face region in the main camera image, obtaining an exposure amount required by the main camera image, and adjusting the main camera image according to the exposure amount.
  7. 一种人脸识别的装置,包括:A device for face recognition, comprising:
    辅摄识别模块,配置为调节辅摄像头图像的曝光量,直至识别出所述辅摄像头图像中的人脸区域;a secondary recognition module configured to adjust an exposure amount of the secondary camera image until a face region in the secondary camera image is recognized;
    主摄识别模块,配置为利用与所述辅摄像头图像中的人脸区域相关的参数信息识别出主摄像头图像中的人脸区域。The main image recognition module is configured to recognize a face region in the main camera image by using parameter information related to a face region in the auxiliary camera image.
  8. 根据权利要求7所述的装置,其中,所述辅摄识别模块,配置为:The apparatus according to claim 7, wherein the auxiliary recognition module is configured to:
    若所述辅摄像头图像处于背光场景中,则增加所述辅摄像头图像的曝光量,直至利用人脸识别算法识别出所述辅摄像头图像中的人脸区域;If the auxiliary camera image is in the backlight scene, increasing the exposure amount of the secondary camera image until the face region in the secondary camera image is recognized by using a face recognition algorithm;
    若所述辅摄像头图像处于强光场景中,则减少所述辅摄像头图像的曝光量,直至利用人脸识别算法识别出所述辅摄像头图像中的人脸区域。If the secondary camera image is in a strong light scene, the exposure amount of the secondary camera image is reduced until the face region in the secondary camera image is recognized by the face recognition algorithm.
  9. 根据权利要求7所述的装置,其中,The apparatus according to claim 7, wherein
    所述参数信息,包括:所述辅摄像头图像中的人脸坐标位置或者在所述辅摄像头图像中识别出人脸区域时的曝光量。The parameter information includes: a face coordinate position in the secondary camera image or an exposure amount when the face region is recognized in the secondary camera image.
  10. 根据权利要求9所述的装置,其中,当所述参数信息为所述辅摄像头图像中的人脸坐标位置时,所述主摄识别模块,配置为:The apparatus according to claim 9, wherein when the parameter information is a face coordinate position in the secondary camera image, the primary recognition module is configured to:
    利用视角矫正算法将所述辅摄像头图像中的人脸坐标位置映射到所述主摄像头图像中,得到所述主摄像头图像中的人脸坐标位置; Mapping a face coordinate position in the auxiliary camera image to the main camera image by using a perspective correction algorithm to obtain a face coordinate position in the main camera image;
    调整所述主摄像头图像中的人脸坐标位置处的曝光量,直至利用人脸识别算法识别出所述主摄像头图像中的人脸区域。The exposure amount at the face coordinate position in the main camera image is adjusted until the face region in the main camera image is recognized using a face recognition algorithm.
  11. 根据权利要求9所述的装置,其中,当所述参数信息为在所述辅摄像头图像中识别出人脸区域时的曝光量时,所述主摄识别模块,配置为:The apparatus according to claim 9, wherein when the parameter information is an exposure amount when a face area is recognized in the auxiliary camera image, the main picture recognition module is configured to:
    以在所述辅摄像头图像中识别出人脸区域时的曝光量为基准值,在预设的取值范围内调节所述主摄像头图像的曝光量,直至利用人脸识别算法识别出所述主摄像头图像中的人脸区域。Adjusting an exposure amount of the main camera image within a preset value range by using an exposure amount when the face region is recognized in the auxiliary camera image as a reference value until the main recognition is performed by using a face recognition algorithm The face area in the camera image.
  12. 根据权利要求7所述的装置,其中,所述装置还包括:The apparatus of claim 7 wherein said apparatus further comprises:
    测光模块,配置为根据所述主摄像头图像中的人脸区域对所述主摄像头图像进行测光,得到所述主摄像头图像所需的曝光量,并根据所述曝光量对所述主摄像头图像进行调节。a photometry module configured to meter the main camera image according to a face region in the main camera image, obtain an exposure amount required by the main camera image, and compare the exposure amount to the main camera The image is adjusted.
  13. 一种移动终端,包括权利要求7至12中任一项所述的人脸识别的装置。A mobile terminal comprising the device for face recognition according to any one of claims 7 to 12.
  14. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至6任一项所述的人脸识别的方法。 A computer storage medium storing computer executable instructions for performing the method of face recognition according to any one of claims 1 to 6.
PCT/CN2017/082055 2016-09-23 2017-04-26 Face recognition method, apparatus, mobile terminal and computer storage medium WO2018054054A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610846382.9A CN107872613A (en) 2016-09-23 2016-09-23 A kind of method, device and mobile terminal that recognition of face is carried out using dual camera
CN201610846382.9 2016-09-23

Publications (1)

Publication Number Publication Date
WO2018054054A1 true WO2018054054A1 (en) 2018-03-29

Family

ID=61689335

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/082055 WO2018054054A1 (en) 2016-09-23 2017-04-26 Face recognition method, apparatus, mobile terminal and computer storage medium

Country Status (2)

Country Link
CN (1) CN107872613A (en)
WO (1) WO2018054054A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2558393A (en) * 2016-11-16 2018-07-11 Motorola Mobility Llc Backlift face detection
CN109919866A (en) * 2019-02-26 2019-06-21 Oppo广东移动通信有限公司 Image processing method, device, medium and electronic equipment
CN110971812A (en) * 2018-09-30 2020-04-07 北京微播视界科技有限公司 Shooting method and device, electronic equipment and storage medium
CN111103922A (en) * 2018-10-26 2020-05-05 华为技术有限公司 Camera, electronic equipment and identity verification method
CN112446252A (en) * 2019-08-30 2021-03-05 华为技术有限公司 Image recognition method and electronic equipment
CN112819722A (en) * 2021-02-03 2021-05-18 东莞埃科思科技有限公司 Infrared image face exposure method, device, equipment and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165487B (en) * 2018-06-28 2020-12-29 努比亚技术有限公司 Face unlocking method, mobile terminal and computer readable storage medium
CN109543523A (en) * 2018-10-18 2019-03-29 安克创新科技股份有限公司 Image processing method, device, system and storage medium
CN110730310A (en) * 2019-10-18 2020-01-24 青岛海信移动通信技术股份有限公司 Camera exposure control method and terminal
CN111131693B (en) * 2019-11-07 2021-07-30 深圳市艾为智能有限公司 Face image enhancement method based on multi-exposure face detection
CN112153300A (en) * 2020-09-24 2020-12-29 广州云从洪荒智能科技有限公司 Multi-view camera exposure method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004054684A (en) * 2002-07-22 2004-02-19 Honda Motor Co Ltd Object detection device and object detection method
CN101448085A (en) * 2008-12-26 2009-06-03 北京中星微电子有限公司 Videography processing method and system supporting face detection
CN103324033A (en) * 2012-03-23 2013-09-25 盛乐信息技术(上海)有限公司 Exposure method and exposure system
CN105072348A (en) * 2015-08-27 2015-11-18 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for quickly focusing on face

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101411910B1 (en) * 2008-01-04 2014-06-26 삼성전자주식회사 Digital photographing apparatus and method for controlling the same
US9736391B2 (en) * 2013-12-06 2017-08-15 Huawei Device Co., Ltd. Photographing method of dual-lens device, and dual-lens device
JP2015130615A (en) * 2014-01-08 2015-07-16 キヤノン株式会社 Imaging device, control method of the same, and program
CN105407276A (en) * 2015-11-03 2016-03-16 北京旷视科技有限公司 Photographing method and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004054684A (en) * 2002-07-22 2004-02-19 Honda Motor Co Ltd Object detection device and object detection method
CN101448085A (en) * 2008-12-26 2009-06-03 北京中星微电子有限公司 Videography processing method and system supporting face detection
CN103324033A (en) * 2012-03-23 2013-09-25 盛乐信息技术(上海)有限公司 Exposure method and exposure system
CN105072348A (en) * 2015-08-27 2015-11-18 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for quickly focusing on face

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2558393A (en) * 2016-11-16 2018-07-11 Motorola Mobility Llc Backlift face detection
GB2558393B (en) * 2016-11-16 2020-09-02 Motorola Mobility Llc Backlit face detection
CN110971812A (en) * 2018-09-30 2020-04-07 北京微播视界科技有限公司 Shooting method and device, electronic equipment and storage medium
CN110971812B (en) * 2018-09-30 2022-03-04 北京微播视界科技有限公司 Shooting method and device, electronic equipment and storage medium
CN111103922A (en) * 2018-10-26 2020-05-05 华为技术有限公司 Camera, electronic equipment and identity verification method
CN111103922B (en) * 2018-10-26 2023-08-25 华为技术有限公司 Camera, electronic equipment and identity verification method
CN109919866A (en) * 2019-02-26 2019-06-21 Oppo广东移动通信有限公司 Image processing method, device, medium and electronic equipment
CN109919866B (en) * 2019-02-26 2023-12-01 Oppo广东移动通信有限公司 Image processing method, device, medium and electronic equipment
CN112446252A (en) * 2019-08-30 2021-03-05 华为技术有限公司 Image recognition method and electronic equipment
CN112819722A (en) * 2021-02-03 2021-05-18 东莞埃科思科技有限公司 Infrared image face exposure method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN107872613A (en) 2018-04-03

Similar Documents

Publication Publication Date Title
WO2018054054A1 (en) Face recognition method, apparatus, mobile terminal and computer storage medium
US10397486B2 (en) Image capture apparatus and method executed by image capture apparatus
US9819870B2 (en) Photographing method and electronic device
US9692959B2 (en) Image processing apparatus and method
CN107071272B (en) Method and device for controlling brightness of camera fill-in light and terminal
US8937644B2 (en) Stereoscopic image capture
US20150365545A1 (en) Picture Outputting Method and Apparatus
US10021307B2 (en) Processing apparatus for camera shake correction
US10165201B2 (en) Image processing method and apparatus and terminal device to obtain a group photo including photographer
US20170163878A1 (en) Method and electronic device for adjusting shooting parameters of camera
WO2014106445A1 (en) Method and apparatus for detecting backlight
CN105306806B (en) A kind of mobile terminal and its method taken pictures
WO2019011154A1 (en) White balance processing method and apparatus
WO2016197657A1 (en) Photographing processing method and apparatus
WO2019105254A1 (en) Background blur processing method, apparatus and device
US10382671B2 (en) Image processing apparatus, image processing method, and recording medium
US20180139369A1 (en) Backlit face detection
CN106303267B (en) Image capture device and method
US9451149B2 (en) Processing apparatus, processing method, and program
KR20160038460A (en) Electronic device and control method of the same
CN105635568B (en) Image processing method and mobile terminal in a kind of mobile terminal
CN106791451B (en) Photographing method of intelligent terminal
EP3062513A1 (en) Video apparatus and photography method thereof
CN104853172A (en) Information processing method and electronic device
WO2010116478A1 (en) Image processing device, image processing method, and image processing program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17852128

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17852128

Country of ref document: EP

Kind code of ref document: A1