Fixed typo that caused an error

This commit is contained in:
Simon 2020-07-03 00:15:44 +02:00 committed by GitHub
parent a776c49ade
commit 9a0da43955
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -291,5 +291,5 @@ while True:
# are captured and even after a delay it does not
# always work. Setting exposure at every frame is
# reliable though.
video_capture.intenal.set(cv2.CAP_PROP_AUTO_EXPOSURE, 1.0) # 1 = Manual
video_capture.intenal.set(cv2.CAP_PROP_EXPOSURE, float(exposure))
video_capture.internal.set(cv2.CAP_PROP_AUTO_EXPOSURE, 1.0) # 1 = Manual
video_capture.internal.set(cv2.CAP_PROP_EXPOSURE, float(exposure))