Pratyush101 commited on
Commit
894afb1
·
verified ·
1 Parent(s): 4d05b44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -109,6 +109,9 @@ def video_frame_callback(frame: av.VideoFrame) -> av.VideoFrame:
109
  bbox = hand["bbox"]
110
  cv2.rectangle(img, (bbox[0], bbox[1]), (bbox[0]+bbox[2], bbox[1]+bbox[3]), (255, 0, 0), 2)
111
 
 
 
 
112
  result_queue.put(hands)
113
 
114
 
 
109
  bbox = hand["bbox"]
110
  cv2.rectangle(img, (bbox[0], bbox[1]), (bbox[0]+bbox[2], bbox[1]+bbox[3]), (255, 0, 0), 2)
111
 
112
+ cv2.putText(img, 'OpenCV', (50,50), font,
113
+ fontScale, color, thickness, cv2.LINE_AA)
114
+
115
  result_queue.put(hands)
116
 
117