Image cutting method and device, electronic equipment, storage medium and program product
By identifying the subject object and safe area in the target image, determining the cropping box using its center and cropping ratio, and cropping the image, the problems of image cropping inadequacy and low quality in the prior art are solved, and a higher quality image cropping effect is achieved.
Patent Information
- Application Number
- CN202411704205.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-03-18
AI Technical Summary
The existing image cropping methods are single and poorly adaptable, which can easily lead to inappropriate cropping, causing the main part of the image to be wrongly cropped or segmented, especially in portrait photos, which may lead to the critical parts of the face or body being accidentally cut off, significantly reducing the user's aesthetic needs and experience.
By obtaining the target image and target image parameters, determine the subject object in the image and its object type, determine the safe area based on the object type, determine the target crop box using the center of the security area and the target crop ratio, and crop the image based on the box to ensure that the cropped image contains the key parts of the subject object.
Adaptive cropping is achieved based on the subject objects in the image, improving the image cropping quality, enhancing the user experience, and ensuring that the cropped image contains key parts.