-
Notifications
You must be signed in to change notification settings - Fork 202
Camera tuning #487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Camera tuning #487
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
17fc7ba
added camera tuning docs
Erol444 ae8d5e6
Added comparison img
Erol444 15f80f1
Fixed wording
Erol444 080d0a0
Merge branch 'main' into camera_tuning
Erol444 4499c61
Moved img to PR
Erol444 68b45ee
Updated as per PR review
Erol444 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| Camera tuning | ||
| ============= | ||
|
|
||
| Our library supports setting camera IQ (Image Quality) tuning blob, which would be used for all cameras. | ||
| By default, cameras will use a *general* tuning blob, which works great in most cases - so changing the camera | ||
| tuning blob is not needed for most cases. | ||
|
|
||
| .. code-block:: python | ||
|
|
||
| import depthai as dai | ||
|
|
||
| pipeline = dai.Pipeline() | ||
| pipeline.setCameraTuningBlobPath('/path/to/tuning.bin') | ||
|
|
||
| Available tuning blobs | ||
| ###################### | ||
|
|
||
| To tune your own camera sensors, one would need Intel's software, for which a license is needed | ||
| - so the majority of people will only be able to use pre-tuned blobs. | ||
|
|
||
| **Currently available tuning blobs:** | ||
|
|
||
| - **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)`) | ||
| - **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)` | ||
|
|
||
| .. image:: https://user-images.githubusercontent.com/18037362/149826169-3b92901d-3367-460b-afbf-c33d8dc9d118.jpeg | ||
|
|
||
| .. include:: /includes/footer-short.rst | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.