bhowiebkr / laser-level-webcam

A tool for measuring height in microns of arbitrary sized objects using a webcam and a laser level.
MIT License
141 stars 13 forks source link

Camera not granted permission #20

Open eduardsik opened 9 months ago

eduardsik commented 9 months ago

Mac, M2, latest OS

I have this error while running from the terminal: "qt.permissions: Could not find permission plugin for QCameraPermission. Please make sure you have included the required usage description in your Info.plist Access to camera not granted"

But the app starts and the camera is visible, without picture.

What shoud I do?

eduardsik commented 9 months ago

I tried on another mac and a same error.

python version 3.9.17 I can record with ffmpeg without permission: ffmpeg -f avfoundation -framerate 30 -i "0" -target pal-vcd ./test.mpg

bhowiebkr commented 6 months ago

Yeah it seems to be a problem with Mac and trying to get access to the camera using PySide. I'm not sure I can help with this. Maybe see what Google says about camera access with PySide on a Mac.