File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
docs/source/samples/StereoDepth Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ Stereo Depth custom Mesh
2
2
========================
3
3
4
4
This example shows how you can load custom mesh to the device and use it for depth calculation.
5
+ In this example, mesh files are generated from camera calibration data, but you can also use
6
+ your own mesh files.
5
7
6
8
By default, :ref: `StereoDepth ` will use the same logic as inside the ``def getMesh() `` to calculate
7
9
mesh files whenever horizontal FOV is larger than 90°. You could also force calculate the mesh using:
@@ -20,6 +22,15 @@ StereoDepth node also allows you to load mesh files directly from a file path:
20
22
stereo = pipeline.create(dai.node.StereoDepth)
21
23
stereo.loadMeshFiles(' path/to/left_mesh' , ' path/to/right_mesh' )
22
24
25
+ Demo
26
+ ####
27
+
28
+ .. image :: https://github.com/luxonis/depthai-python/assets/18037362/f2031bd4-0748-4a06-abb1-b52e9a17134e
29
+
30
+ On the image above you can see that the rectified frame isn't as wide FOV as the original one,
31
+ that's because the distortion correction is applied (in this case via custom mesh files), so the
32
+ disparity matching can be performed correctly.
33
+
23
34
Setup
24
35
#####
25
36
You can’t perform that action at this time.
0 commit comments