Control webcam exposure with Python on Mac

Job ID: 36824994

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.
Related categories: Python Mac OS Swift OpenCV Apple Xcode