Troubleshooting the project in real-world conditions
Although this project should work with many checkers sets, camera perspectives, and lighting setups, it still requires the user to set the stage carefully, in accordance with the following guidelines:
Ensure that the webcam and the board are stationary. The webcam should be on a tripod or some other mount. The board should also be secured in place, or it should be sufficiently heavy so that it does not move when the players touch it.
Leave the board empty until the application detects it and displays the bird's-eye view. If there are playing pieces on the board, they will probably interfere with the initial detection.
For best results, use a black-and-white checkerboard. Other color schemes (such as dark wood and light wood) may work.
For best results, use a board with a light border around the playing area.
Also, for best results, use a board with a matte finish or no finish. Reflections on a glossy board will probably interfere with the analysis...