Ask Your Question

ovg's profile - activity

2020-02-06 06:09:26 -0600 received badge  Notable Question (source)
2019-05-26 01:19:10 -0600 received badge  Popular Question (source)
2017-11-06 06:52:37 -0600 commented answer Access webcam without sudo

Thanks though!

2017-11-03 13:21:38 -0600 commented answer Access webcam without sudo

Problem solved btw, compiled the newest version from source

2017-11-03 13:20:03 -0600 commented question Python Opencv VideoCapture::read returns None only in a virtual environment

Ok, this thread got completely hijacked, but I solved my problem compiling the newest version from source ;) Turns out i

2017-10-27 06:43:29 -0600 commented question cv2.VideoCapture() works on python 2 but not on 3, ubuntu 16.04, opencv v3.2.0

Did you ever find a solution? I have the exact same issue @Tarhann

2017-10-27 06:40:33 -0600 commented answer Access webcam without sudo

Judging from this I'd say SELinux is not the issue: $> ls -Zl /usr/bin/python2.7 -rwxr-xr-x. 1 root root system_u:ob

2017-10-27 06:35:15 -0600 commented answer Access webcam without sudo

ok so it is also the case that just calling python defaults to python2 which is why it works. It seems that with both p

2017-10-27 06:15:55 -0600 commented answer Python Opencv VideoCapture::read returns None only in a virtual environment

cool, but not sure if this helps me...

2017-10-27 06:15:04 -0600 received badge  Editor (source)
2017-10-27 06:15:04 -0600 edited question Python Opencv VideoCapture::read returns None only in a virtual environment

Python Opencv VideoCapture::read returns None only in a virtual environment The code below runs fine, except when it is

2017-10-27 06:13:56 -0600 received badge  Enthusiast
2017-10-26 19:40:24 -0600 commented answer Access webcam without sudo

It has its own python executable. $> ls -Zl /usr/bin/python3.6 -rwxr-xr-x. 2 root root system_u:object_r:bin_t:s0 11

2017-10-26 16:11:46 -0600 asked a question Python Opencv VideoCapture::read returns None only in a virtual environment

Python Opencv VideoCapture::read returns None only in a virtual environment The code below runs fine, except when it is

2017-10-26 16:01:34 -0600 commented answer Access webcam without sudo

Hhhmmm, I have a virtual env set up and it only fails there. I seem to be able to access the webcam without sudo if I us

2017-10-19 18:55:18 -0600 commented answer Access webcam without sudo

If it's useful, I tried to revert the above... but the type wont... $> sudo chcon -t v4l_device_t /dev/video0 $>

2017-10-19 18:48:13 -0600 commented answer Access webcam without sudo

I'm afraid it still doesn't work... I am certainly in the video group :) I wonder can opencv tell us anything? All it's

2017-10-19 18:40:03 -0600 commented answer Access webcam without sudo

I'm afraid it still doesn't work... I am certainly in the video group :) I wonder can opencv tell us anything? All it's

2017-10-19 18:39:21 -0600 commented answer Access webcam without sudo

I'm afraid it still doesn't work... I am certainly in the video group :) I wonder can opencv tell us anything? All it's

2017-10-19 18:12:21 -0600 commented answer Access webcam without sudo

Setting it to permissive didn't change anything... $> ls -Z /dev/video0 system_u:object_r:v4l_device_t:s0 /dev/video

2017-10-19 18:12:14 -0600 commented answer Access webcam without sudo

Setting it to permissive didn't change anything... $> ls -Z /dev/video0 system_u:object_r:v4l_device_t:s0 /dev/video

2017-10-19 18:10:14 -0600 commented answer Access webcam without sudo

Setting it to permissive didn't change anything...

2017-10-18 18:24:21 -0600 commented answer Access webcam without sudo

Thanks for your help! Fedora 25, no VM $ sudo selinuxrunning; echo $? sudo: selinuxrunning: command not found 1 but.

2017-10-18 18:01:57 -0600 commented answer Access webcam without sudo

I just tested with crwxrwxrwx+ 1 root video 81, 0 Oct 18 23:09 /dev/video0 too and can confirm that it still doesn't wor

2017-10-18 17:30:46 -0600 commented answer Access webcam without sudo

Good to know, unfortunately I restarted with no change... crw-rw----+ 1 root video 81, 0 Oct 18 23:09 /dev/video0 and I

2017-10-18 13:44:32 -0600 commented answer Access webcam without sudo

Should it work if I add myself to video? because it doesn't change any thing for me...

2017-10-18 08:43:53 -0600 asked a question Access webcam without sudo

Access webcam without sudo The code below will only work if I run it with sudo: cap = cv2.VideoCapture(0) cap.set(cv2.