The application provides an image detection method. A category label library may be pre-constructed based on the characteristics of images of a target type, and for each category label in the category label library, a probability threshold for that category label may be determined based on an accuracy rate of prediction results of a target detection model on sample images. By pre-setting, for each category label in the category label library, a probability threshold adapted to that category label, the target detection model achieves higher accuracy when detecting images of the target type, thereby reducing the occurrence of false detections or missed detections. Moreover, the probability threshold corresponding to each category label can be adjusted based on the accuracy rate of the prediction results of the target detection model, so that users can adjust the strictness of the detection criteria based on actual needs, making image detection more flexible.
Full Text
What is claimed is: