alexrods commited on
Commit
42507be
·
1 Parent(s): 8e9a759

Update prediction.py

Browse files
Files changed (1) hide show
  1. prediction.py +1 -1
prediction.py CHANGED
@@ -175,7 +175,7 @@ class smartcities:
175
 
176
  for (i, (k,v)) in enumerate(info):
177
  text = "{}: {}".format(k,v)
178
- cv2.putText(frame, text, (10, H - ((i*20) + 20)), cv2.FONT_HERSHEY_SIMPLEX, 0.6, (0,0,255), 2)
179
 
180
  # Almacenamos el framme en nuestro video resultante.
181
  writer.write(frame)
 
175
 
176
  for (i, (k,v)) in enumerate(info):
177
  text = "{}: {}".format(k,v)
178
+ cv2.putText(frame, idx, (10, H - ((i*20) + 20)), cv2.FONT_HERSHEY_SIMPLEX, 0.6, (0,0,255), 2)
179
 
180
  # Almacenamos el framme en nuestro video resultante.
181
  writer.write(frame)