Add UVC camera input example - #866
Merged
Merged
Conversation
klemen1999
approved these changes
Sep 15, 2026
klemen1999
left a comment
Collaborator
There was a problem hiding this comment.
Generally LGTM, I tested with an RVC2 and RVC4 device in peripheral mode. Can't test in standalone mode since I don't have physical access to RVC4.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Add a reference tutorial demonstrating how to capture frames from an external USB UVC camera and inject them as ImgFrame messages into a DepthAI v3 pipeline. This enables external OpenCV/V4L2 cameras to feed nodes such as ImageManip, neural networks, and detection networks in both host and RVC4 standalone workflows.
Specification
Adds UVC discovery and capture, configurable camera settings, ImageManip processing, Visualizer output, standalone packaging, and
documentation.
Dependencies & Potential Impact
OpenCV, and NumPy dependencies. No breaking changes expected. Requires an external UVC camera.
Deployment Plan
/
Testing & Validation
Tested locally on OAK4-D with a webcam connected to the usb-c port. (using usb-c -> usb-a adapter)
AI Usage
Assisted-by: Codex:GPT-5
Submitted code was reviewed by a human: YES
The author is taking responsibility for the contribution: YES