Number recognition in a randomly generated numeric pad

59 Views Asked by At

I'm struggling to find a way to precisely extract numbers from a numeric pad. I have tried pytesseract, image.hash and even a code I found that compares characteristics from one image trying to find them in the other image and gives a percentage of similarity.

I'll link some images so you can see what I'm talking about.

Also, I want to clarify, I have also tried to invert the images and use the whitelist in pytesseract but it still wrongly recognizes some numbers (especially the 7 with 1, 8 with 0, 9 with 8, etc).

Thanks in advance.

1

2

0

There are 0 best solutions below