Real-time pupil beautifying method and device

An image and eyeball technology, applied in the field of image processing, can solve the problems affecting the effect and inconsistency of color contact lenses, and achieve the effect of increasing the transparent texture

Pending Publication Date: 2019-05-21
CHENDU PINGUO TECH
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method is convenient and efficient. However, in real-time, the size of human eye opening and closing is different, and the existing algorithm will cause the shape of the eyeball to change with the size of the eye opening and closin

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
  • Real-time pupil beautifying method and device
  • Real-time pupil beautifying method and device
  • Real-time pupil beautifying method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings.

[0020] In the present invention, the effects to be achieved by the beauty contact lens include: 1. Only the eyeballs are fused with colors; 2. The eyeballs are always spherical, and the eyelids will block a part of the eyeballs;

[0021] In order to facilitate understanding, we use Unity software to implement and explain this solution in detail (Unity software can run on ios and Android platforms). Since the processing of the video is the processing of each frame of the video, this solution can also be used to process the video. Common color spaces include RGBA, YUV, and YcbCr. In this embodiment, the RGBA color space is used for calculation. If images in other color spaces are used, they can be converted to the RGBA color space using formulas for calculation. ...

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 a real-time pupil beautifying method and device, and the method comprises the steps: building a first eyeball grid model and a first periocular grid model according to a presetstandard face image; Carrying out face detection on the pupil image to be beautified, and obtaining eyeball key points and periocular key points of the pupil image to be beautified; Expanding the eyeball key point locations and the periocular key point locations to obtain eyeball grid vertexes and periocular grid vertexes; Mapping the first eyeball grid model and the first periocular grid model into the pupil image to be beautified, and obtaining a second eyeball grid model and a second periocular grid model; Mapping the pre-built cosmetic pupil material to a second eyeball grid model by adopting a UV mapping technology to obtain a first cosmetic pupil image; And adopting an OpenGL depth test technology to cover the second periocular grid model on the first pupil beautifying image to obtain a real-time pupil beautifying image. According to the technical scheme provided by the invention, the portrait can be beautified more conveniently and efficiently in real time on the premise of notchanging the shapes of the eyeballs in the image.

Description

technical field [0001] The present invention relates to the technical field of image processing, and in particular, to a method and a device for real-time coloring of pupils. Background technique [0002] There are two existing methods of coloring contact lenses for portraits: one is to use machine learning technology to first detect the eyeball area of ​​the portrait, and then perform partition calculation, color filling, fusion and other operations on the eyeball area to achieve the color contact effect. Although the effect of this method is good, a large number of models need to be trained separately in the early stage, and the algorithm is complex and the rendering time is long, so it cannot be applied in real time on mobile terminals. The other is to use OpenGL technology, which is achieved by UV mapping and real-time rendering of the eye area of ​​the portrait. This method is convenient and efficient, but in real time, the size of the human eye opening and closing is ...

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): G06T5/00G06T5/50G06T3/00G06T11/00
Inventor 李靖徐滢
Owner CHENDU PINGUO TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products