Skip to content

ChessEye is a web-based application that detects chessboards from images and generates accurate FEN (Forsyth-Edwards Notation) strings. Utilizing deep learning models, it processes both live camera feeds and screenshots, providing users with precise chessboard state representations for analysis and game continuation.

License

Notifications You must be signed in to change notification settings

maskboyAvi/ChessEye

Repository files navigation

ChessEye: Chessboard Detection and FEN Generation from Images

ChessEye Logo

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

Table of Contents

  1. About The Project
  2. Key Features
  3. Built With
  4. How It Works
  5. Getting Started
  6. License
  7. Contributing
  8. Team Members

About the Project

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.

ChessEye Camera ChessEye Screenshot

Our Mission

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.

(back to top)

Key Features

  • 📷 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.

(back to top)

Built With

Python OpenCV TensorFlow Keras NumPy Pandas

(back to top)

How ChessEye Works 🤔

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.

(back to top)

Getting Started

Installation Instructions

To set up ChessEye on your local machine, follow these steps:

  1. Install Python 3.8 or higher: Download and install Python if you haven't already.

  2. Clone the repository:

    git clone https://github.com/maskboyAvi/ChessEye.git
  3. Navigate to the project directory:

    cd ChessEye
  4. Install dependencies:

    pip install -r requirements.txt
  5. Run the application:

    python app.py

Example Usage

To see ChessEye in action, run the provided scripts with your preferred input (image or live camera feed). The output will be a detected chessboard with its corresponding FEN string displayed.

(back to top)

License

ChessEye is licensed under the MIT license. For more information, please see the LICENSE file in the repository.

(back to top)

Contributing

We welcome contributions! For detailed instructions on how to contribute, please refer to the Contributing Guide in our documentation.

Meet the Developer

(back to top)

About

ChessEye is a web-based application that detects chessboards from images and generates accurate FEN (Forsyth-Edwards Notation) strings. Utilizing deep learning models, it processes both live camera feeds and screenshots, providing users with precise chessboard state representations for analysis and game continuation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages