Patent ID: 11875219
Assignee: COGNEX CORPORATION
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 12:
13. A vision system for detecting and acquiring images of a scene containing barcodes within a field of view of an imaging device having an image sensor and a processor comprising:
a variable lens that receives focus adjustment information and directs received light to the image sensor;
coarse focus settings of the variable lens that allow sampling a lens adjustment range, in sampling steps, over a range of distances between the barcodes and the image sensor,
wherein the image sensor is arranged to acquire a coarse focus image for a coarse focus setting of the variable lens;
a barcode detector that detects barcode-like regions within the coarse focus image; and
a fine focus process that, for at least one of the barcode-like regions within the coarse focus image, fine-adjusts the variable lens from the coarse focus setting to enhance the focus of the image near a location of the barcode-like regions, and acquires an image for decoding using a fine-adjusted focus setting of the variable lens.