Skip to content

Instantly share code, notes, and snippets.

lrob

Block or report user

Report or block lrob

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lrob
lrob / opencv_capture_v4l2.py
Last active Sep 3, 2018 — forked from royshil/opencv_capture_v4l2.py
A way to set V4L2 camera params for OpenCV, when cv2.VideoCapture doesn't work. This requires the python-v42lcapture module (https://github.com/gebart/python-v4l2capture)
View opencv_capture_v4l2.py
#!/usr/bin/env python
import numpy as np
import cv2
import os
import v4l2capture
import select
if __name__ == '__main__':
#cap = cv2.VideoCapture(0)
You can’t perform that action at this time.