Patent ID: 11922261
Assignee: COGNEX CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. An image based code reader comprising:
an image sensor, the image sensor configured to acquire an image of a code;
a lens configured to project an image scene including the code onto the image sensor, the lens comprising a variable optical power that controls a focus distance of the image based code reader;
one or more illuminators configured to illuminate the image scene with light having at least two emission angles, the one or more illuminators comprising at least two banks of light emitting diodes, wherein a first bank of LEDs of the at least two banks has an emission angle of at least 30 to 50 degrees, and a second bank of LEDs of the at least two banks has an emission angle of less than 20 degrees; and
a processor operatively coupled to the image sensor and the lens, the processor configured to:
determine a focus distance of the image based code reader;
determine, using the focus distance, a gain setting or an exposure time; and
acquire the image of the code with the image sensor at the exposure time or the gain setting.