CPC G06V 30/412 (2022.01) [G06V 10/30 (2022.01); G06V 10/44 (2022.01); G06V 30/10 (2022.01); G06V 2201/10 (2022.01)] | 20 Claims |
1. A method for automatic context-based document annotation, comprising:
receiving, by a computing system, a candidate image of a document for annotation identification;
detecting, by the computing system, a set of structural features of the candidate image;
for each of a plurality of template images, calculating, by the computing system, a similarity score between structural features of the template image and the detected set of structural features by determining a correlation coefficient between the structural features of each template image and the detected set of structural features, the correlation coefficient comprising a weighted combination of luminance, contrast, and structure comparisons for each of a plurality of portions of the template image and the detected set of structural features of the candidate image;
selecting, by the computing system, a template image having a highest similarity score; and
adding, by the computing system to the candidate image, one or more annotation labels according to a corresponding one or more annotation labels of the selected template image.
|