Группа :: Система/Ядро и оборудование
Пакет: howdy
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: howdy-pull-673.patch
Скачать
Скачать
From b1f161da41236d36b2535c82eeadeafc2734ee9c Mon Sep 17 00:00:00 2001
From: Nuttapong Punpipat <nuttapongpunpipat@gmail.com>
Date: Fri, 20 May 2022 20:29:40 +0700
Subject: [PATCH] rename wrong attribute name to prevent AttributeError PYthon
Exception
---
howdy/src/cli/test.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/howdy/src/cli/test.py b/howdy/src/cli/test.py
index 8933797..f7b7d01 100644
--- a/howdy/src/cli/test.py
+++ b/howdy/src/cli/test.py
@@ -192,8 +192,8 @@ def print_text(line_number, text):
# 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))
# On ctrl+C
except KeyboardInterrupt: