shamimjony1000 commited on
Commit
80c0d03
·
1 Parent(s): cccf909

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def detect_objects_on_image(image_path):
52
  lineType=cv2.LINE_AA
53
  )
54
 
55
- cv2.putText(image, class_name, (x1, y1), cv2.FONT_HERSHEY_COMPLEX_SMALL, 0.5, (36, 255, 12), 2)
56
 
57
  return cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
58
 
 
52
  lineType=cv2.LINE_AA
53
  )
54
 
55
+ cv2.putText(image, class_name, (x1, y1), cv2.FONT_HERSHEY_SIMPLEX, 0.5, (36, 255, 12), 2)
56
 
57
  return cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
58