From 8ec757db75115d0e971e42aefdb1bb46b51390cf Mon Sep 17 00:00:00 2001 From: jack G <49022851+ZiJace@users.noreply.github.com> Date: Wed, 16 Oct 2019 09:26:16 +0800 Subject: [PATCH] Update Video.py --- Code/Client/Video.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Code/Client/Video.py b/Code/Client/Video.py index 037d022..961a5d3 100644 --- a/Code/Client/Video.py +++ b/Code/Client/Video.py @@ -72,6 +72,7 @@ class VideoStreaming: image = cv2.imdecode(np.frombuffer(jpg, dtype=np.uint8), cv2.IMREAD_COLOR) if self.video_Flag: self.face_detect(image) + self.video_Flag=False except: break