Method and device for selecting image of human face
An image and face technology, applied in the field of face image selection method and device, can solve the problems of high cache occupancy, time extension, slow processing speed, etc., to improve processing speed, reduce delay, and reduce cache occupancy amount of effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] figure 1 A schematic diagram of a human face image selection process provided by an embodiment of the present invention, the process includes:
[0048] S101: Acquire a first image of each human face existing in a current image frame of a video stream, and determine a first quality score representing the quality of each human face in the first image.
[0049] The face image selection method provided by the embodiment of the present invention is applied to an electronic device, and the electronic device may be an image acquisition device, such as a video camera, a camera, etc., or may be a mobile phone, a personal computer (PC), a tablet computer, and the like.
[0050] Specifically, electronically obtain the current image frame of the video stream, and detect the current image through face detection algorithms, such as face detection algorithms based on histogram rough segmentation and singular value features, face detection algorithms based on binary wavelet transform, ...
Embodiment 2
[0061] In order to ensure the accuracy of face image selection, on the basis of the above embodiments, in the embodiment of the present invention, if the first image of the face corresponding to the saved second image is not obtained in the current image frame, the Methods also include:
[0062] Outputting the second image as a target image.
[0063] Specifically, if the first image of the human face corresponding to the saved second image is not obtained in the current image frame, it is determined that the human face corresponding to the second image has disappeared from the video stream, and the stored image of the human face of the electronic device The face quality of the second image of the human face is the best, and the electronic device outputs the second image of the human face as the target image.
[0064] In addition, in order to further improve the accuracy of image selection of the human face, if the acquisition sequence of the second image of the human face is ...
Embodiment 3
[0069] In order to ensure the efficiency and accuracy of face image selection, on the basis of the above embodiments, in the embodiment of the present invention, the first image of the face and the saved second image of the face are selected The image with a higher quality score is re-saved as the second image of the face, and the image frame of the image with a higher quality score is obtained, in the order of the image frames of the image of the face obtained, The acquisition sequence re-save as the second image of the face includes:
[0070] Judging whether the first quality score of the first image of the human face is greater than the second quality score of the second image of the human face stored;
[0071] If so, update the second image of the saved face with the first image of the face as the second image, and obtain the image of the face according to the image frame of the first image of the face The order in the image frame of the human face is updated to update th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


