1.Which seller did you purchase the product(s) from?
2.The Model number of the product(s) you have purchased?
3.Which Platform are you using the product(s) on?
Python Mac OSX
4.Which instruction are you following?
https://stackoverflow.com/questions/11420748/setting-camera-parameters-in-opencv-python I also got this functionality working on a Raspberry Pi 4 with the Pi Camera.
5.Has your product ever worked properly?
it works properly but I cannot set the exposure manually with opencv python
6.What problems are you experiencing?
I am trying to set the auto exposure off on the B020201 camera module.
I am using opencv 18.104.22.168 in python 3.8.0 on mac osx Big Sur. the camera works and I am able to run my python script but I cannot set the auto exposure off and control it manually.
This is my code
cam = cv2.VideoCapture(cam_id)
cam.set(cv2.CAP_PROP_FOURCC, cv2.VideoWriter.fourcc(‘UYVY’)) #I also tried cv2.VideoWriter.fourcc(‘MJPG’)
cam.set(cv2.CAP_PROP_AUTO_EXPOSURE, 0.75) # I also tried cam.set(cv2.CAP_PROP_AUTO_EXPOSURE, 0.25)
The print statement always returns 0.0 no matter what I do and the auto exposure is always on.
Can you help me with this issue?
Thanks in advance
7.What attempts at troubleshooting have you already made?
8.How would you like us to help you?
Could you please provide code or a workflow to achieve the goal of turning off uto exposure in python with opencv