Add conversion to FEN

This commit is contained in:
2025-12-22 16:30:07 +01:00
parent 86dea774e4
commit 0aaea36586
12 changed files with 246 additions and 105 deletions

View File

@@ -1,13 +1,7 @@
import os
# --------------------------
# Configuration
# --------------------------
labels_dir = "datasets/visiope/test/labels"
labels_dir = "C:/Users/Laurent/Desktop/board-mate/rpi/training/datasets/edges/chess board detection 2.v2i.yolov11"
# --------------------------
# Process each label file
# --------------------------
for filename in os.listdir(labels_dir):
if not filename.endswith(".txt"):
continue