There is a game. The character of the game says a lot of different replicas (~ 400 pieces). They are displayed as text in the upper left corner of the screen. Examples:
The task in the game to catch 250 different replicas. My task is to keep track of what is already caught, the number of unique replicas caught. While playing, I take screenshots. I often make duplicates, because I don’t remember whether I saw this phrase or not.
Those. At the entrance there is a folder with screenshots. All screenshots are of the same type. The text is always in the same place (you can select it as a rectangle). Lines can be one or two. The font, color, etc. are always the same. Text only in English. Font unknown. The background is not quite black, it is slightly transparent (something appears from the game through it).
I see two approaches:
1. Option times
Remove duplicates. Run through all the screenshots, select a text area, compare in pairs. Something like this.
2. Option two
Recognize all these texts, save line by line in the textbook. What to do with the texts is clear.
Question
I am not a programmer, I last coded at the university, now I am creating HTML. Nevertheless, the task does not seem difficult to me, plus simplifications / omissions are acceptable, as long as it works. Familiar with C / C ++ from university courses. "Hello, World!" wrote what to do next? :)
Answer
I understand that I need a library for working with images. Probably I need to advise something appropriate for the task. So that I could begin to google.
In general, to describe the algorithm, such as "first learn to open files", "then learn to select the desired area", "after you learn to sprinkle a picture", "as a result with the help of technology X learn to display text". And, of course, what to read?
Thank!