3 ms·
I used Tesseract and OpenCV to process Words With Friends tiles.
by stevewepay 11y ago
I used Tesseract and OpenCV to process Words With Friends tiles.
- kregasaurusrex 11y agoI think this is the best solution, though a bit daunting without experience in either to approach. But you'll get access to processing all of your information in a low level language very quickly.
- kornish 11y agoHaha, this is awesome. Have you written about your program anywhere? Would love to hear more about it.
- stevewepay 11y agoIt's pretty much as other people talked about, I used OpenCV to try to detect the board, and then isolate each tile, and then used Tesseract to try to figure out the letter. The biggest problem I had was whenever the red score bubble landed on a tile, it would fall on top of the latter and thus lose information so I ended up having to create training data and associating that to get the letter. I was able to get to about 98% accuracy and it was relatively robust until they created a new app that I haven't had time to adjust for.
- nwnz 11y agoI'm just starting out on something similar (OCR'ing letters from a word game), so would also love to here more about the process you're using with Tesseract and OpenCV.
- danielsamuels 11y agoYeah, I used Tesseract to solve Countdown puzzles on Android, code here: https://github.com/danielsamuels/countdown/blob/master/screenread.py https://github.com/danielsamuels/countdown/blob/master/scree...
- uptown 11y agoA best-word solver I presume?
- stevewepay 11y agoI did it to count the tiles, and was going to work on a full-on cheating program but never got around to it. I did find the algorithm online though, it's pretty interesting.