Skip to content

Commit 716305b

Browse files
committed
Squashed
Add workflow dispatch to release action Use __version__ instead of hard-corded value Remove redundant files Remove unfinished examples Bump version to 1.11.0 Merge remote-tracking branch 'origin/develop' into develop Change auto IR docs Add docs for auto IR feature Increase threshold for auto IR continuous mode Add auto IR example Fix step size for IR dot projector Fix typos Remove prints from XoutDisparity Update auto IR brightness optimization, refactor stereo component and Xouts Rename get_sharpness to sharpness [WIP] Modify IR optimization Add setting of preview num frames pool [WIP] Auto IR for stereo Remove PySide2 from requirements.txt Add crash reporting Bump version to 1.11.0 Fix unscaled bbox coordinates Remove problematic depthai_pipeline_graph submodule (#1041) * remove problematic depthai_pipeline_graph submodule * add depthai_pipeline_graph as a dependency rather than submodule. * move to correct requirements file, fix depthai_pipeline_graph version, add pyside2 to dependencies Fix 2-stage pipelines, updated colorization for facemesh Reduce XLinkIn size (for Camera/Stereo control), which reduces 5MB of RAM per component Add post action callback to RecordAction Fix frame shape extraction Refactor depthai_sdk.visualize Add show_speed field to TrackingConfig Fix speed calculation Update calculate_speed example Use self.name in XoutFrames.new_msg() when available Use xout.name in RecordAction.setup() Peripheral calibration merge (#1013)
1 parent 3a99967 commit 716305b

File tree

31 files changed

+502
-583
lines changed

31 files changed

+502
-583
lines changed

.github/workflows/python-publish.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,11 @@ jobs:
4343
user: __token__
4444
password: ${{ secrets.PYPI_API_TOKEN }}
4545
packages_dir: depthai_sdk/dist/
46+
47+
- name: Repository Dispatch
48+
uses: peter-evans/repository-dispatch@v2
49+
with:
50+
token: ${{ secrets.GITHUB_TOKEN }}
51+
event-type: robothub-oak-release
52+
repository: luxonis/robothub-images
53+
client-payload: '{"ref": "${{ github.ref }}"}'

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
[submodule "depthai_sdk/src/depthai_sdk/integrations/depthai_pipeline_graph"]
2-
path = depthai_sdk/src/depthai_sdk/integrations/depthai_pipeline_graph
3-
url = https://github.com/luxonis/depthai_pipeline_graph
41
[submodule "resources/depthai_boards"]
52
path = resources/depthai_boards
63
url = https://github.com/luxonis/depthai-boards

board.json

Lines changed: 0 additions & 36 deletions
This file was deleted.

depthai_sdk/docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Luxonis'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '1.10.1'
25+
release = '1.11.0'
2626

2727

2828
# -- General configuration ---------------------------------------------------
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Automatic IR power control
2+
==========================
3+
4+
.. note:: This feature is only available on OAK devices with IR lights.
5+
6+
.. note:: This feature is experimental, please report any issues you encounter
7+
to the Luxonis team.
8+
9+
**Automatic IR power control** is a feature that allows the device to automatically
10+
adjust the IR power based on the scene. This is useful for applications where
11+
the scene is not always the same, for example when the camera is used in an
12+
outdoor environment.
13+
14+
To enable automatic IR power control, you need to use :meth:`auto_ir <depthai_sdk.StereoComponent.auto_ir>` method
15+
that accepts two parameters:
16+
17+
- ``auto_mode`` - ``True`` to enable automatic IR power control, ``False`` to disable it.
18+
- ``continuous_mode`` - ``True`` to enable continuous mode, ``False`` otherwise. Requires ``auto_mode`` to be enabled.
19+
20+
When **automatic mode** is enabled, the device will automatically adjust the IR power after the startup.
21+
The disparity map will be analyzed with different dot projector and illumination settings,
22+
and once the best settings are found, the device will use them for the rest of the session.
23+
The whole process takes around **25 seconds**.
24+
25+
If **continuous mode** is enabled, the device will continue to search for better settings.
26+
In case the scene changes and disparity map quality drops below a certain threshold,
27+
the device will automatically adjust the IR power again.
28+
29+
Usage
30+
-----
31+
32+
The following example shows how to enable automatic IR power control in continuous mode:
33+
34+
.. literalinclude:: ../../../examples/StereoComponent/stereo_auto_ir.py
35+
:language: python

depthai_sdk/examples/CameraComponent/ir_handler.py

Lines changed: 0 additions & 261 deletions
This file was deleted.

0 commit comments

Comments
 (0)