BlendArMocap icon indicating copy to clipboard operation
BlendArMocap copied to clipboard

BlendArMocap always crash

Open elastikukk opened this issue 2 years ago • 6 comments

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

elastikukk avatar Apr 14 '23 16:04 elastikukk

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.

cgtinker avatar Apr 21 '23 11:04 cgtinker

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

suyashcjoshi avatar Apr 27 '23 12:04 suyashcjoshi

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 avatar Feb 27 '24 01:02 jofabbade

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 avatar Feb 27 '24 01:02 jofabbade

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 avatar Feb 27 '24 01:02 jofabbade

Now it's showing this message

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

jofabbade avatar Feb 27 '24 01:02 jofabbade