Method and device, and storage medium for processing an image

US11216918B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11216918-B2
Application numberUS-202017036606-A
CountryUS
Kind codeB2
Filing dateSep 29, 2020
Priority dateOct 11, 2019
Publication dateJan 4, 2022
Grant dateJan 4, 2022

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Disclosed are a method and device for processing an image, and a storage medium. The method includes: determining first position information of key points of first type of an object in the image based on the image and a trained model, where the first position information of each key point of first type indicates where each key point of first type is in the image; determining second position information of key points of second type of the object based on the first position information and a preset algorithm, where the second position information of each second type indicates where each key point of second type is in the image; liquefying the object based on the first position information and the second position information by using a liquefying level corresponding to a portion to be processed of the object.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for processing an image, comprising: determining first position information of key points of first type of an object in the image based on the image and a trained model, wherein the first position information of each key point of first type indicates where each key point of first type is in the image; determining second position information of key points of second type of the object based on the first position information and a preset algorithm, wherein the second position information of each second type indicates where each key point of second type is in the image; and liquefying the object based on the first position information and the second position information by using a liquefying level corresponding to a portion to be processed of the object; wherein said that determining second position information comprises: determining each detail portion of the object; determining first position information of key points of first type corresponding to each detail portion; and determining second position information of key points of second type corresponding to each detail portion, based on the first position information of key points of first type corresponding to each detail portion and a preset algorithm corresponding to each detail portion. 2. The method according to claim 1 , wherein said that liquefying the object comprises: determining position information of the portion to be processed, wherein the position information of the portion to be processed comprises first position information corresponding to the portion to be processed, or second position information corresponding to the portion to be processed; determining the liquefying level corresponding to the portion to be processed, wherein the liquefying level is preset; and liquefying pixels corresponding to the position information of the portion to be processed based on the liquefying level and a preset liquefying type. 3. The method according to claim 2 , wherein said that determining the liquefying level comprises: determining, in the object, an associating portion of the portion to be processed and position information of the associating portion; determining, in the object, an influencing portion of the portion to be processed and the associating portion; determining position information of a first part of the influencing portion corresponding to the portion to be processed, and position information of a second part of the influencing portion corresponding to the associating portion; determining a first distance between the first part and the portion to be processed based on the position information of the portion to be processed and the position information of the first part; determining a second distance between the second part and the associating portion based on the position information of the associating portion and the position information of the second part; acquiring a weight of the liquefying level corresponding to the portion to be processed by normalizing the first distance and the second distance; determining the liquefying level corresponding to the portion to be processed by weighting a preset liquefying level corresponding to the portion to be processed based on the weight. 4. The method according to claim 1 , wherein the method further comprises: weighing a sum of position information of a processing point in the image and position information of a same processing point in a previous image, wherein the previous image and the image are successive frames in a video, based on a preset weight, wherein the processing point is a key point of first type or a key point of second type; and determining a weighted result as position information of the processing point in the image. 5. The method according to claim 1 , wherein the method further comprises: selecting a preset quantity of successive frames following the image, in a case that a processing point exists in a previous image of the image and does not exist in the image, during the processing point being liquefied based on a preset liquefying level; and liquefying images of the preset quantity of successive frames based on gradually diminished liquefying levels. 6. The method according to claim 1 , wherein said that liquefying the object comprises: acquiring a resolution decreased image by decreasing a resolution of the image based on a preset factor; liquefying the object in the resolution decreased image; acquiring a processed image by restoring the resolution of the resolution decreased image after liquefaction. 7. An electronic device, comprising: a processor; and a memory for storing executable instructions of the processor, wherein the processor is configured to execute the instructions to perform: determining first position information of key points of first type of an object in the image based on the image and a trained model, wherein the first position information of each key point of first type indicates where each key point of first type is in the image; determining second position information of key points of second type of the object based on the first position information and a preset algorithm, wherein the second position information of each second type indicates where each key point of second type is in the image; and liquefying the object based on the first position information and the second position information by using a liquefying level corresponding to a portion to be processed of the object; wherein said that determining second position information comprises: determining each detail portion of the object; determining first position information of key points of first type corresponding to each detail portion; and determining second position information of key points of second type corresponding to each detail portion, based on the first position information of key points of first type corresponding to each detail portion and a preset algorithm corresponding to each detail portion. 8. The electronic device according to claim 7 , wherein said that liquefying the object comprises: determining position information of the portion to be processed, wherein the position information of the portion to be processed comprises first position information corresponding to the portion to be processed, or second position information corresponding to the portion to be processed; determining the liquefying level corresponding to the portion to be processed, wherein the liquefying level is preset; and liquefying pixels corresponding to the position information of the portion to be processed based on the liquefying level and a preset liquefying type. 9. The electronic device according to claim 8 , wherein said that determining a liquefying level comprises: determining, in the object, an associating portion of the portion to be processed and position information of the associating portion; determining, in the object, an influencing portion of the portion to be processed and the associating portion; determining position information of a first part of the influencing portion corresponding to the portion to be processed, and position information of a second part of the influencing portion corresponding to the associating portion; determining a first distance between the first part and the portion to be processed based on the position information of the portion to be processed and the position information of the first part; determining a second distance between the second part and the associating portion based on the position information of the associating portion and the position information of the second part; acquiring a weight of the liquefying level corresponding to the portion to be processed by normalizing the first dis

Assignees

Inventors

Classifications

  • using feature-based methods · CPC title

  • Human being; Person · CPC title

  • G06T7/75Primary

    involving models · CPC title

  • Training; Learning · CPC title

  • Scaling of whole images or parts thereof, e.g. expanding or contracting · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11216918B2 cover?
Disclosed are a method and device for processing an image, and a storage medium. The method includes: determining first position information of key points of first type of an object in the image based on the image and a trained model, where the first position information of each key point of first type indicates where each key point of first type is in the image; determining second position inf…
Who is the assignee on this patent?
Beijing Dajia Internet Information Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06T7/75. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jan 04 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 7 related publications on this page (citations in our corpus or others sharing the same primary CPC).