Patent attributes
Systems, methods and devices for automatically cropping images taken by an electronic device in order to determine the identity of a product contained in the image are described herein. A number of different techniques may be applied to perform the automatic cropping, including a focus sweep technique in which a first image is analyzed for the presence of a human being and then a second image is taken in a plane closer to the camera than the first image. The two frames are analyzed and a resultant image is provided that avoids the regions in which the human being is present to focus on the product. In other embodiments, a motion vector calculation is made between two images in which an individual is holding a product. The motion vectors related to the human are removed and a bounding box is calculated to reduce the size of the image to include a higher percentage of the product, such that the product can be more easily identified.