Processing method and device of image with human face
An image processing and image technology, which is applied in the field of image processing with human faces, can solve problems such as poor image quality, and achieve the effect of improving image quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] figure 1 It is a schematic flowchart of an image processing method with a human face provided by Embodiment 1 of the present invention. The method is executed by an image processing device with a human face, and the device is generally integrated in a device with a shooting function, such as an intelligent mobile terminal. see figure 2 , the image processing method with human face, comprising:
[0054] S110. Acquire an image with a human face in the current shooting scene.
[0055] After turning on the device with the shooting function, take an image with a face in the current scene through the front camera or rear camera in the device. Wherein, the device with the shooting function can be a smart phone, a tablet computer and a personal computer with a camera.
[0056] S120. Perform face recognition on an image with a human face to obtain a human face area and an ambient light area other than the human face area.
[0057] The image with the face is divided into re...
Embodiment 2
[0074] figure 2 This is a schematic flowchart of an image processing method with a human face provided by the second embodiment of the present invention. see figure 2 , and the image processing method with a human face includes:
[0075] S210: Acquire an image with a human face in the current shooting scene.
[0076] S220. Perform face recognition on the image with the face to obtain a face area and an ambient light area other than the face area.
[0077] S230. Determine the face decision point in the face area and the ambient light decision point in the ambient light area.
[0078] S240. Calculate the decision point distance between the face decision point and the ambient light decision point.
[0079] S250: When it is judged whether the distance between the face decision point and the ambient light decision point is greater than the set distance threshold, if yes, go to step S260; otherwise, go to step S270.
[0080] S260. Adjust the white balance parameter of the fac...
Embodiment 3
[0087] image 3 This is a schematic flowchart of an image processing method with a human face provided by Embodiment 3 of the present invention. see image 3 , and the image processing method with a human face includes:
[0088] S310. Acquire an image with a human face in the current shooting scene.
[0089] S320. Perform face recognition on the image with the face to obtain the face area and the ambient light area except the face area.
[0090] S330: Divide the image with the human face into 256 macroblocks, and calculate the red / green ratio and the blue / green ratio of the color of each macroblock.
[0091] Among them, an image with a face is divided into 16 rows and 16 columns, that is, 256 macroblocks, each macroblock corresponds to a sub-image in a certain image, and the number of macroblocks can be set according to specific conditions. The average value of R / G and B / G of the pixels included in the macroblock may be used as the R / G and B / G of the macroblock.
[0092] ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com