Files
DirtyLeague_Bot/collect_data.bat

25 lines
630 B
Batchfile

@echo off
chcp 65001 > nul
echo ========================================================
echo DirtyLeague Dataset Collector for YOLO
echo ========================================================
echo.
echo Modes:
echo 1. Auto (captures on screen transitions) [DEFAULT]
echo 2. Manual (press 'C' to save current screen)
echo.
echo Press 'Q' at any time to finish collection.
echo.
if exist ".venv\Scripts\python.exe" (
".venv\Scripts\python.exe" collect_dataset.py %*
) else (
python collect_dataset.py %*
)
if %ERRORLEVEL% neq 0 (
echo.
echo Collector stopped with exit code %ERRORLEVEL%.
pause
)