Skip to content

Commit a42124e

Browse files
authored
Add additional calibration file formats and measurement pipeline passdowns (#1513)
* Handle additional stereo pipeline formats * Expand calibration file format list
1 parent be24d8b commit a42124e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

client/dive-common/constants.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ const otherVideoTypes = [
5353
];
5454

5555
const calibrationFileTypes = [
56+
'cam',
57+
'json',
5658
'npz',
59+
'yml',
60+
'zip',
5761
];
5862

5963
const fileVideoTypes = [

client/platform/desktop/backend/native/viame.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ async function runPipeline(
157157

158158
if (meta.multiCam.calibration) {
159159
command.push(`-s measurer:calibration_file="${meta.multiCam.calibration}"`);
160+
command.push(`-s calibration_reader:file="${meta.multiCam.calibration}"`);
160161
}
161162
} else if (pipeline.type === stereoPipelineMarker) {
162163
throw new Error('Attempting to run a multicam pipeline on non multicam data');

0 commit comments

Comments
 (0)