I would like to use knowledge of the page layout and to greatly improve OCR accuracy. I am working with a large number of forms that are extremely repetitive in structure. Say I know that a particular field in the form holds the value for state/province, and another for city/town.
Is it too ambitious to attempt to improve the accuracy of tesseract by using this knowledge? For example, I could hypothetically identify the field that holds the state/province, classify this as one of 50 possible states. Then I can have a list of cities in every state, and classify the contents of the city field by choosing the most likely city that is in that state?
This type of approach could hypothetically be generalized to many other types of very structured information, for example, letting tesseract know that a particular field is likely to contain a year or a phone number, or even potentially a name and choosing from a long list of names.
Are these types of goals realistic? And if so, is the best way to get started to spend a long time with the source code, make modifications, and compile it myself? Thanks very much!