-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
VideoCapture set manual exposure not working #14494
Copy link
Copy link
Closed
Labels
question (invalid tracker)ask questions and other "no action" items here: https://forum.opencv.orgask questions and other "no action" items here: https://forum.opencv.org
Description
System information (version)
- OpenCV => both 4.0.1 and 4.1.0
- Operating System / Platform => Ubuntu 16.04 x64
- Compiler => g++ 5
Detailed description
I followed the solution in #9738: I set AutoExposure to 0.25 first but found that the solution no longer works.
I cannot disable AutoExposure and setting Exposure property didn't change anything.
Steps to reproduce
import cv2
cap = cv2.VideoCapture(0)
cap.set(cv2.CAP_PROP_AUTO_EXPOSURE, 0.25)
cap.set(cv2.CAP_PROP_EXPOSURE, -7.0)
while True:
ret, frame = cap.read()
cv2.imshow('test', frame)
cv2.waitKey(1)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
question (invalid tracker)ask questions and other "no action" items here: https://forum.opencv.orgask questions and other "no action" items here: https://forum.opencv.org