Comments (5)
adding the video device does require root access and I'm not sure how you can get around that off the top of my head. running the script however should not require root access.
you can set up your machine to add this virtual device on startup (https://askubuntu.com/a/1245223) . take the exact arguments from the Makefile for this project.
with this set up once the machine boots up you'll have the virtual device set up and should be able to use the project without root access. However, since I moved the project to use pyvirtualcam
it seems to mess with the device (maybe I'm using it incorrectly) after the script shuts down so the next time you'd try to start the script you basically have to tear down and recreate the device this wasn't the case when I was directly using the v4l2 driver and I'm not sure how to fix this part.
from webcam-mods.
However, since I moved the project to use pyvirtualcam it seems to mess with the device (maybe I'm using it incorrectly) after the script shuts down so the next time you'd try to start the script you basically have to tear down and recreate the device this wasn't the case when I was directly using the v4l2 driver and I'm not sure how to fix this part.
this is now addressed on Linux by switching back to the previous v4l2loopback backend I was using.
from webcam-mods.
you shouldn't need to need root other than for setting up your webcam device and/or adding the kernel modules especially if you're not installing the python package globally. 🤔
from webcam-mods.
When it adds the video device (everytime you start the stream), it always asks for root permissions. For now I use it this way for I don't want my coleagues to enter a password manually:
cd "
dirname "$0""/webcam-mods-master && pipenv run echo "1234" | sudo -S make add-video-dev pipenv run python entry.py bg-swap
1234 is the password.
But my boss have problems with the fact they have admin rights. They should be standard users and here comes the problem - they can't start the stream as a standard user.
from webcam-mods.
Thank you very much. I hope pyvirtualcam will be fixed :)
from webcam-mods.
Related Issues (13)
- request: bounding box tracking HOT 3
- How can I change with custom image? HOT 7
- stopping the service can lead to corrupted config that persist HOT 1
- Inpit resolution syntax HOT 13
- make crop-cam thows a 'std::exception' HOT 5
- checkout v4l2 py3 module HOT 1
- ModuleNotFoundError: No module named 'webcam_mods' HOT 2
- Unable to change IN_FPS HOT 1
- real-time background removal & virtual background HOT 3
- More Detailed Installation Instructions HOT 7
- add support for python 3.8 HOT 2
- loopback problem HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webcam-mods.