H
H
Hcuy2020-05-29 16:04:09
Python
Hcuy, 2020-05-29 16:04:09

Text recognition on the monitor?

How can you recognize letters on a monitor? I tried tessaract, but it processes the photo. And my task is for the program to look at the monitor with the open program where the numbers change periodically, if they change, you need to check them and then perform the mat operation. I tried to take a photo and then process it, everything worked, but it seems to me that I am doing it too complicated and it can be easier. Is there a solution for me?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2020-05-29
@Hcuy

It seems to me that this is already a fairly simple solution to the problem. If it suits you, then let it stay.
Other options:

  • Perhaps the text does not need to be recognized, but received directly from the program window. If this is windows, then I think pywinauto implements this functionality
  • It is more convenient to capture a video of the screen and wait for it to change before sending it for recognition.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question