thugCodeNinja commited on
Commit
32aede9
1 Parent(s): fae9219

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -30,7 +30,8 @@ class DetectionPipeline:
30
 
31
  faces = []
32
  frames = []
33
- face2=None
 
34
  for j in range(v_len):
35
  success = v_cap.grab()
36
  if j in sample:
 
30
 
31
  faces = []
32
  frames = []
33
+ dummy_data = np.zeros((224, 224, 3), dtype=np.uint8)
34
+ face2 = dummy_data
35
  for j in range(v_len):
36
  success = v_cap.grab()
37
  if j in sample: