ChessAI is a groundbreaking tool that brings together computer vision, chess algorithms, and advanced analytics to revolutionize the Chinese Chess analytics landscape. With ChessAI, you don't need expensive electronic boards to analyze your games. Simply use your regular board, set up a camera to capture the position, and let ChessAI do the rest.
chesssai
.dnn_models/data_preparation
- Currenly only support for Chinese Chess (XiangQi), contact me for the license and the source code of the data preparation tool.dnn_models/training
.git clone https://github.com/vietanhdev/chessai --recursive
conda create -n chessai python=3.9
conda activate chessai
pip install -e .
cd chessai/frontend
npm install
cd ..
bash build_frontend.sh
cd godogpaw
go build
godogpaw*
) to the ./data/engines folder.ENGINE_PATH="data/engines/godogpaw-macos-arm" python -m chessai.app --run_app
Replace ENGINE_PATH
with the path to the chess engine executable file.
This project uses computer vision and deep learning to detect chess pieces and chess board position.
AI flow for chess position detection:
README.md
file to prepare the data and train the model.