Skip to content
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

OAK-D Pro support, update to depthai 2.15.0.0 #556

Merged
merged 29 commits into from
Feb 25, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
165abff
Add simple IR register control for OAK-D-Pro. Need to install:
alex-luxonis Oct 1, 2021
da8765f
IR projector handler: more GUI controls
alex-luxonis Oct 2, 2021
3d539e6
Add basic manual exposure/gain control for Mono cameras. Usage:
alex-luxonis Oct 4, 2021
5b4a9e3
Add log wrapper for IR ops
alex-luxonis Nov 18, 2021
ca6f7a3
Added OpenCV to requirements
saching13 Nov 23, 2021
d5709bc
Update depthai version to depthai-python `oak-d-pro_develop`
alex-luxonis Nov 30, 2021
2820b01
Update depthai version to depthai-python `oak-d-pro_develop`
alex-luxonis Dec 30, 2021
7de1b30
Update depthai to work with OAK-D-Pro-W. Notes:
alex-luxonis Jan 17, 2022
bb6c0af
Fix a typo in requirements.txt
alex-luxonis Jan 17, 2022
2c21d9b
Updated with board config files
saching13 Jan 26, 2022
b72c6f0
Update resources/boards/OAK-D-PRO-W.json
saching13 Jan 27, 2022
33f00c5
Update resources/boards/OAK-D-PRO.json
saching13 Jan 27, 2022
1abec08
Merge 'main' into oak-d-pro. Revert all changes to depthai_demo.py
alex-luxonis Feb 24, 2022
944bda5
Update to latest release: 2.15.0.0, with support for OAK-D-Pro
alex-luxonis Feb 24, 2022
e5b0f7a
Temporarily change `-gt` : "auto" -> "cv", as the sliders will be add…
alex-luxonis Feb 24, 2022
853d85c
Remove low-level IR control `ir_handler.py`,
alex-luxonis Feb 24, 2022
9f29741
Add sliders for IR dot-projector and flood-illuminator control with C…
alex-luxonis Feb 24, 2022
7990e5c
add QT slider and fix LRC setting
VanDavv Feb 24, 2022
23182a1
add value indicators
VanDavv Feb 24, 2022
b8af7a4
fix dct and value setting of LRC value
VanDavv Feb 24, 2022
041d2c6
add better exit codes handling
VanDavv Feb 24, 2022
9a0c3a2
enable LRC by default
VanDavv Feb 24, 2022
a062f52
update IR dot projector args
VanDavv Feb 25, 2022
3413a6d
Add range (and check it) for `--irDotBrightness`, `--irFloodBrightness`
alex-luxonis Feb 25, 2022
2468817
Set the IR sliders to the values of `--irDotBrightness`/`--irFloodBri…
alex-luxonis Feb 25, 2022
1c413d8
CV GUI: set IR defaults based on command line options
alex-luxonis Feb 25, 2022
53b1b0d
Info about IR drivers detected moved to a common place,
alex-luxonis Feb 25, 2022
a736a74
Make sure the IR sliders stay at zero on non-Pro devices
alex-luxonis Feb 25, 2022
0fd40df
Print a note on OAK-D Pro devices to enable the IR
alex-luxonis Feb 25, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Set the IR sliders to the values of --irDotBrightness/`--irFloodBri…
…ghtness` (were 0)
  • Loading branch information
alex-luxonis committed Feb 25, 2022
commit 24688174dd9f1ae12d26aa9c65007022ac727121
2 changes: 2 additions & 0 deletions depthai_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,8 @@ def onSetup(self, instance):
self.signals.setDataSignal.emit(["countLabels", []])
self.signals.setDataSignal.emit(["depthEnabled", self.conf.useDepth])
self.signals.setDataSignal.emit(["irEnabled", self.conf.irEnabled(instance._device)])
self.signals.setDataSignal.emit(["irDotBrightness", self.conf.args.irDotBrightness])
self.signals.setDataSignal.emit(["irFloodBrightness", self.conf.args.irFloodBrightness])
self.signals.setDataSignal.emit(["lrc", self.conf.args.stereoLrCheck])
self.signals.setDataSignal.emit(["statisticsAccepted", self.instance.metrics is not None])
self.signals.setDataSignal.emit(["modelChoices", sorted(self.conf.getAvailableZooModels(), key=cmp_to_key(lambda a, b: -1 if a == "mobilenet-ssd" else 1 if b == "mobilenet-ssd" else -1 if a < b else 1))])
Expand Down
4 changes: 2 additions & 2 deletions gui/views/DepthProperties.qml
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ ListView {
height: 27
stepSize: 1
to: 1200
value: 0
value: irDotBrightness
from: 0
onValueChanged: {
depthBridge.setIrLaserDotProjector(value)
Expand Down Expand Up @@ -401,7 +401,7 @@ ListView {
height: 27
stepSize: 1
to: 1500
value: 0
value: irFloodBrightness
from: 0
onValueChanged: {
depthBridge.setIrFloodIlluminator(value)
Expand Down
2 changes: 2 additions & 0 deletions gui/views/root.qml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ ApplicationWindow {
property var restartRequired
property var deviceChoices
property var irEnabled: false
property var irDotBrightness: 0
property var irFloodBrightness: 0
property var depthEnabled: true
property var statisticsAccepted: true
property var runningApp
Expand Down