CPC G06V 10/245 (2022.01) [G06K 7/10722 (2013.01); G06V 10/25 (2022.01); G06V 10/762 (2022.01)] | 20 Claims |
1. A system for decoding an optical pattern, the system comprising:
a camera; and
one or more memory devices comprising instructions that, when executed, cause one or more processors to perform operations comprising:
acquiring, using the camera, an image depicting an optical pattern;
projecting a plurality of scanlines on the optical pattern;
computing edge responses along the plurality of scanlines;
clustering the edge responses into a plurality of lines based on one or more vanishing points of the plurality of lines; and
correcting at least one distortion of the optical pattern based on the plurality of lines, wherein correcting the at least one distortion of the optical pattern comprises:
localizing corners of the optical pattern; and
calculating a homography between localized corners of the optical pattern and a specified shape.
|