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

Fix DepthAI Deprecated Code #462

Closed
2 of 3 tasks
maxwellmlin opened this issue Oct 4, 2023 · 0 comments · Fixed by #476
Closed
2 of 3 tasks

Fix DepthAI Deprecated Code #462

maxwellmlin opened this issue Oct 4, 2023 · 0 comments · Fixed by #476
Assignees
Labels
cv Related to computer vision
Milestone

Comments

@maxwellmlin
Copy link
Member

maxwellmlin commented Oct 4, 2023

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.
@maxwellmlin maxwellmlin added the cv Related to computer vision label Oct 4, 2023
@vedarshshah vedarshshah added this to the Fall 2023 milestone Oct 23, 2023
@vedarshshah vedarshshah linked a pull request Oct 25, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cv Related to computer vision
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants