CWrecker commited on
Commit
0402d46
1 Parent(s): f29dc51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -33,7 +33,8 @@ def inference(path:str, threshold:float=0.6):
33
  thickness = 1
34
  lineType = 2
35
 
36
- cv2.putText(img,str(cls),
 
37
  (int(box[0]), int(box[2])),
38
  font,
39
  fontScale,
 
33
  thickness = 1
34
  lineType = 2
35
 
36
+ cv2.putText(image,
37
+ str(cls),
38
  (int(box[0]), int(box[2])),
39
  font,
40
  fontScale,