Update Video.py
This commit is contained in:
		
							parent
							
								
									816bae97f7
								
							
						
					
					
						commit
						8ec757db75
					
				| @ -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 | ||||
|                    | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user