CPC G06F 16/56 (2019.01) [G06F 18/214 (2023.01); G06N 3/08 (2013.01); G06V 10/454 (2022.01); G06V 10/469 (2022.01); G06V 10/764 (2022.01); G06V 10/82 (2022.01)] | 20 Claims |
1. A computer-implemented method comprising:
receiving a first image and a second image;
providing the first image and the second image to a descriptor network as input;
generating, using the descriptor network, a first image descriptor based on the first image and a second image descriptor based on the second image, the first image descriptor including a first set of elements distributed between a first major vector and a first minor vector, and the second image descriptor including a second set of elements distributed between a second major vector and a second minor vector;
computing a major distance between the first image and the second image based on the first major vector and the second major vector;
comparing the major distance to a threshold;
if the major distance is greater than the threshold, determining that the first image does not match the second image; and
if the major distance is less than the threshold:
computing a minor distance between the first image and the second image based on the first minor vector and the second minor vector;
comparing a sum of the major distance and the minor distance to the threshold;
if the sum is greater than the threshold, determining that the first image does not match the second image; and
if the sum is less than the threshold, determining that the first image matches the second image.
|