Skip to content

Commit 929a9c1

Browse files
authored
Merge pull request #487 from luxonis/camera_tuning
Camera tuning
2 parents 6581557 + 68b45ee commit 929a9c1

File tree

2 files changed

+37
-8
lines changed

2 files changed

+37
-8
lines changed

docs/source/index.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ node functionalities are presented with code.
4949
components/nodes.rst
5050
components/messages.rst
5151

52+
.. toctree::
53+
:maxdepth: 1
54+
:hidden:
55+
:caption: Code:
56+
57+
tutorials/code_samples.rst
58+
Experiments (GitHub) <https://github.com/luxonis/depthai-experiments>
59+
5260
.. toctree::
5361
:maxdepth: 1
5462
:hidden:
@@ -60,14 +68,7 @@ node functionalities are presented with code.
6068
tutorials/debugging.rst
6169
tutorials/ram_usage.rst
6270
tutorials/dispaying_detections.rst
63-
64-
.. toctree::
65-
:maxdepth: 1
66-
:hidden:
67-
:caption: Code:
68-
69-
tutorials/code_samples.rst
70-
Experiments (GitHub) <https://github.com/luxonis/depthai-experiments>
71+
tutorials/camera_tuning.rst
7172

7273
.. toctree::
7374
:maxdepth: 1
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Camera tuning
2+
=============
3+
4+
Our library supports setting camera IQ (Image Quality) tuning blob, which would be used for all cameras.
5+
By default, cameras will use a *general* tuning blob, which works great in most cases - so changing the camera
6+
tuning blob is not needed for most cases.
7+
8+
.. code-block:: python
9+
10+
import depthai as dai
11+
12+
pipeline = dai.Pipeline()
13+
pipeline.setCameraTuningBlobPath('/path/to/tuning.bin')
14+
15+
Available tuning blobs
16+
######################
17+
18+
To tune your own camera sensors, one would need Intel's software, for which a license is needed
19+
- so the majority of people will only be able to use pre-tuned blobs.
20+
21+
**Currently available tuning blobs:**
22+
23+
- **Mono tuning for low-light environments** `here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/misc/tuning_mono_low_light.bin>`__. This allows auto-exposure to go up to 200ms (otherwise limited with default tuning to 33ms). For 200ms auto-exposure, you also need to limit the FPS (:code:`monoRight.setFps(5)`)
24+
- **Color tuning for low-light environments** `here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/misc/tuning_color_low_light.bin>`__. Comparison below. This allows auto-exposure to go up to 100ms (otherwise limited with default tuning to 33ms). For 200ms auto-exposure, you also need to limit the FPS (:code:`rgbCam.setFps(10)`). *Known limitation*: flicker can be seen with auto-exposure over 33ms, it is caused by auto-focus working in continuous mode. A workaround is to change from CONTINUOUS_VIDEO (default) to AUTO (focusing only once at init, and on further focus trigger commands): :code:`camRgb.initialControl.setAutoFocusMode(dai.CameraControl.AutoFocusMode.AUTO)`
25+
26+
.. image:: https://user-images.githubusercontent.com/18037362/149826169-3b92901d-3367-460b-afbf-c33d8dc9d118.jpeg
27+
28+
.. include:: /includes/footer-short.rst

0 commit comments

Comments
 (0)