Skip to content

soham-b-github/ChessLens

Repository files navigation

ChessLens

A real-time computer vision-based system for digitizing physical chess games using a single camera.


About

ChessLens is an intelligent, real-time chess game digitization system powered by computer vision and deep learning. Designed to bridge the gap between physical and digital chessboards, ChessLens monitors a live chess game through a camera, processes each move, and dynamically updates a virtual board on screen.

Unlike traditional Digital Game Technology (DGT) boards, ChessLens requires no embedded hardware or special pieces — just a standard chessboard, a webcam, and a laptop. It uses homography estimation to correct perspective distortion, a deep learning model to identify occupied squares, and real-time frame analysis to detect and visualize piece movements.

Built with scalability and accessibility in mind, ChessLens is ideal for broadcasting live chess games in tournaments, coaching setups, or casual club matches — all without expensive infrastructure.

Achieved an accuracy of 93.75%.

Course Project Details

This repository contains the report, slides, and jupyter notebook and related code files for the final course project of the Computer Vision (CS342) offered at Ramakrishna Mission Vivekananda Educational and Research Institute, Belur as a part of the Master of Science in Big Data Analytics program.

Technologies used

  • Python 3.12
  • OpenCV – Image & video processing
  • TensorFlow / Keras – CNN for Occupancy Detection
  • Tkinter – Live board visualization
  • CairoSVG – Renders SVG chessboards
  • python-chess – FEN management & move legality

Contributors

This project was done by the team "BSB64 ", whose team members are:

-- BSB64
   April 28, 2025

About

Real-time chess game digitization system [Computer Vision Course Project]

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published