Answer the question
In order to leave comments, you need to log in
How to recognize numbers from screenshots and generate the result in a TXT or CSV file?
Good day. I need to determine the numbers from many screenshots (they are clear and the symbols are the same). There are integers, but there are also in decimal form: (1.79, 1.83, 4.15, 1.37, 1.40, 24.00, 245.00, etc.) There are a lot of them, it is necessary to process a large data array. All received data will need to be converted into a report in a csv file or txt, how to do this? What is better to use, what programming language and what library will help to implement such a task? An example of a picture that you have to recognize is attached, recognize the left column and the right one, and save it in the same form, only as text already
Answer the question
In order to leave comments, you need to log in
With the help of knowledge in the field of computer vision, the opencv library , it is also possible with the involvement of third-party software in OCR (Tesseract, Cuneiform, etc.).
To begin with, you can break it into rectangular areas, defining areas, say, by geometric location and size. In each block, you can also recognize numbers by splitting the rectangle in half into 2 horizontal parts. And then it will be easy to recognize.
The programming language doesn't matter which one. If only there was experience with it and the presence of a wrapper (wrapper) for opencv. Scripting languages are often used for such tasks.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question