DSatishchandra commited on
Commit
176b140
Β·
verified Β·
1 Parent(s): 7b0883c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -80,9 +80,8 @@ def live_feed_generator(video_type, confidence_threshold=0.9):
80
  # Draw detections on frame
81
  annotated_frame = video_service.draw_detections(frame, detections)
82
  annotated_frame_rgb = cv2.cvtColor(annotated_frame, cv2.COLOR_BGR2RGB)
83
- cv2.imshow("Debug Frame", annotated_frame_rgb)
84
- cv2.waitKey(1)
85
-
86
  print(f"Annotated frame shape: {annotated_frame_rgb.shape}")
87
 
88
  # Update state
 
80
  # Draw detections on frame
81
  annotated_frame = video_service.draw_detections(frame, detections)
82
  annotated_frame_rgb = cv2.cvtColor(annotated_frame, cv2.COLOR_BGR2RGB)
83
+ cv2.imshow("Debug Frame", annotated_frame_rgb)
84
+ cv2.waitKey(1)
 
85
  print(f"Annotated frame shape: {annotated_frame_rgb.shape}")
86
 
87
  # Update state