Asadel Ann commited on
Commit
581e1b5
·
1 Parent(s): b1ebb30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def gambaran(image):
25
  label = "{}: {:.2f}%".format(mlb.classes_[j], proba[j] * 100)
26
  cv2.putText(output, label, (10, (i * 30) + 25),
27
  cv2.FONT_HERSHEY_SIMPLEX, 0.7, (0, 255, 0), 2)
28
- return imutils.resize(output, width=128)
29
 
30
 
31
 
 
25
  label = "{}: {:.2f}%".format(mlb.classes_[j], proba[j] * 100)
26
  cv2.putText(output, label, (10, (i * 30) + 25),
27
  cv2.FONT_HERSHEY_SIMPLEX, 0.7, (0, 255, 0), 2)
28
+ return output
29
 
30
 
31