ChessEye is an AI-powered tool for detecting chessboards from images and generating FEN (Forsyth-Edwards Notation) strings with high precision.
Report a Bug
·
Request a Feature
ChessEye leverages advanced computer vision and deep learning techniques to detect chessboards from images or camera feeds and convert them into FEN strings. This project helps chess enthusiasts and developers in accurately analyzing game states from various visual sources, facilitating game analysis, record-keeping, and AI development.
Our mission is to empower chess players and developers by providing a reliable tool that converts any visual representation of a chessboard into a precise digital format. ChessEye bridges the gap between physical and digital chess, enabling seamless game analysis and continuation.
-
📷 Chessboard Detection: Recognize and extract the chessboard region from images, even with varying lighting and angles.
-
🔍 FEN String Generation: Accurately convert the detected chessboard into a Forsyth-Edwards Notation (FEN) string for game continuation and analysis.
-
⚙️ Live Camera Feed Analysis: Analyze live camera feeds to dynamically detect and process chessboards in real time.
-
🎯 High Accuracy with Deep Learning Models: Utilize deep learning models for robust detection and FEN generation, ensuring high accuracy and reliability.
Step 1: Chessboard Detection
- Utilize computer vision techniques to identify and segment the chessboard region from the input image. This step involves detecting edges, lines, and patterns that represent a chessboard grid.
Step 2: Chess Piece Recognition
- Deploy a deep learning model trained to classify different chess pieces based on their shapes and colors. Each piece is identified, and its position on the board is determined.
Step 3: FEN String Generation
- Convert the identified pieces and their positions into a standard FEN string, enabling users to use the result for further analysis, game continuation, or importing into chess software.
To set up ChessEye on your local machine, follow these steps:
-
Install Python 3.8 or higher: Download and install Python if you haven't already.
-
Clone the repository:
git clone https://github.com/maskboyAvi/ChessEye.git
-
Navigate to the project directory:
cd ChessEye
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
python app.py