-
Notifications
You must be signed in to change notification settings - Fork 237
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
Conversation
sudo apt install python3-tk
Control: key[dec/inc] min..max exposure time: I O 1..33000 [us] sensitivity iso: K L 100..1600 Note: need to have an OpenCV display window in focus when pressing the keys
To use color, the mono resolution should also be bumped as: python3 depthai_demo.py -monor 800 -s color left right depth To use a lower mono resolution, disable color: python3 depthai_demo.py -cam right -s left right depth TODO: currently the IR COntrol GUI only supports the IR dot-projector attached in the right connector, and need to use the "LED1 / Flood IR" in the GUI to control it. The GUI will be updated next to use the newly introduced API that can control all projectors/illuminators: device.setIrLaserDotProjectorBrightness(100) # mA device.setIrFloodLightBrightness(250) # mA
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small change in revision
Co-authored-by: Luxonis-David <[email protected]>
Co-authored-by: Luxonis-David <[email protected]>
…ed first to CV GUI
no longer supported with latest API
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested it out with OAK-D-Pro and it works as expected 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added --irDotBrightness
and --irFloodBrightness
parameters and I think it's ready to be merged now @alex-luxonis
…ghtness` (were 0)
(they seem to be auto-applied: callback called on start)
show an error if cmd line args were set for non-Pro devices. TODO could be cleaned up a little...
Updated the PR description. |
Requested changes have been addressed.
EDIT:
Changes:
depthai
to latest release2.15.0.0
https://github.com/luxonis/depthai-python/releases/tag/v2.15.0.0Depth
tab):or can be configured from command line:
the command line option
-lrc
was replaced by-dlrc
/--disableStereoLrCheck
Can also be tested with the CV GUI:
python3 depthai_demo.py -gt cv -s color left right depth
Extra controls will appear in the
depth
window:Note: the color camera (OV9782) on OAK-D-Pro-W-DEV is not supported yet.