From c85b38751882af809ef0c3bf29d293ba6c793009 Mon Sep 17 00:00:00 2001 From: chk <79915315+ChKendel@users.noreply.github.com> Date: Fri, 15 May 2026 07:24:01 +0200 Subject: [PATCH] =?UTF-8?q?command=20wieder=20zur=C3=BCck?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- programs/screenShot.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/screenShot.js b/programs/screenShot.js index 7415c23..42979a3 100755 --- a/programs/screenShot.js +++ b/programs/screenShot.js @@ -135,15 +135,15 @@ function snapshot(outDir, cam0, cam1, ws){ strFile0 = path.join(outDir, name0); strFile1 = path.join(outDir, name1); - //const command = `python3 /usr/src/app/programs/readTwoImages.py -i ${strFile0} -i ${strFile1} -npz /usr/src/app/data/settings/callibration_cam0.npz -npz /usr/src/app/data/settings/callibration_cam1.npz -settings /usr/src/app/data/settings/settings1m.json`; + const command = `python3 /usr/src/app/programs/readTwoImages.py -i ${strFile0} -i ${strFile1} -npz /usr/src/app/data/settings/callibration_cam0.npz -npz /usr/src/app/data/settings/callibration_cam1.npz -settings /usr/src/app/data/settings/settings1m.json`; - const command = `python3 ${path.join(BASE_PATH, 'programs/readTwoImages.py')} \ + const command2 = `python3 ${path.join(BASE_PATH, 'programs/readTwoImages.py')} \ -i ${strFile0} \ -i ${strFile1} \ -npz ${path.join(BASE_PATH, 'data/settings/callibration_cam0.npz')} \ -npz ${path.join(BASE_PATH, 'data/settings/callibration_cam1.npz')} \ -settings ${path.join(BASE_PATH, 'data/settings/settings1m.json')}`; - + console.log("Executing Python " + command); processPython(command, name0, name1, outDir, ws);