gurwindersingh commited on
Commit
3c26090
·
1 Parent(s): 2976284

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ if img_file_buffer is not None:
107
  y1, x2, y2, x1 = y1*4,x2*4,y2*4,x1*4
108
  cv2.rectangle(image,(x1,y1),(x2,y2),(0,255,0),2)
109
  cv2.rectangle(image,(x1,y2-35),(x2,y2),(0,255,0),cv2.FILLED)
110
- cv2.putText(image,name,(x1+6,y2-6),cv2.FONT_HERSHEY_COMPLEX,1,(255, 255, 255),2
111
  st.image(image, use_column_width=True)
112
  ##############
113
  if name:
 
107
  y1, x2, y2, x1 = y1*4,x2*4,y2*4,x1*4
108
  cv2.rectangle(image,(x1,y1),(x2,y2),(0,255,0),2)
109
  cv2.rectangle(image,(x1,y2-35),(x2,y2),(0,255,0),cv2.FILLED)
110
+ cv2.putText(image,name,(x1+6,y2-6),cv2.FONT_HERSHEY_COMPLEX,1,(255, 255, 255),2)
111
  st.image(image, use_column_width=True)
112
  ##############
113
  if name: