Image processing method, image processing device and computer readable medium, for acquiring image sample data for training an attribute recognition model

US11928183B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11928183-B2
Application numberUS-202117532537-A
CountryUS
Kind codeB2
Filing dateNov 22, 2021
Priority dateJul 29, 2021
Publication dateMar 12, 2024
Grant dateMar 12, 2024

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.

An image processing method includes acquiring a set of image samples for training an attribute recognition model, wherein the set of image samples includes a first subset of image samples with category labels and a second subset of image samples without category labels; training a sample prediction model using the first subset of image samples, and predicting categories of the image samples in the second subset of image samples using the trained sample prediction model; determining a category distribution of the set of image samples based on the category labels of the first subset of image samples and the predicted categories of the second subset of image samples; and acquiring a new image sample if the determined category distribution does not conform to the expected category distribution, and adding the acquired new image sample to the set of image samples.

First claim

Opening claim text (preview).

What is claimed is: 1. An image processing method, comprising: acquiring a set of training image samples for training an attribute recognition model, wherein the set of training image samples comprises a first subset of training image samples with category labels and a second subset of training image samples without category labels; training a sample prediction model using the first subset of training image samples with category labels, and predicting categories of the training image samples in the second subset of training image samples without category labels using the trained sample prediction model; determining a category distribution of the set of training image samples based on the category labels of the first subset of training image samples and the predicted categories of the second subset of training image samples; and acquiring a new training image sample directionally if the determined category distribution does not conform to a certain category distribution, and updating the set of training image samples by adding the acquired new training image sample to the set of training image samples so that the category distribution of the updated set of training image samples conforms to the certain category distribution, wherein the certain category distribution is a certain number or a certain ratio in the determined category distribution; wherein the conforming of the determined category distribution to the certain category distribution comprises: determining a category which does not reach a certain number or a certain ratio in the determined category distribution, which indicates the determined category distribution does not conform to the certain category distribution; and acquiring the new training image sample of the category that does not reach the certain number or the certain ratio. 2. The image processing method of claim 1 , wherein the first subset of training image samples includes a predetermined number of training image samples for each category. 3. The image processing method according to claim 1 , wherein the first subset of training image samples is selected randomly from the set of training image samples, and the training image processing method further comprises acquiring the category labels of the first subset of training image samples. 4. The image processing method according to claim 1 , wherein the category labels of the first subset of training image samples are pre-assigned. 5. The image processing method of claim 4 , wherein data sources of the first subset of training image samples and the second subset of training image samples are different. 6. The image processing method according to claim 1 , wherein the sample prediction model is a Few-Shot Learning model. 7. The image processing method according to claim 6 , wherein the Few-Shot Learning model comprises at least one of a Pretraining model or a meta-learning model. 8. The image processing method according to claim 1 , wherein the certain category distribution includes at least one of Uniform distribution or Gaussian distribution. 9. The image processing method according to claim 1 , wherein the new training image sample is acquired by searching a database with a keyword or a picture. 10. The image processing method according to claim 1 , wherein the new training image sample is generated by picture editing. 11. The image processing method according to claim 1 , further comprising: predicting a category of the new training image sample using the trained sample prediction model, and discarding the new training image sample if the predicted category of the new training image sample is not the determined category that does not reach the certain number or the certain ratio. 12. The image processing method according to claim 1 , further comprising: redetermining the category distribution of the updated set of training image samples, and acquiring an additional new training image sample if the redetermined category distribution does not conform to the certain category distribution. 13. The image processing method according to claim 1 , further comprising: acquiring category labels of the updated set of training image samples. 14. The image processing method according to claim 1 , further comprising: training the attribute recognition model using the updated set of training image samples. 15. The image processing method according to claim 1 , wherein the category labels, the predicted categories and the category distribution belong to a particular attribute. 16. The image processing method according to claim 15 , wherein the particular attribute is an attribute of a human face. 17. An electronic device comprising: a memory; and a processor coupled to the memory, wherein instructions are stored in the memory, and the instructions when executed by the processor cause the electronic device to: acquire a set of training image samples for training an attribute recognition model, wherein the set of training image samples comprises a first subset of training image samples with category labels and a second subset of training image samples without category labels; train a sample prediction model using the first subset of training image samples with category labels, and predict categories of the training image samples in the second subset of training image samples without category labels using the trained sample prediction model; determine a category distribution of the set of training image samples based on the category labels of the first subset of training image samples and the predicted categories of the second subset of training image samples; and acquire a new training image sample directionally if the determined category distribution does not conform to a certain category distribution, and update the set of training image samples by adding the acquired new training image sample to the set of training image samples so that the category distribution of the updated set of training image samples conforms to the certain category distribution, wherein the certain category distribution is a certain number or a certain ratio in the determined category distribution; wherein the conforming of the determined category distribution to the certain category distribution comprises: determining a category which does not reach a certain number or a certain ratio in the determined category distribution which indicates the determined category distribution does not conform to the certain category distribution; and acquiring the new training image sample of the category that does not reach the certain number or the certain ratio. 18. A non-transitory computer-readable storage medium with computer program stored thereon which, when executed by a processor, cause the processor to: acquire a set of training image samples for training an attribute recognition model, wherein the set of training image samples comprises a first subset of training image samples with category labels and a second subset of training image samples without category labels; train a sample prediction model using the first subset of training image samples with category labels, and predict categories of the training image samples in the second subset of training image samples without category labels using the trained sample prediction model; determine a category distribution of the set of training image samples based on the category labels of the first subset of training image samples and the predicted categories of the second subset of training image samples; and acquire a new training image sample directionally

Assignees

Inventors

Classifications

  • characterised by the incorporation of unlabelled data, e.g. multiple instance learning [MIL], semi-supervised techniques using expectation-maximisation [EM] or naïve labelling · CPC title

  • Query formulation, e.g. graphical querying · CPC title

  • Classification techniques · CPC title

  • Feature extraction; Face representation · CPC title

  • G06V10/82Primary

    using neural networks · 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 US11928183B2 cover?
An image processing method includes acquiring a set of image samples for training an attribute recognition model, wherein the set of image samples includes a first subset of image samples with category labels and a second subset of image samples without category labels; training a sample prediction model using the first subset of image samples, and predicting categories of the image samples in …
Who is the assignee on this patent?
Lemon Inc
What technology area does this patent fall under?
Primary CPC classification G06F18/2155. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 12 2024 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 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).