I need to detect seven-segment digits from a pc screen and then print the digits it sees out or gives the information to other programs so I can use the information. I would also like it to do it automatically without user input. I really haven't found answers to my problem because usually, the people are trying to detect the digits from a real-life picture, not from a pc screen.
Here is the picture I would like the digits to be detected from:
Things that I have tried:
I have tried tesseract, but it just reports that there isn't anything there.
I have also seen this: https://github.com/auerswal/ssocr but I don't quite understand how to use it.
Note: The color of the digits can range from green to yellow to red depending on the time left (Idk if that's important)
Second Note: The background isn't always black. It can range from any color really, but not as brightly as the seven-segment timer.