Luigi commited on
Commit
23c5da5
·
1 Parent(s): cd1cc4c

resize frame to 64x64

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -127,7 +127,7 @@ def caption_frame(frame, size, model_file, clip_file, interval_ms, sys_prompt, u
127
  img = cv2.resize(frame.copy(), (64, 64))
128
  elapsed = (time.time() - t_resize) * 1000
129
  timestamp = time.strftime('%H:%M:%S')
130
- debug_msgs.append(f"[{timestamp}] Resized to 384x384 in {elapsed:.1f} ms")
131
 
132
  timestamp = time.strftime('%H:%M:%S')
133
  debug_msgs.append(f"[{timestamp}] Sleeping for {interval_ms} ms")
 
127
  img = cv2.resize(frame.copy(), (64, 64))
128
  elapsed = (time.time() - t_resize) * 1000
129
  timestamp = time.strftime('%H:%M:%S')
130
+ debug_msgs.append(f"[{timestamp}] Resized to 64x64 in {elapsed:.1f} ms")
131
 
132
  timestamp = time.strftime('%H:%M:%S')
133
  debug_msgs.append(f"[{timestamp}] Sleeping for {interval_ms} ms")