CPC G06V 10/764 (2022.01) [G06F 21/566 (2013.01); G06V 10/44 (2022.01); G06V 10/761 (2022.01); G06V 10/774 (2022.01); G06V 10/776 (2022.01); G06V 10/809 (2022.01); G06F 2221/034 (2013.01)] | 20 Claims |
1. An image attack detection method, performed by a computer device, the image attack detection method comprising:
acquiring an image-to-be-detected, and performing global classification recognition based on the image-to-be-detected to obtain a global classification recognition result;
performing local image extraction randomly based on the image-to-be-detected to obtain a target number of local images, the target number being obtained by calculation according to a defensive rate of a reference image corresponding to the image-to-be-detected, and the defensive rate of the reference image being used for characterizing a defense level of the reference image being attacked by an image;
performing local classification recognition based on the target number of local images respectively to obtain respective local classification recognition results, and fusing the respective local classification recognition results to obtain a target classification recognition result; and
detecting a similarity between the target classification recognition result and the global classification recognition result, and determining the image-to-be-detected as an attack image when the target classification recognition result and the global classification recognition result are dissimilar.
|