Skip to content

Commit c422e2c

Browse files
committed
Fix docs building
1 parent fe1ec79 commit c422e2c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docs/source/samples/calibration/calibration_reader.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ Here's theoretical calculation of the focal length in pixels:
2929
3030
focalLength = width_px * 0.5 / tan(hfov * 0.5 * pi / 180)
3131
32+
To get the HFOV you can use `this script <https://gist.github.com/Erol444/4aff71f4576637624d56dce4a60ad62e>`__, which also works for wide-FOV cameras and allows you to
33+
specif alpha parameter.
34+
3235
With 400P (640x400) camera resolution where HFOV=71.9 degrees:
3336

3437
.. math::
@@ -37,8 +40,12 @@ With 400P (640x400) camera resolution where HFOV=71.9 degrees:
3740
3841
And for 800P (1280x800) camera resolution where HFOV=71.9 degrees:
3942

43+
.. math::
44+
4045
focalLength = 1280 * 0.5 / tan(71.9 * 0.5 * PI / 180) = 882.5
4146
47+
48+
4249
Setup
4350
#####
4451

docs/source/tutorials/configuring-stereo-depth.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ Let's first look at how the depth is calculated:
3636
3737
depth [mm] = focalLength [pix] * baseline [mm] / disparity [pix]
3838
39-
.. dropdown::
40-
4139
Examples for calculating the depth value, using the OAK-D (7.5cm baseline OV9282), for 400P resolution and disparity of 50 pixels:
4240

4341
.. math::

0 commit comments

Comments
 (0)