Picture cropping method and device based on face recognition
A face recognition and cropping device technology, which is applied in the field of image processing, can solve problems such as poor cropping effects of pictures, achieve the effect of improving and helping picture reading experience, and avoiding indecent display
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Benefits of technology
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] figure 1 It is a schematic flowchart of a face recognition-based picture cropping method provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of cutting pictures when the picture size is large, especially suitable for cutting these pictures when the size of the pictures to be displayed on the search result page or product browsing page is not uniform and large. an application scenario. The method can be performed by a face recognition-based image cropping device, which is implemented by software and / or hardware, and can be built into electronic devices such as smart phones, tablet computers, notebook computers, desktop computers, or personal digital assistants. see figure 1 , the image cropping method based on face recognition specifically includes the following operations:
[0026] 110. Perform face recognition on pictures.
[0027] In this embodiment, the picture may be a set or user-input picture to be cropped. The fa...
Embodiment 2
[0042] image 3 It is a schematic flow chart of a face recognition-based image cropping method provided in Embodiment 2 of the present invention. In this embodiment, on the basis of the above-mentioned embodiments, it is preferable to further optimize the determination operation of the target cropping size and the determination operation of the cropping frame, so that the faces and subjects in the cropped picture are not truncated as much as possible, improving the user experience. The reading experience of pictures. see image 3 , the image cropping method based on face recognition includes:
[0043] 310. According to the set size of the standard picture and the original size of the picture, determine whether the cropping mode of the picture is horizontal cropping or vertical cropping;
[0044] 320. According to the determined cropping method, calculate the minimum length to be cropped in the height or width of the picture, and determine the target cropping size of the pic...
Embodiment 3
[0064] Figure 5 It is a schematic structural diagram of an image cropping device based on face recognition provided by Embodiment 3 of the present invention. This embodiment is applicable to the situation of cropping a picture when the size of the picture is large, and is especially suitable for an application scenario of cropping a picture when the sizes of the pictures to be displayed in the webpage are not uniform and are large. see Figure 5 , the specific structure of the device includes:
[0065] Face recognition module 510, for carrying out face recognition to pictures;
[0066] The first cropping module 520 is used to crop the picture according to the face recognition result and the target cropping size if the face recognition module 510 recognizes a face;
[0067] The second cropping module 530 is configured to perform subject salience recognition on the picture if the face recognition module does not recognize a human face, and crop the picture according to the s...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com