Region of interest-based phase detection autofocus control for barcode decoding
AssigneeZebra Technologies Corporation
InventorsRuth Zhang, Dongqing Chen, David S. Koch
Life of this patent
Estimating the term…
Abstract
A method includes: capturing, via an image sensor of a computing device, a first image in a sequence of images, using a first focus position of the image sensor; detecting a region of interest in the first image, the region of interest containing a barcode; determining, using a phase detection module of the image sensor, a phase difference corresponding to the region of interest; and setting a second focus position at the image sensor based on the phase difference, the second focus position configured for capturing a second image in the sequence via the image sensor, the second image having the barcode in focus.
Claims10
A method, comprising:
- capturing, via an image sensor of a computing device, a first image in a sequence of images, using a first focus position of the image sensor;
- detecting a first region of interest in the first image, the first region of interest containing a barcode;
- determining, using a phase detection module of the image sensor, a phase difference corresponding to the first region of interest;
- and
- setting a second focus position at the image sensor based on the phase difference, the second focus position configured for capturing a second image in the sequence via the image sensor, the second image having the barcode in focus;
- wherein the method further comprises:
- detecting a plurality of regions of interest in the first image, including the first region of interest, containing respective barcodes,
- determining respective phase differences for each of the regions of interest, and
- setting the second focus position based on an aggregate of a subset of the phase differences that are separated from each other by less than a threshold number of pixels.
A computing device, comprising:
- an image sensor;
- and
- a processor configured to:
- capture, via the image sensor, a first image in a sequence of images, using a first focus position of the image sensor;
- detect a first region of interest in the first image, the first region of interest containing a barcode;
- determine, using a phase detection module of the image sensor, a phase difference corresponding to the region of interest;
- and
- set a second focus position at the image sensor based on the phase difference, the second focus position configured for capturing a second image in the sequence via the image sensor, the second image having the barcode in focus;
- wherein the processor is further configured to:
- detect a plurality of regions of interest in the first image, including the first region of interest, containing respective barcodes,
- determine respective phase differences for each of the regions of interest, and
- set the second focus position based on an aggregate of a subset of the phase differences that are separated from each other by less than a threshold number of pixels.
Dependencies are inferred from the claim text.