Patent ID: 8881984

Claim:
An automatic method for capturing, reading, and decoding barcode images for a portable device having a digital camera, the method comprising: initializing a reading of a barcode, wherein the initializing comprises executing initial procedures for preparing and displaying a user interface, configuration of hardware of the portable device, and start-up of embedded software; previewing frames captured by the camera, which are displayed in a preview image display on the camera of the portable device; detecting the barcode, wherein the detecting comprises detecting an area of the framed image to crop with a target on the screen of the portable device, and pre-processing the image; capturing an image containing the barcode, wherein the capturing comprises checking a level of the portable device, capturing the image, and finding a variation rate of the image to identify the framing of the barcode on the target; perspective correcting the image of the barcode, wherein the correcting comprises correcting perspective, shear, and rotation of the image; decoding the barcode, wherein the decoding comprises dividing the image into horizontal slices that should contain the same barcode, and cross-validating and decoding the barcode obtained from the image; and presenting the results of decoding, wherein the presenting comprises converting and presenting the number obtained from the decoding of the barcode.