Patent ID: 11941863
Assignee: DATALOGIC IP TECH, S.R.L.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 15:
16. A system for detecting an image of a template object in a captured image, the system comprising:
an imager configured to capture images;
a non-transitory memory in electrical communication with the imager, and configured to store images of objects captured by the imager; and
a processor in electrical communication with the imager and non-transitory memory, and configured to:
compare an image model of an imaged template object to multiple locations, rotations, and scales in the captured image, the image model defined by multiple model base point sets derived from contours of the imaged object, each model base point set inclusive of a plurality of model base points that are positioned at corresponding locations associated with distinctive features of the imaged template object, and each corresponding model base point of the model base point sets (i) being associated with respective layers and (ii) having an associated gradient vector; and
determine, based on the comparison of the image model to the multiple locations, rotations, and scales in the captured image, whether and where the image of the object described by the image model is located in the captured image;
extract gradients from the imaged object, the extracted gradients forming a gradient image;
rescale the gradient image of the imaged object over a number of iterations to form gradient images from a full resolution gradient image to a rescaled gradient image that meets an end condition, the gradient images including X and Y gradient images;
extract contours of the rescaled gradient images; and
select edge points of the extracted contours, and wherein the processor, in selecting the edge points, is configured to:
perform a plurality of smoothing filters in parallel on the extracted gradient images, each of the smoothing filters using different parameters;
find contours from gradients extracted from each of the filtered images;
extract points along the extracted contours from each of the filtered images; and
select a contour as the contour with the most extracted points, the extracted points associated with the selected contour being base model points of the model base point sets.