Skip to content

Instantly share code, notes, and snippets.

@2bam
Created October 10, 2022 18:48
Show Gist options
  • Save 2bam/dc4ca3ec60c744e72868b58a67b4d423 to your computer and use it in GitHub Desktop.
Save 2bam/dc4ca3ec60c744e72868b58a67b4d423 to your computer and use it in GitHub Desktop.
Capture libcamera in OpenCV through GStreamer pipeline for a Raspberry Pi
VideoCapture cap("libcamerasrc ! video/x-raw,width=640,height=480 ! appsink", CAP_GSTREAMER);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment