Update app.py
Browse files
app.py
CHANGED
@@ -176,6 +176,8 @@ if file_str:
|
|
176 |
t1 = time.time()
|
177 |
boxes, scores, classes, nums = yolo.predict(img_in, verbose=False)
|
178 |
|
|
|
|
|
179 |
if nums > 0:
|
180 |
|
181 |
ax.cla()
|
|
|
176 |
t1 = time.time()
|
177 |
boxes, scores, classes, nums = yolo.predict(img_in, verbose=False)
|
178 |
|
179 |
+
print('number of objects:', nums)
|
180 |
+
|
181 |
if nums > 0:
|
182 |
|
183 |
ax.cla()
|