/chess_state_recognition

Recognizing Chess Game State from an Image

Primary LanguagePython

Recognizing Chess Game State from an Image

This project digitizes the game state for a given photo that contains chessboard, with pieces on it.

Example Photo 1

Example Photo 2

Blog post

Detailed explanation of the project is available in my blog post.

How to use?

For a single image

python main.py input_image output_folder [--local] [--roboflow]

Result will get written to the output folder.

Example:

python main.py examples/small_test/0046.png . [--local] [--roboflow]

For image batch in a folder

python main.py input_folder output_folder [--local] [--roboflow]

Results will get written to the output folder.