Facial-Centered Thumbnail Cropping for Automated Image Processing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The process of manually selecting and creating a suitable image as a video poster is cumbersome and inefficient, leading to low image processing efficiency.
Innovation Solution
An image processing method that utilizes facial feature information to determine a target center point, crops the image based on aspect ratio relationships, and scales it to generate a thumbnail, eliminating the need for manual intervention.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If manual selection and editing of images is used to create video poster images, then the aesthetic quality and suitability of the selected image can be controlled, but the image processing efficiency is low and the process is cumbersome
Solution Approach 1:
The system automatically detects facial features in the image, determines the target center point based on facial position, and performs cropping and scaling operations without requiring manual user intervention. The image processing system serves itself by autonomously completing the entire workflow from detection to thumbnail generation.
Solution Approach 2:
The patent replaces manual mechanical selection and editing operations with automated computer-based processing. Facial feature detection algorithms, automatic center point calculation, and digital cropping/scaling operations substitute for the manual process of selecting, positioning, and editing images, thereby significantly improving processing efficiency.
2Manufacturing precision
If the image is cropped and scaled to meet target size requirements, then the thumbnail can be generated with correct dimensions, but the facial feature position and aspect ratio must be precisely controlled
Solution Approach 1:
The system performs preliminary facial feature detection and center point determination before executing the cropping and scaling operations. By pre-calculating the target center point based on facial feature positions and pre-determining the cropped size information based on aspect ratio relationships, the system ensures precise control over the final thumbnail dimensions and facial positioning.
Solution Approach 2:
The patent dynamically adjusts cropping size information and scaling parameters based on the detected facial feature positions and the required target size information. The system changes parameters such as crop region coordinates, crop width, crop height, and scaling factors to achieve the desired thumbnail dimensions while maintaining proper aspect ratios and facial feature positioning.
Data Source
AI summary
Embodiments of this application provide an image processing method and apparatus, and a computer-readable storage medium. The image processing method includes obtaining an image and size information corresponding to the image; determining a target center point of the image according to position information of facial feature information in the image; determining cropped size information according to an aspect ratio relationship between the size information and target size information, the target size information being size information of a thumbnail that is to be generated and corresponds to the image; cropping the image based on the target center point and the cropped size information to obtain a target image, an aspect ratio of the target image being same as an aspect ratio of the target size information; and scaling the target image according to the target size information, to generate the thumbnail with the target size information.


