Open In-Vitr0 opened 2 years ago
Same here, I have tried building it, it opens but it doesn't show the camera, it's just blank. I have run it in the Qt Creator debugger, and it is unable to open the camera.
I believe the reason it does not work is that Apple changed the security permissions to access a Camera, an application needs to properly request permission to use a camera.
Confirmed, not opening in Monterey.
I'd love to see a push to this repo that fixes this issue
Last year I started work on this, see the note here: https://github.com/groupgets/GetThermal/tree/master%2Bfix-mac-build#macos
Unfortunately I don't really know how to deal with just opening the application and having it get the right permissions, but if you run the application from the command line with sudo, it works: sudo ./GetThermal.app/Contents/MacOS/GetThermal
Which version of GetThermal are you using? Running with sudo also fails.
Tried it with 0.13 and 0.14
sudo ./GetThermal.app/Contents/MacOS/GetThermal
UVC initialized
Device found
uvc_open: Access denied (-3)
Surface set. Supported formats: 18 19 22 23 20 21 3 1 10 8 5
qrc:/controls/CameraControls.qml:56: TypeError: Cannot read property 'objectName' of null
Surface supports format 0 width -1 height -1qrc:/controls/VideoRoi.qml:18: TypeError: Cannot read property 'height' of undefined
qrc:/controls/VideoRoi.qml:17: TypeError: Cannot read property 'width' of undefined
qrc:/controls/VideoRoi.qml:16: TypeError: Cannot read property 'y' of undefined
qrc:/controls/VideoRoi.qml:15: TypeError: Cannot read property 'x' of undefined
qrc:/ViewerForm.ui.qml:57: TypeError: Cannot read property 'radSpotmeterRoi' of null
qrc:/ViewerForm.ui.qml:53: TypeError: Cannot read property 'supportsRadiometry' of null
qrc:/ViewerForm.ui.qml:69: TypeError: Cannot read property 'supportsRadiometry' of null
qrc:/controls/SpotInfo.qml:11: TypeError: Cannot read property 'radTLinearResolution' of null
qrc:/controls/SpotInfo.qml:46: TypeError: Cannot read property 'radSpotmeterInKelvinX100' of null
qrc:/controls/RangeDisplay.qml:11: TypeError: Cannot read property 'radTLinearResolution' of null
TIP: this app works perfect to quickly view the camera https://apps.apple.com/us/app/quick-camera/id598853070?mt=12
The Programm wont start and freezes.