Update app.py
Browse files
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(
|
|
|
|
| 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,
|