I have a tic tac toe board I want to dynamically process in mathematica to have my robot play a user in tic tac toe. In order to determine the users move, I want to slice the board into 9 images, which are the 9 boxes of the board. How can I slice this image of the board into 9 boxes representing each space where there can be a move?
The image has white space and therefore using imagePartition produces something like:
This is because the boxes are not perfect squares, and the board is not perfectly in the center of the image.