mirror of
https://github.com/boltgolt/howdy.git
synced 2024-09-19 09:51:19 +02:00
rename wrong attribute name to prevent AttributeError PYthon Exception
This commit is contained in:
parent
943f1e14e2
commit
b1f161da41
1 changed files with 2 additions and 2 deletions
|
@ -192,8 +192,8 @@ try:
|
||||||
# are captured and even after a delay it does not
|
# are captured and even after a delay it does not
|
||||||
# always work. Setting exposure at every frame is
|
# always work. Setting exposure at every frame is
|
||||||
# reliable though.
|
# reliable though.
|
||||||
video_capture.intenal.set(cv2.CAP_PROP_AUTO_EXPOSURE, 1.0) # 1 = Manual
|
video_capture.internal.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_EXPOSURE, float(exposure))
|
||||||
|
|
||||||
# On ctrl+C
|
# On ctrl+C
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
|
Loading…
Reference in a new issue