US 11,928,183 B2
Image processing method, image processing device and computer readable medium, for acquiring image sample data for training an attribute recognition model
Jingna Sun, Beijing (CN); Weihong Zeng, Beijing (CN); Peibin Chen, Beijing (CN); Xu Wang, Beijing (CN); Chunpong Lai, Los Angeles, CA (US); Shen Sang, Los Angeles, CA (US); and Jing Liu, Los Angeles, CA (US)
Assigned to LEMON INC., Grand Cayman (KY)
Filed by LEMON INC., Grand Cayman (KY)
Filed on Nov. 22, 2021, as Appl. No. 17/532,537.
Claims priority of application No. 202110863483.8 (CN), filed on Jul. 29, 2021.
Prior Publication US 2023/0034370 A1, Feb. 2, 2023
Int. Cl. G06F 18/214 (2023.01); G06F 16/532 (2019.01); G06F 18/24 (2023.01); G06V 40/16 (2022.01)
CPC G06F 18/2155 (2023.01) [G06F 16/532 (2019.01); G06F 18/24 (2023.01); G06V 40/168 (2022.01)] 18 Claims
OG exemplary drawing
 
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.