Control webcam exposure with Python on Mac
Budget: $10 – $30 USD
Hi. I need to be able to set webcam exposure to 5ms.
On linux I use OpenCV -
cap.set(cv2.CAP_PROP_EXPOSURE, 5)
But on Mac it doesn’t work. As I believe Mac OpenCV does not support it.
However, I was able to control it with this app - https://github.com/Itaybre/CameraController
What proves to me it’s possible. But probably would need to be done with Xcode Swift script somehow and run that from within the python.
Or I can run CLI command from python, but can’t find any working CLI command.
On linux I use OpenCV -
cap.set(cv2.CAP_PROP_EXPOSURE, 5)
But on Mac it doesn’t work. As I believe Mac OpenCV does not support it.
However, I was able to control it with this app - https://github.com/Itaybre/CameraController
What proves to me it’s possible. But probably would need to be done with Xcode Swift script somehow and run that from within the python.
Or I can run CLI command from python, but can’t find any working CLI command.