8000 Add Luxonis OAK DepthAI v3 camera support by arpitjain2811 · Pull Request #1363 · huggingface/lerobot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add Luxonis OAK DepthAI v3 camera support #1363

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

arpitjain2811
Copy link

What this does

  • Add support for Luxonis OAK DepthAI cameras
  • Add class with RGB and depth stream capture capabilities
  • Support for DepthAI V3
  • Add automatic camera discovery and enumeration functionality
  • Include configuration options (fps, resolution, color modes)
  • Integrate DepthAI support into find_cameras utility script
  • Add depthai>=3.0.0rc2 dependency to pyproject.toml
  • Include test suite for DepthAI functionality

This enables robotic applications to leverage Luxonis OAK cameras for high-quality RGB-D sensing with hardware-accelerated depth computation.

How it was tested

  • Added test in lerobot/tests/cameras/test_depthai.py
  • Ran lerobot/find_cameras.py locally and verified the image is captured in the output directory

How to checkout & try? (for the reviewer)

  • Any reviewer with OAK camera supporting depthAI v3 can run lerobot/find_cameras.py snd verify the output image.

- Add DepthAICamera class with RGB and depth stream capture capabilities
- Support both MxID and device name identification for camera targeting
- Support for DepthAI V3
- Implement async read methods for RGB and depth data with configurable timeouts
- Add automatic camera discovery and enumeration functionality
- Include configuration options (fps, resolution, color modes)
- Add stereo depth processing from CAM_B and CAM_C cameras
- Integrate DepthAI support into find_cameras utility script
- Add depthai>=3.0.0rc2 dependency to pyproject.toml
- Include test suite for DepthAI functionality
- Support warmup periods and proper connection lifecycle management

This enables robotic applications to leverage Luxonis OAK cameras for
high-quality RGB-D sensing with hardware-accelerated depth computation.
@CarolinePascal CarolinePascal added enhancement Suggestions for new features or improvements robots Issues concerning robots HW interfaces labels Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Suggestions for new features or improvements robots Issues concerning robots HW interfaces
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0