Fix DepthAI Deprecated Code
maxwellmlin opened this issue · 0 comments
maxwellmlin commented
Background
The following commands are known to be deprecated (there may be more)
mono_left.setBoardSocket(dai.CameraBoardSocket.LEFT)
mono_right.setBoardSocket(dai.CameraBoardSocket.RIGHT)
stereo.setDepthAlign(dai.CameraBoardSocket.RGB)
Purpose
Fix deprecated DepthAI code so that no deprecation warnings show up when running any DepthAI code.
Tasks
- Update deprecated code in
depthai_spatial_detection.py
. - Update deprecated code in
depthai_simulate_detection.py
. - Test all changes to deprecated code.