I am currently trying to run a python project that grabs the camera using the cv2 VideoCapture however doing this requires super user privileges.
I would prefer not running the program with sudo
for various reasons and I am looking for a way to achieve this.
What I have tried:
I have already checked the permissions on /dev/video0
and have added my user to the video
group however this had no effect.
See the following command outputs,
>>> v4l2-ctl --list-devices
VGA Single Chip (usb-0000:02:00.0-3):
/dev/video0
>>> ls -l /dev/video0
crw-rw----+ 1 root video 81, 0 Jul 9 21:24 /dev/video0
>>> groups $USER
wheel video
Additional information (which may or may not be useful):
Linux distro: arch
Camera: an old Pixart Imaging, Inc. Typhoon Easycam USB 330K