From d3063a60487444f70fc1fa60802ee42c466561ff Mon Sep 17 00:00:00 2001
From: Tulis <79586741+Tulis12@users.noreply.github.com>
Date: Wed, 10 Sep 2025 19:59:07 +0200
Subject: [PATCH] working
---
.idea/workspace.xml | 12 ++++++++++--
video_methods.py | 3 +--
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index f4ac791..594acc6 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -150,7 +150,7 @@
-
+
@@ -176,7 +176,15 @@
1757526666977
-
+
+
+ 1757526984452
+
+
+
+ 1757526984452
+
+
diff --git a/video_methods.py b/video_methods.py
index 27ecd39..0fd8613 100644
--- a/video_methods.py
+++ b/video_methods.py
@@ -16,8 +16,7 @@ class Method:
def __init__(self, method_type):
self.method_type = method_type
- print(method_type)
- if method_type is "cam":
+ if method_type == "cam":
self.cap = cv2.VideoCapture(0)
if not self.cap.isOpened():