Add an intrinsic file as json for open3d
authorTae-Young Chung <ty83.chung@samsung.com>
Wed, 29 Jun 2022 01:55:05 +0000 (10:55 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Wed, 29 Jun 2022 01:55:05 +0000 (10:55 +0900)
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
packaging/dfs-opencv.spec
res/stereoCalibZedVGA.json [new file with mode: 0644]

index 121f409ac4a75b35547ee207b3912b3f1c573039..5f703c4f125379fa920fde0f427d5b0f52c38d7a 100644 (file)
@@ -37,6 +37,7 @@ make %{?jobs:-j%jobs}
 rm -rf %{buildroot}
 mkdir -p %{buildroot}%{_datadir}/capi-media-vision
 cp res/*.yaml %{buildroot}%{_datadir}/capi-media-vision
+cp res/*.json %{buildroot}%{_datadir}/capi-media-vision
 
 %make_install
 
@@ -49,3 +50,4 @@ cp res/*.yaml %{buildroot}%{_datadir}/capi-media-vision
 %defattr(-,root,root,-)
 %{_libdir}/*.so
 %{_datadir}/capi-media-vision/*.yaml
+%{_datadir}/capi-media-vision/*.json
diff --git a/res/stereoCalibZedVGA.json b/res/stereoCalibZedVGA.json
new file mode 100644 (file)
index 0000000..cbac9bc
--- /dev/null
@@ -0,0 +1,16 @@
+{
+       "width" : 672,
+       "height" : 376,
+       "intrinsic_matrix" :
+       [
+               263.7425,
+               0,
+               0,
+               0,
+               263.5325,
+               0,
+               333.64,
+               184.129,
+               1
+       ]
+}