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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


