- Clone the repository
git clone https://github.com/betich/chess-detection
- Install the packages
pip install -r requirements.txt
-
Add the video input to the
kaggle/videos
folder -
Set up Google Cloud Vision API credentials by following the instructions here.
-
Download service account key and save it as
service_account.json
in the root directory of the project. -
Run the script
python run.py
Run vidhanddetect.py
in src/chess_board/vidhanddetect.py
which outputs a list of detected chess move which is converted to PGN format from the video.
run run.py
in the root directory of the project.