Hello all,
I am currently working on a side project to automate the ‘anagrams’ game in GamePigeon. I have my python script set up to take 6 individual screenshots, one for each character provided at the start of the game. The script then feeds these screenshots into a python OCR library, to extract the character of each image. I then feed these characters to a word-unscrambler.
My issue is with the OCR step, the OCR accuracy has been terrible. I have tried a PyTesseract and EasyOCR approach, both with and without image pre-processing.
I’m wondering if anyone else here has developed python projects that required the use of an OCR, and what the best approach was for consistent accuracy.
Here is an Imgur link to what the game screen looks like: https://imgur.com/a/7lqEFCW
You will notice the letters are written very plainly, should be easy for an OCR. My next ideas were:
– Provide the OCR just one screenshot that contains all 6 characters
– Set up `Google Vision` api connection to utilize that as my OCR
submitted by /u/thesimulation713
[link] [comments]
r/learnpython Hello all, I am currently working on a side project to automate the ‘anagrams’ game in GamePigeon. I have my python script set up to take 6 individual screenshots, one for each character provided at the start of the game. The script then feeds these screenshots into a python OCR library, to extract the character of each image. I then feed these characters to a word-unscrambler. My issue is with the OCR step, the OCR accuracy has been terrible. I have tried a PyTesseract and EasyOCR approach, both with and without image pre-processing. I’m wondering if anyone else here has developed python projects that required the use of an OCR, and what the best approach was for consistent accuracy. Here is an Imgur link to what the game screen looks like: https://imgur.com/a/7lqEFCW You will notice the letters are written very plainly, should be easy for an OCR. My next ideas were: – Provide the OCR just one screenshot that contains all 6 characters – Set up `Google Vision` api connection to utilize that as my OCR submitted by /u/thesimulation713 [link] [comments]
Hello all,
I am currently working on a side project to automate the ‘anagrams’ game in GamePigeon. I have my python script set up to take 6 individual screenshots, one for each character provided at the start of the game. The script then feeds these screenshots into a python OCR library, to extract the character of each image. I then feed these characters to a word-unscrambler.
My issue is with the OCR step, the OCR accuracy has been terrible. I have tried a PyTesseract and EasyOCR approach, both with and without image pre-processing.
I’m wondering if anyone else here has developed python projects that required the use of an OCR, and what the best approach was for consistent accuracy.
Here is an Imgur link to what the game screen looks like: https://imgur.com/a/7lqEFCW
You will notice the letters are written very plainly, should be easy for an OCR. My next ideas were:
– Provide the OCR just one screenshot that contains all 6 characters
– Set up `Google Vision` api connection to utilize that as my OCR
submitted by /u/thesimulation713
[link] [comments]