Patent Document ID: 9910842
Application ID: 14824493

Base Claim:
1. A method for predicting a location of a field on a form based on an image of the form, the method comprising: receiving, by a computer system, binary data that represents the image of the form; creating a data structure based on the binary data by: analyzing the binary data, by the computer system, to determine a plurality of grid points, wherein the plurality of grid points define a plurality of rectangular boxes, and wherein each corner of each of the rectangular boxes is coincident with a grid point of the plurality of grid points; creating the data structure, by the computer system, so that each element of the data structure maps to a different one of the rectangular boxes; identifying, by the computer system, a plurality of visible line segments of the image by executing an image analysis algorithm that reads the binary data, that identifies visual data based on the binary data, and that analyzes the visual data to determine which of the visual data represent line segments; and for each line segment of the identified plurality of visible line segments: mapping the line segment, by the computer system, to a selected element of the data structure based on a determination that the line segment intersects a selected rectangular box that maps to the selected element; identifying the location of the field of the form by: determining, by the computer system, a location of a cursor being displayed at a display of the computer system after a user caused the cursor to move; determining, by the computer system, that the location of the cursor intersects a portion of the image that is being displayed at the display, and that maps to a first rectangular box; identifying a nearby line segment of the visible line segments, by the computer system, based on a proximity of a nearby rectangular box, that is mapped to the nearby line segment, to the first rectangular box; determining the location of the field based on a location of the nearby line segment; and determining an extent of the field based on an analysis of other nearby line segments; and determining coordinates of a rectangular box that represents the field based on the location of the field and the extent of the field; and displaying the rectangular box at the display.

---

Claim 2:
2. The method of claim 1 , wherein each of the rectangular boxes is associated with a different pixel of the image, and wherein a rectangular box of the plurality of rectangular boxes is a square.