Committed and Pushed by ButtonClick
This commit is contained in:
13
data/settings/settings1m.json
Executable file
13
data/settings/settings1m.json
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
{ "coordinateSystem":{
|
||||||
|
"MarkersUsed":"DICT_4X4_250",
|
||||||
|
"KnownMarkers":
|
||||||
|
{
|
||||||
|
"210": [0.00, 0.0, 0.0],
|
||||||
|
"211": [0.20, 0.0, 0.0],
|
||||||
|
"215": [0.20, -0.090, 0.0],
|
||||||
|
"214": [0.40, 0.0, 0.0],
|
||||||
|
"208": [0.50, -0.090, 0.0],
|
||||||
|
"205": [0.80, -0.090, 0.0]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -29,7 +29,8 @@ function snapshot(outDir, cam0, cam1, ws){
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
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/settings.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/settings.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`;
|
||||||
console.log("Executing Python " + command);
|
console.log("Executing Python " + command);
|
||||||
|
|
||||||
// Run the Python post-processing and send the snapshot response only
|
// Run the Python post-processing and send the snapshot response only
|
||||||
|
|||||||
Reference in New Issue
Block a user