Human-face-based real-time depth of field method

A face and face scene technology, applied in the field of photography, can solve problems such as troublesome operation, and achieve more natural effects, no hardware cost, and good effects.

Active Publication Date: 2015-03-25
XIAMEN MEITUZHIJIA TECH
View PDF5 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the depth of field function needs the hardware support of the camera to support the depth of field when shooting. For ordinary shooting equipment, it is necessary to process the depth of field of the image after shooting. The operation is very troublesome, and it is a relatively difficult task for non-professionals big problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Human-face-based real-time depth of field method
  • Human-face-based real-time depth of field method
  • Human-face-based real-time depth of field method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer and clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0029] Such as figure 1 Shown, a kind of method based on the real-time depth of field of people's face of the present invention, it comprises the following steps:

[0030] 10. Obtain the camera data of real-time preview and get the real-time image, such as figure 2 ;

[0031] 20. Perform face detection on the real-time image; if a face is detected, obtain the face area and key points of the face, otherwise use the real-time image as a display image, and perform step 70;

[0032] 30. Perform blurring processing on the real-time image to obtain a blur...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a human-face-based real-time depth of field method. The method comprises the steps that real-time images are obtained by obtaining real-time viewing camera data, human face detection is carried out on the real-time images to obtain human face areas and human face key points, then, affine transformation is adopted for obtaining transformed human face contour images according to preset human face contour images, preset human face key points corresponding to the human face contour images, and the obtained human face areas and human face key points, finally, the transformed human face contour images are used as the masking of the human face areas of the real-time images for conducting transparency calculation on the real-time images and blurred images to obtain human face depth of field images, and the human face depth of field images are used as display images to be previewed on a screen in real time. No hardware cost is needed, and no manual intervention operation is needed, so that the automatic depth of field effect processing during self-photographing is achieved, and the self-photographing effect is better and more natural.

Description

technical field [0001] The invention relates to the technical field of photographing, in particular to a real-time depth-of-field method based on human faces. Background technique [0002] With the continuous improvement of living standards and technological levels, taking pictures has become a common behavior in our daily life. We can shoot the images we want at will to record memorable moments or scenes. In order to highlight the subject, the depth of field effect is usually used to make the subject clear and the background blurred, so that the subject can be separated from the background, making the subject more attractive, especially when taking selfies. However, the depth of field function needs the hardware support of the camera to support the depth of field when shooting. For ordinary shooting equipment, it is necessary to process the depth of field of the image after shooting. The operation is very troublesome, and it is a relatively difficult task for non-profession...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T3/00
CPCG06T2207/10028G06T7/50
Inventor 张伟傅松林李志阳张长定
Owner XIAMEN MEITUZHIJIA TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products