Downloads · 30 days
151
10% of all-time downloads
surawut/chess-move-tracking-yolo11
chess-move-tracking-yolo11 is a object detection model from surawut. Use it when you need objects located in an image. It is set up for ultralytics. The card lists the license as agpl-3.0.
This repository contains fine-tuned models for a Chess Move Tracking pipeline.
Downloads · 30 days
151
10% of all-time downloads
All-time downloads
1.6K
Public
Repo size
180 MB
Likes
5
Public
Click a slice to open those files.
.pt180 MB · 100%
From the Hugging Face model README
This repository contains fine-tuned models for a Chess Move Tracking pipeline.
models/yolo11s_pose_chessboard.pt:
chessboard).a1, h1, a8, h8.models/yolo11m_pieces.pt:
Hand, bB, bK, bN, bP, bQ, bR, wB, wK, wN, wP, wQ, wR).You can use these models directly with the Ultralytics library.
First, install the required library:
pip install -U ultralytics
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)
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)