Frage

Problem: I have a scanned version of some tax report (e.g. https://docs.google.com/file/d/0B3TmJsb1vYhqclFFendvTlRoV28/edit?usp=sharing ), and I must fill it programmly. So, it`s needed to find empty areas and put to it some values in program. Now I see only one solution - manually find coordinates of these empty areas, code it to program, and output values to these coordinates. Is it possible to programmly find coordinates (may be by some pattern recognition or something else) of empty areas? May be use of some Ruby tools (e.g. Prawn) ?

War es hilfreich?

Lösung

So, there isn't complete automatic solution. I've solved this problem by searching areas to input, store its coordinates and then output to these areas

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top