Patent ID: 9692937
Date: 2017-06-27
CPC Classifications: G06K,G06T,H04N

Claim:
1. A method of using a system including a processor and memory to process an image, the method comprising: storing the image in memory; and operating the processor to perform the steps of: identifying at least two lines classified as corresponding to the first direction as potential first-direction perimeter lines, said step of identifying at least two lines classified as corresponding to the first direction as potential first-direction perimeter lines including keeping as potential first-direction perimeter lines, lines classified as corresponding to the first direction which i) have a line weight greater than a predetermined fraction of a line weight of a line having a greater line weight and classified as corresponding to the first direction and ii) extend in the first direction an amount greater than a predetermined fraction of the length of said image in the first direction; identifying at least two lines classified as corresponding to the second direction as potential second-direction perimeter lines; determining from said at least two potential first-direction perimeter lines and said at least two potential second-direction perimeter lines four document corner points; and performing at least one of a document extraction operation or document correction operation based on the determined document corner points.