CPC G06K 7/146 (2013.01) [G06K 7/10732 (2013.01)] | 16 Claims |
1. An apparatus, comprising:
a distance sensor;
a plurality of light sources;
an image sensor;
one or more processors; and
memory coupled to the one or more processors, the memory storing one or more programs configured for execution by the one or more processors, the one or more programs comprising instructions for:
determining, via the distance sensor, a distance between an object and the apparatus;
in accordance with a determination that the distance between the object and the apparatus is within a first distance range of a plurality of predefined distance ranges, activating a first sequence of lighting patterns including a plurality of lighting patterns, corresponding to the first distance range, to illuminate the object via the plurality of light sources,
repeating the steps of determining and activating until an image of the object is captured by the image sensor,
the activating including:
determining that a first lighting pattern of the plurality of lighting patterns is activated when the image of the object is captured; and
during a subsequent operation of the apparatus, re-ordering the plurality of lighting patterns in the first sequence of lighting patterns so that the first lighting pattern is activated first.
|