cgtinker / BlendArMocap

realtime motion tracking in blender using mediapipe and rigify
GNU General Public License v3.0
930 stars 112 forks source link

BlendArMocap always crash #153

Open elastikukk opened 1 year ago

elastikukk commented 1 year ago

when I use webcam detection , always crash. I'm use Mac M1

cgtinker commented 1 year ago

To run webcam detection, you got to start blender via the terminal as blenders plist does not include webcam permissions.

The Terminal request may be blocked even with elevated privileges, if that happens navigate to System Settings > Privacy and Security > Full Disk Access then activate your Terminal. After doing so, the sudo tag shouldn’t be required anymore.

suyashcjoshi commented 1 year ago

I tried to investigate and cause and Apple's Crash reporter is saying :

This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an com.apple.security.device.camera key with a string value explaining to the user how the app uses this data.

So the core issue seems to be camera permission and not full disk access.

Steps to fix: cc @elastikukk

  1. Make sure in your "Security & Privacy" settings > Camera > Terminal.app is checked on (the terminal should have access to the camera).
  2. Open the Terminal and start Blender by typing its path. e.g /Applications/Blender.app/Contents/MacOS/Blender
  3. Open the AddOn Panel and Click 'Start Detection'.

That worked for me, here is the PR for the same @cgtinker : https://github.com/cgtinker/BlendArMocap/pull/155

jofabbade commented 9 months ago

To run webcam detection, you got to start blender via the terminal as blenders plist does not include webcam permissions.

The Terminal request may be blocked even with elevated privileges, if that happens navigate to System Settings > Privacy and Security > Full Disk Access then activate your Terminal. After doing so, the sudo tag shouldn’t be required anymore.

I did this and still it didn't work :/

jofabbade commented 9 months ago

I tried to investigate and cause and Apple's Crash reporter is saying :

This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an com.apple.security.device.camera key with a string value explaining to the user how the app uses this data.

So the core issue seems to be camera permission and not full disk access.

Steps to fix: cc @elastikukk

  1. Make sure in your "Security & Privacy" settings > Camera > Terminal.app is checked on (the terminal should have access to the camera).
  2. Open the Terminal and start Blender by typing its path. e.g /Applications/Blender.app/Contents/MacOS/Blender
  3. Open the AddOn Panel and Click 'Start Detection'.

That worked for me, here is the PR for the same @cgtinker : #155

I also did this and still it didn't work :/

jofabbade commented 9 months ago

I tried to investigate and cause and Apple's Crash reporter is saying :

This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an com.apple.security.device.camera key with a string value explaining to the user how the app uses this data.

So the core issue seems to be camera permission and not full disk access.

Steps to fix: cc @elastikukk

  1. Make sure in your "Security & Privacy" settings > Camera > Terminal.app is checked on (the terminal should have access to the camera).
  2. Open the Terminal and start Blender by typing its path. e.g /Applications/Blender.app/Contents/MacOS/Blender
  3. Open the AddOn Panel and Click 'Start Detection'.

That worked for me, here is the PR for the same @cgtinker : #155

Please, someone help me !

jofabbade commented 9 months ago

Now it's showing this message

Captura de Tela 2024-02-26 às 22 29 11