Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automatic composition cutting method and system for quick portrait photo

A photo and composition technology, applied in the field of image processing, can solve problems such as slow processing speed, unsatisfactory effect, and high requirements for software operating environment

Active Publication Date: 2020-04-28
HANGZHOU QUWEI SCI & TECH
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Although the above-mentioned automatic composition and cropping method based on deep learning can realize automatic cropping and obtain better aesthetic effects, the processing speed is slow, the software operating environment requirements are high, and the effect is not satisfactory

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
  • Automatic composition cutting method and system for quick portrait photo
  • Automatic composition cutting method and system for quick portrait photo
  • Automatic composition cutting method and system for quick portrait photo

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0098] Such as figure 1 As shown, the present embodiment proposes a method for automatic composition and cropping of a fast portrait photo, including:

[0099] S1. Collect multiple portrait photos with the same proportion and size, and create a corresponding portrait photo composition template, the portrait photo composition template including width, height, and an array of key points of the first region of interest;

[0100] The invention performs automatic composition and cutting of portrait photos based on portrait photo composition templates. In the embodiment of the present invention, a portrait photo composition template is created by using multiple portrait photos with the same ratio and size. The ratio of portrait photos can adopt any aspect ratio such as 4:3, 16:9, 1:1, etc., which is not limited here. The size information of the portrait photo includes width WIDTH and height HEIGHT. In order to make the created portrait photo composition template more representati...

Embodiment 2

[0153] Such as figure 2 As shown, the present embodiment proposes a fast automatic composition and cropping system for portrait photos, including:

[0154] The template creation module is used to collect a plurality of portrait photos with the same proportion and size, and creates a corresponding portrait photo composition template, and the portrait photo composition template includes width, height, and an array of key points of the first region of interest;

[0155] The invention performs automatic composition and cutting of portrait photos based on portrait photo composition templates. In the embodiment of the present invention, a portrait photo composition template is created by using multiple portrait photos with the same ratio and size. The ratio of portrait photos can adopt any aspect ratio such as 4:3, 16:9, 1:1, etc., which is not limited here. The size information of the portrait photo includes width WIDTH and height HEIGHT. In order to make the created portrait p...

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 an automatic composition cutting method and system for a quick portrait photo, and the method comprises the following steps: S1, building a portrait photograph composition template which comprises a wide region key point array, a high region key point array and a first region-of-interest key point array; S2, extracting corresponding key points in the portrait photo to be cut, and generating a second region-of-interest key point array; S3, calculating a portrait picture composition template and a reference point of the portrait picture to be cut; S4, calculating composition offset based on the portrait picture composition template and the portrait picture to be cut; S5, calculating an affine transformation matrix between the portrait picture composition template andthe portrait picture to be cut; and S6, performing affine on vertex coordinates in the portrait picture composition template based on the affine transformation matrix to generate a cutting frame, andcutting the to-be-cut portrait picture. According to the invention, automatic cutting of portrait photos is realized, the workload is reduced, and the cutting processing efficiency is improved.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a method and system for automatic composition and cutting of fast portrait photos. Background technique [0002] With the continuous improvement of the camera performance of smart terminal devices, people are keen to record the beautiful moments in life and share them on social networks. But usually the photos we take are not suitable for uploading directly to the Internet, and some post-processing is required. For example, when taking a photo, your fingers accidentally cover the edge of the lens or someone strays into the edge of the lens; you only want to capture part of the picture for highlighting; you have a beautiful rectangular selfie, but the WeChat avatar requires a square. At present, in the image processing software market and image post-processing fields such as camera photography and wedding photography, the automatic cropping of portrait photo image composition is o...

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
IPC IPC(8): G06T7/174G06T3/00G06K9/62G06K9/32
CPCG06T7/174G06V10/25G06F18/214G06T3/02
Inventor 胡耀武李云夕陈希玥
Owner HANGZHOU QUWEI SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products