I have an image of a certain game screen and would like to identify what number is shown on it.
These numbers are numbers 1-18.
So I prepared numbers 1-18 and did template mathing to measure the highest scoring number.
However, the accuracy of the matching result was about 50%.
Then I used AWS OCR and the accuracy is 80%.
How can I get opencv or any other method to determine the numbers?
Please answer.
Below is a sample program to measure with template mathing and the numbers we want to measure.
Originally, I wanted to include multiple samples of numbers and images of the target screen, but this site allows only one image to be uploaded, so I have only uploaded a sample of 18 numbers.
Thanks for the reply.
I tried with SQDIFF but did not get good results.
I wrote a program to line up the comparison images to answer your question, and found that the images are degraded considerably when reducing the image or getting the data from the source.
I will post a side-by-side of the target image and the template.
If they are so different, template matching will not give good results, right?
Thanks for the reply.
Sorry, this website limits the number of data you can upload to one.
If there are many similar images and they are degraded, it may be difficult to use template matching.
I will try to find a means to avoid degradation. Thank you very much.