working
This commit is contained in:
@ -34,7 +34,7 @@ class Method:
|
||||
self.start_time = time.time()
|
||||
|
||||
def receive_frame(self):
|
||||
if self.method_type is "cam":
|
||||
if self.method_type == "cam":
|
||||
_, frame = self.cap.read()
|
||||
|
||||
if not _:
|
||||
|
||||
Reference in New Issue
Block a user