I created a new image that that I feel is more representative of what my 6-state / 6 symbol State Transition Table will look like:
![](https://cdn.hackaday.io/images/1137561600027826527.png)
I revisited my idea of having a registration mark for each "Tile" when I realized that I could better identify the tile bounding boxes with contours alone. So here is what the binary image for the above looks like:
![](https://cdn.hackaday.io/images/5828261600028022281.png)
Now in order for this to work I needed to add a "dot" as a placeholder for the empty cells. I'm thinking these will be part of the "mat" that the tiles when placed will cover. The edge image:
![](https://cdn.hackaday.io/images/677701600028979425.png)
So now when I use findContours I end up with the following bounding boxes around the tiles:
![](https://cdn.hackaday.io/images/4424601600028363372.png)
When I pass these sub images to Tesseract, based on the binary image above, I get the following result:
![](https://cdn.hackaday.io/images/2801641600028604982.png)
So the first image above will be printed to scale (when I can get to the color printer at kwartzlab), imaged with the Raspberry Pi camera, and I'll try this process with the photo. I expect that I will have to do considerably more working cleaning up the photo. We'll see.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.