Aller au contenu
ModelPrésentéExterne
Browse files

ChessBoardDetector

Two-model YOLOv11 pipeline that converts a chessboard photograph into a FEN string.

TypeOtherVersionRevision 2e4fe68BClasse

Source du modèle

Type
Other
Taille du fichier
5,21–18,3 MB
Version
vRevision 2e4fe68
Mis à jour
16 sept. 2026
Téléchargements
302
Source
Hugging Face

Description de la source

ChessBoardDetector

Two-model YOLOv11 pipeline that converts a chessboard photograph into a FEN string.

Models

FileArchitectureTask
board_detector.ptYOLOv11nLocate the chessboard bounding box
piece_detector.ptYOLOv11sIdentify all 12 piece types on a 512×512 rectified board

Usage

from src.pipeline import run_pipeline
import cv2

image = cv2.imread("photo.jpg")
fen, annotated = run_pipeline(
    image,
    board_model_path="board_detector.pt",
    piece_model_path="piece_detector.pt",
)
print(fen)

Source

GitHub — honi05/ChessBoardDetector

Sources

1 source
Hugging FacePrincipalVersion 2e4fe68e85fffd88ce8258e24b453f2713050e91
huggingface.co/honi05/ChessBoardDetector/tree/2e4fe68e85fffd88ce8258e24b453f2713050e91

Vérifié 1 sept.

Download files

Artefacts du modèle

2 artefacts

board_detector.pt

pt · 5,21 MB · SHA-256 a13723215f27…4895 · Hugging Face

Download file

piece_detector.pt

pt · 18,3 MB · SHA-256 6b5663ea4c6b…9f3c · Hugging Face

Download file

Extraits de sources

2 extraits

--- license: mit tags: - computer-vision - object-detection - chess - yolov11 - ultralytics --- # ChessBoardDetector Two-model YOLOv11 pipeline that converts a chessboard photograph into a FEN string. ## Models | File | Architecture | Task | |------|-------------|------| | `board_detector.pt` | YOLOv11n | Locate the chessboard bounding box | | `piece_detector.pt` | YOLOv11s | Identify all 12 piece types on a 512×512 rectified board | ## Usage ```python from src.pipeline import run_pipeline import cv2 image = cv2.imread("photo.jpg") fen, annotated = run_pipeline( image, board_model_path="board_detector.pt", piece_model_path="piece_detector.pt", ) print(fen) ``` ## Source [GitHub — honi05/ChessBoardDetector](https://github.com/Honi05/ChessBoardDetector)

Source context: 302 downloads · 0 likes · Pipeline object-detection · Library ultralytics · Repo honi05/ChessBoardDetector