Skip to content

Skip non-existent video devices in camera enumeration#41

Merged
vadi2 merged 1 commit into
mainfrom
fix-camera-enumeration-warnings
Jan 30, 2026
Merged

Skip non-existent video devices in camera enumeration#41
vadi2 merged 1 commit into
mainfrom
fix-camera-enumeration-warnings

Conversation

@vadi2
Copy link
Copy Markdown
Owner

@vadi2 vadi2 commented Jan 30, 2026

Check if /dev/video{i} exists before attempting to open it, avoiding OpenCV warnings when v4l2-ctl is unavailable.

@vadi2 vadi2 merged commit 5e414cf into main Jan 30, 2026
4 checks passed
@vadi2 vadi2 deleted the fix-camera-enumeration-warnings branch January 30, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant