Inspiration

I wanted to be able to record the moves done while playing against friends and stuff so I can analyze it later. I also wanted to do something with computer vision since it's really cool.

What it does

Records the moves done by the players. The recording could be for example "pawn a4 to a5", etc.

How I built it

I used opencv and scikit-image to process the image and identify the changes between frames. I have a webcam that is constantly providing a stream of images that is connected to my PC.

Challenges we ran into

  • Detecting lines
  • Locating the what square the moved piece is in

Accomplishments that we're proud of

I was able to successfully identify movement and locate the board. It is the first project I've made with opencv.

What we learned

  • Vision is hard.

What's next for Chess Move Identifier

  • Being able to identify plays by using the python-chess library.
  • Tuning the threshold constants more.
  • Finding better ways of locating where the board is and where the piece.
  • Find a way to make detection more consistent by compensating for different lighting and other factors that might cause problems.

Built With

Share this project:

Updates