honi05/ChessBoardDetector
0334
ChessBoardDetector
Two-model YOLOv11 pipeline that converts a chessboard photograph into a FEN string.
Models
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)