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) ?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top