Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,8 +9,8 @@ model.fuse()
|
|
| 9 |
|
| 10 |
# Configurar cámaras
|
| 11 |
camaras = {
|
| 12 |
-
'camara1': 0,
|
| 13 |
-
'camara2': 0,
|
| 14 |
}
|
| 15 |
|
| 16 |
def tracking(source, iou, conf):
|
|
@@ -42,7 +42,7 @@ def inferir_camara(index, source, iou, conf, st_frame, st_cantidad, stop_button_
|
|
| 42 |
|
| 43 |
res_plotted = resultado[0].plot()
|
| 44 |
st_frame.image(res_plotted,
|
| 45 |
-
caption='Detected Video',
|
| 46 |
channels="RGB",
|
| 47 |
use_column_width=True
|
| 48 |
)
|
|
|
|
| 9 |
|
| 10 |
# Configurar cámaras
|
| 11 |
camaras = {
|
| 12 |
+
'camara1': 'IMG_0559.mov', #0,
|
| 13 |
+
'camara2': 'IMG_0559.mov', #0,
|
| 14 |
}
|
| 15 |
|
| 16 |
def tracking(source, iou, conf):
|
|
|
|
| 42 |
|
| 43 |
res_plotted = resultado[0].plot()
|
| 44 |
st_frame.image(res_plotted,
|
| 45 |
+
#caption='Detected Video',
|
| 46 |
channels="RGB",
|
| 47 |
use_column_width=True
|
| 48 |
)
|