Patent Document ID: 10026074
Application ID: 15851642
Patent Status: 1

Claim One:
1. An imaging device for capturing an image of a card having a magnetic stripe, comprising: an image sensor for generating image data of the card; a memory for storing instructions; and a processor configured to execute the instructions to: generate data of a first representation of the card from the image data by detecting the magnetic stripe; generate data of a plurality of second representations of the card via color delta analysis; and generate data of a third representation of the card by comparing the first and second representations, wherein generating data of the second representations comprises: calculating average RGB values of pixels in pixel rows of the image data; calculating average RGB values of pixels in pixel columns of the image data; calculating delta RGB values for pairs of average RGB values of adjacent pixel rows; calculating delta RGB values for pairs of average RGB values of adjacent pixel columns; identifying delta RGB peak values near edges of the still image as edges of the card; and cropping the image data along the detected edges of the card to obtain one of the second representations.