This commit is contained in:
Tulis
2025-09-10 19:56:21 +02:00
parent 5ab222aee3
commit 35e0f79b35
2 changed files with 12 additions and 5 deletions

View File

@ -16,6 +16,7 @@ class Method:
def __init__(self, method_type):
self.method_type = method_type
print(method_type)
if method_type is "cam":
self.cap = cv2.VideoCapture(0)