Kexin-251202 commited on
Commit
a66ecb8
·
verified ·
1 Parent(s): a3f40ad

debug main.py

Browse files

delete detection yolo in line 142

Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -139,7 +139,7 @@ class VideoTransformTrack(VideoStreamTrack):
139
 
140
  if do_infer and mlp_pipeline is not None:
141
  self.last_inference_time = now
142
- out = mlp_pipeline.process_frame(img)detections = parse_yolo_results(results)
143
  is_focused = out["is_focused"]
144
  confidence = out["mlp_prob"]
145
  metadata = {"s_face": out["s_face"], "s_eye": out["s_eye"], "mar": out["mar"]}
 
139
 
140
  if do_infer and mlp_pipeline is not None:
141
  self.last_inference_time = now
142
+ out = mlp_pipeline.process_frame(img)
143
  is_focused = out["is_focused"]
144
  confidence = out["mlp_prob"]
145
  metadata = {"s_face": out["s_face"], "s_eye": out["s_eye"], "mar": out["mar"]}