CPC G06T 7/74 (2017.01) [G06N 3/04 (2013.01); G06T 7/75 (2017.01); G06V 40/164 (2022.01); G06T 2207/20081 (2013.01); G06T 2207/20084 (2013.01); G06T 2207/30201 (2013.01)] | 20 Claims |
1. An object detection model generation method, comprising steps of:
inputting a preset first amount of training samples into a to-be-trained object detection model, and performing an iterative training on the object detection model, wherein the training samples include one or more positive samples and one or more negative samples;
determining, an untrained current iteration node as an object iteration node according to a node order, and obtaining one or more model parameters of the object detection model corresponding to a previous iteration node of the object iteration node;
determining a detection accuracy of the object detection model at the object iteration node based on the one or more model parameters;
obtaining one or more enhanced negative samples by enhancing one or more mis-detected negative samples of the object detection model at the object iteration node according to a preset negative sample enhancement rule, in response to the detection accuracy being less than or equal to a preset accuracy threshold;
training the object iteration node based on the one or more enhanced negative samples and the preset first amount of the training samples; and
returning to the determining the untrained current iteration node as the object iteration node according, to the node order after the object iteration node is trained until the object detection model is trained;
wherein the obtaining the one or more enhanced negative samples by enhancing the one or more mis-detected negative samples of the object detection model at the object iteration node according to the preset negative sample enhancement rule comprises:
obtaining the one or more mis-detected negative samples of the object detection model at the object iteration node;
obtaining one or more spliced images by splicing a preset second amount of the mis-detected negative samples and the positive samples at intervals; and
obtaining the one or more enhanced negative samples by cropping all the spliced images according to a preset cropping rule.
|