rsnk96 / Ubuntu-Setup-Scripts

Scripts to help you set up your Ubuntu quickly, especially if you're in any subfield of Data Science or AI!
Apache License 2.0
128 stars 76 forks source link

OpenCV: Enable building with libv4l support #23

Closed rajat2004 closed 5 years ago

rajat2004 commented 5 years ago

Without libv4l support, taking video input from webcams using cv2.VideoCapture(0) doesn't work

rsnk96 commented 5 years ago

Good bug find. It is possible that if opencv does link to the compiled ffmpeg, it won't need libavutils. This might be something worth checking out in the future