Unlock instant, AI-driven research and patent intelligence for your innovation.

Image processing method and device, medium and electronic equipment

A technology in image processing and imagery, applied in the field of computers, which can solve the problems of inability to track, inadaptability, inaccuracy, etc.

Pending Publication Date: 2020-12-25
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But sometimes the two points set manually are not accurate and cannot adapt to various situations. For example, if the 2D sticker is a hat, and the two key points for tracking are set as eyes, when the person lowers his head, the key points of the eyes cannot be detected. , as it may result in untraceable

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
  • Image processing method and device, medium and electronic equipment
  • Image processing method and device, medium and electronic equipment
  • Image processing method and device, medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0069] attached figure 1 It is a flow chart of an embodiment of an image processing method provided by an embodiment of the present disclosure. The image processing method provided by this embodiment is used to set sticker special effects on the avatar of a two-dimensional image. The image processing method requires an image processing device to execute. The image The processing device can be implemented as software, or as a combination of software and hardware, and the emoticon image effect generating device can be integrated in a certain device in the image processing system, such as an image processing server or an image processing terminal device. Such as figure 1 As shown, the method includes the following steps:

[0070] Step S101, setting anchor points in the image, wherein the anchor points are marked with coordinates. The image in this embodiment can be a static picture, a dynamic picture, or a video stream or real-time video shooting, and the image includes the tar...

Embodiment 2

[0115] Such as Figure 5 As shown, according to a specific embodiment of the present invention, on the other hand, the present invention provides an image processing device 500, including:

[0116] An anchor point setting unit 501, configured to set an anchor point in the image, where the anchor point is marked with coordinates. The position of the sticker is determined by the anchor point of the sticker. In this embodiment, the center point of the rectangular area where the sticker is located is defined as the anchor point of the sticker. The anchor point coordinate O(x0, y0) is set in the image, and the set The above anchor point can be dragged, and the position can be set in advance according to the type of sticker. This embodiment introduces how to set the relative position between the coordinates of an anchor point and the target object, and perform an update. If multiple stickers are set, multiple anchor points need to be set, and the process steps of this embodiment ca...

Embodiment 3

[0127] This embodiment provides an electronic device, which is used for an image recognition method, and the electronic device includes: at least one processor; and a memory connected in communication with the at least one processor; wherein,

[0128] The memory stores instructions executable by the one processor, the instructions being executed by the at least one processor, to enable the at least one processor to:

[0129] setting anchor points in the image, wherein the anchor points are marked with coordinates;

[0130] Obtain a plurality of key points corresponding to the target object in the image, wherein each key point is marked with coordinates;

[0131] segmenting the target object into one or more image regions;

[0132] According to the coordinates of the anchor point, determine the image area corresponding to the corresponding anchor point;

[0133]calculating weights corresponding to corresponding key points according to the coordinates of the anchor point and t...

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 provides an image processing method. The method comprises the following steps: setting an anchor point in an image, wherein the anchor point is marked by a coordinate; obtaining a plurality of key points corresponding to a target object in the image, wherein each key point is marked by a coordinate; segmenting the target object into one or more image regions; determining an image area corresponding to the corresponding anchor point according to the coordinate of the anchor point; calculating weights corresponding to the corresponding key points according to the coordinates of theanchor points and the coordinates of the plurality of key points; and determining the relative position of the anchor point and the target object by weighting the plurality of key points. By means ofthe image processing technology, the relative position relationship between the anchor point and the target object can be more accurately determined, the face can be more accurately tracked, the sticker position can be accurately set, the sticker position can be dynamically adjusted according to the face detection result, and the real-time dynamic sticker effect fast in response is achieved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to an image processing method, device, medium and electronic equipment, in particular to a method, device, medium and electronic equipment for setting sticker anchor points in an image. Background technique [0002] With the development of mobile Internet technology, especially the development of images, image processing and recognition are becoming more and more intelligent, and various beauty cameras and special effect software are becoming more and more popular. In order to diversify image effects, people will Create some special effects to increase the interest of the image. Nowadays, the more popular special effects of stickers are very popular, such as setting cat ears or cat whiskers on the human face, etc. Many people will wonder how those cute rabbit ears and cat whiskers are attached. To the face and there are all kinds of cute animations. The sticker effect 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): G06T11/00
CPCG06T11/001
Inventor 高乐刘高魏炎桐倪光耀
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD