Files
appRobotRender/run/run_evaluateMarker.bat
2026-05-31 17:39:25 +02:00

42 lines
936 B
Batchfile
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
REM Wenn kein Argument übergeben wurde
if "%1"=="" (
echo.
echo [INFO] Aufruf fehlt!
echo Beispiel: .\run_evaluateMarker.bat ../data/evaluations/Scene4/
echo.
exit /b
)
set "IMAGES=%~1"
REM trailing slash entfernen
if "%IMAGES:~-1%"=="\" set "IMAGES=%IMAGES:~0,-1%"
if "%IMAGES:~-1%"=="/" set "IMAGES=%IMAGES:~0,-1%"
set BASE_SIM=C:\Users\kech\SynologyDrive\2026-AppServer-AppRobot\appRobotRendering\data\simulation
REM ✅ richtigen Namen extrahieren
for %%I in ("%IMAGES%") do set "SCENE_NAME=%%~nxI"
set ORIGINAL=%BASE_SIM%\%SCENE_NAME%\render_a.json
ECHO ====================================
ECHO INITIAL:
python3 ../pipeline/9_evaluateMarker.py ^
"%IMAGES%\aruco_positions_initial.json" ^
"%ORIGINAL%"
ECHO ====================================
ECHO OPTIMIZED:
python3 ../pipeline/9_evaluateMarker.py ^
"%IMAGES%\aruco_positions_optimized.json" ^
"%ORIGINAL%"