Patent ID: 9160946
Filing Date: 2015-10-13
Classification: G06K,G06T,H04N

Abstract:
1. A method for controlling a camera of a mobile device to automatically capture images of a rectangular object, the method comprising: capturing a low resolution image of the rectangular object; detecting edges of the rectangular object in the low resolution image, the edges forming a quadrangle; calculating a coordinate of each corner of the quadrangle; calculating an average coordinate of each corner of the quadrangle in a most recent predetermined number of low resolution images; calculating a dispersion of each corner of the quadrangle in the most recent predetermined number of low resolution images from a corresponding coordinate of each calculated average coordinate; determining whether the dispersion of each corner of the quadrangle is less than a predetermined value; capturing a high resolution image of the rectangular object when it is determined that the dispersion of each corner of the quadrangle is less than the predetermined value; and geometrically transforming the quadrangle of the rectangular object in the high resolution image into a rectangle.