Skip to content

VideoCapture set manual exposure not working #14494

@hez2010

Description

@hez2010
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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    question (invalid tracker)ask questions and other "no action" items here: https://forum.opencv.org

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions