Comments (7)
Having installed the opencv dependencies beforehand, and commenting out most of the logging code, I have managed to get it working without any special privileges, so it seems to be possible.
More investigation will be needed in order to find a way to do this without having to go into blender superuser at all
from blendarmocap.
As blenders plist file doesn't include camera permissions, blender has to be started with enhanced privileges.
On windows it's only required to right click the application and to run it as admin.
On mac and also on linux, once you started blender using the terminal and aslong the terminal has camera permissions, starting it with sudo isn't required. I'd like to see a proper option for every system swell, but so far I haven't been focussing on that.
If blender would include opencv by default, all of this wouldn't be an issue. If you know a way to get camera permissions by default - let me know.
from blendarmocap.
@cgtinker , makes sense. And, tbh, thanks for focusing first on the real features. I wanted to raise the issue here to have it acknowledged. I wish I had deeper knowledge about best practices around this to propose something myself.
from blendarmocap.
Having installed the opencv dependencies beforehand, and commenting out most of the logging code, I have managed to get it working without any special privileges, so it seems to be possible.
More investigation will be needed in order to find a way to do this without having to go into blender superuser at all
interesting - did you run blender via the terminal (without sudo) or actually just opened the application via the inspector?
looks like linux that's why I'm asking.
from blendarmocap.
Having installed the opencv dependencies beforehand, and commenting out most of the logging code, I have managed to get it working without any special privileges, so it seems to be possible.
More investigation will be needed in order to find a way to do this without having to go into blender superuser at all
interesting - did you run blender via the terminal (without sudo) or actually just opened the application via the inspector? looks like linux that's why I'm asking.
Opened it with the system start menu, but my small trick still works if I have no sudo, and run with the terminal.
Without my small patch to remove logging, this doesn't work though, so maybe that's the issue??
from blendarmocap.
At the moment I'm reworking my import system entirely - mainly to fix other bugs. While doing so, I actually stumpled across the fact that elevated privileges aren't required in all cases.
Actually, I think it may be possible to run BlendArMocap without enhanced privileges on Linux and Windows. (Also for installing dependencies but I'm still facing some bugs.)
On Mac camera privileges from the system are required - so it's already enough to start it from the terminal with ./Blender
from blendarmocap.
Try the updated version from the main branch. Installing dependencies still requires admin privileges, on MacOS blender has to be started using the console.
Admin requirements shouldn't be necessary for tracking / transfering on any os.
from blendarmocap.
Related Issues (20)
- Error when trying to automate detection and transfer HOT 4
- Blenrig compatibility and integration HOT 1
- Question about transferring the face animation
- Increase MediaPipe's detection model complexity
- Installation of attrs failed
- Why the video stream is so slow?
- Linux crash after Linux Mint upgrade HOT 1
- Face Motion is a Bit Limited with MPFB HOT 1
- Error in Start DETECTION HOT 2
- NEW BUG HOT 1
- Running mp_hand_detector.py file indivudualy to get coordinates
- Error at installing dependencies in Blender 3.6.2 version at Windows HOT 7
- BlendArMocap v1.6.1 I can't install the Dependencies in Blender 3.6.0 and Blender 4.0.0. HOT 2
- I need help understanding how this plugin works
- Error using mediapipe when i click on start detection
- Media Pipe (dependency) will not install 😭 HOT 1
- Blender "Not Responding" when click on Install Dependencies
- working?
- Installation of mediapipe failed. Check system console output. Error? HOT 1
- Issue while trying to on camera HOT 1
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 blendarmocap.