Skip to content

Commit 8608bdc

Browse files
committed
Updated readme
1 parent 9323c7d commit 8608bdc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/source/samples/StereoDepth/stereo_depth_custom_mesh.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Stereo Depth custom Mesh
22
========================
33

44
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.
57

68
By default, :ref:`StereoDepth` will use the same logic as inside the ``def getMesh()`` to calculate
79
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:
2022
stereo = pipeline.create(dai.node.StereoDepth)
2123
stereo.loadMeshFiles('path/to/left_mesh', 'path/to/right_mesh')
2224
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+
2334
Setup
2435
#####
2536

0 commit comments

Comments
 (0)