Object Detection
ultralytics
PyTorch
English
yolo11
keypoint-detection
chess
computer-vision

Run this model with HF Jobs

Run surawut/chess-move-tracking-yolo11 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/surawut/chess-move-tracking-yolo11. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/surawut/chess-move-tracking-yolo11 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Chess Move Tracking Models (YOLO11)

This repository contains fine-tuned models for a Chess Move Tracking pipeline.

Models

  1. models/yolo11s_pose_chessboard.pt:

    • Architecture: YOLO11s-pose
    • Task: Keypoint Detection (Chessboard Corner Localization).
    • Classes: 1 class (chessboard).
    • Keypoints: a1, h1, a8, h8.
    • Input: Raw video frame (rotated/occluded).
  2. models/yolo11m_pieces.pt:

    • Architecture: YOLO11m
    • Task: Object Detection (Chess Pieces Detection).
    • Classes: 13 classes (Hand, bB, bK, bN, bP, bQ, bR, wB, wK, wN, wP, wQ, wR).
    • Input: Warped top-down chessboard image (640x640).

Usage

You can use these models directly with the Ultralytics library.

1. Installation

First, install the required library:

pip install -U ultralytics

2. Using the Chessboard Corner Localization Model

This model detects the 4 semantic corners of the chessboard (a1, h1, a8, h8) to help with perspective warping.

from ultralytics import YOLO

# Load the model directly from Hugging Face
model = YOLO("https://huggingface.co/surawut/chess-move-tracking-yolo11/resolve/main/models/yolo11s_pose_chessboard.pt")
# Load an image (raw frame)
image_path = "path/to/raw_frame.jpg"
# Run inference
results = model(image_path)

3. Using the Chess Pieces Detection Model

This model detects the 12 chess pieces + hand on a warped (640x640) top-down view of the board.

from ultralytics import YOLO

# Load the model directly from Hugging Face
model = YOLO("https://huggingface.co/surawut/chess-move-tracking-yolo11/resolve/main/models/yolo11m_pieces.pt")
# Load a chessboard image
warped_image_path = "path/to/warped_board.jpg"
# Run inference
results = model(warped_image_path)
Downloads last month
347
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for surawut/chess-move-tracking-yolo11

Finetuned
(227)
this model

Datasets used to train surawut/chess-move-tracking-yolo11