Shivdutta commited on
Commit
83cc83a
1 Parent(s): 507214e

Upload 2 files

Browse files
Files changed (2) hide show
  1. app.ipynb +320 -8
  2. app.py +3 -8
app.ipynb CHANGED
@@ -18,7 +18,7 @@
18
  "output_type": "stream",
19
  "text": [
20
  "Running on local URL: http://127.0.0.1:7860\n",
21
- "Running on public URL: https://115f49f564465f60ec.gradio.live\n",
22
  "\n",
23
  "This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)\n"
24
  ]
@@ -26,7 +26,7 @@
26
  {
27
  "data": {
28
  "text/html": [
29
- "<div><iframe src=\"https://115f49f564465f60ec.gradio.live\" width=\"100%\" height=\"500\" allow=\"autoplay; camera; microphone; clipboard-read; clipboard-write;\" frameborder=\"0\" allowfullscreen></iframe></div>"
30
  ],
31
  "text/plain": [
32
  "<IPython.core.display.HTML object>"
@@ -42,6 +42,324 @@
42
  "execution_count": 1,
43
  "metadata": {},
44
  "output_type": "execute_result"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  }
46
  ],
47
  "source": [
@@ -66,18 +384,12 @@
66
  " gr.Markdown(\n",
67
  " \"\"\"\n",
68
  " # Vehicle detection using Yolo-v9\n",
69
- " Upload the vehicle image or video for detection\n",
70
  " \"\"\"\n",
71
  " )\n",
72
  "\n",
73
  " with gr.Tab(\"Video\"):\n",
74
  " gr.Markdown(\n",
75
  " \"\"\"\n",
76
- " Upload video mp4 file and detect the count of vehicles passing by\n",
77
- " \"\"\"\n",
78
- " )\n",
79
- " gr.Markdown(\n",
80
- " \"\"\"\n",
81
  " Upload image file and detect vehicles present in the image\n",
82
  " \"\"\"\n",
83
  " )\n",
 
18
  "output_type": "stream",
19
  "text": [
20
  "Running on local URL: http://127.0.0.1:7860\n",
21
+ "Running on public URL: https://791bc0246f844ee823.gradio.live\n",
22
  "\n",
23
  "This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)\n"
24
  ]
 
26
  {
27
  "data": {
28
  "text/html": [
29
+ "<div><iframe src=\"https://791bc0246f844ee823.gradio.live\" width=\"100%\" height=\"500\" allow=\"autoplay; camera; microphone; clipboard-read; clipboard-write;\" frameborder=\"0\" allowfullscreen></iframe></div>"
30
  ],
31
  "text/plain": [
32
  "<IPython.core.display.HTML object>"
 
42
  "execution_count": 1,
43
  "metadata": {},
44
  "output_type": "execute_result"
45
+ },
46
+ {
47
+ "name": "stderr",
48
+ "output_type": "stream",
49
+ "text": [
50
+ "\u001b[34m\u001b[1mdetect: \u001b[0mweights=['yolov9/runs/train/exp/weights/best.pt'], source=/tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4, data=yolov9/data/coco128.yaml, imgsz=[640, 640], conf_thres=0.25, iou_thres=0.45, max_det=1000, device=cpu, view_img=False, save_txt=False, save_conf=False, save_crop=False, nosave=False, classes=None, agnostic_nms=False, augment=False, visualize=False, update=False, project=yolov9/runs/detect, name=664a80cf-ce01-4bde-a090-59a93c91e364, exist_ok=False, line_thickness=3, hide_labels=False, hide_conf=False, half=False, dnn=False, vid_stride=1\n",
51
+ "YOLO 🚀 v0.1-89-g93f1a28 Python-3.10.14 torch-2.3.0+cu121 CPU\n",
52
+ "\n",
53
+ "Fusing layers... \n",
54
+ "yolov9-e summary: 839 layers, 68555524 parameters, 0 gradients, 240.7 GFLOPs\n",
55
+ "video 1/1 (1/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1617.8ms\n",
56
+ "video 1/1 (2/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1498.3ms\n",
57
+ "video 1/1 (3/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1423.7ms\n",
58
+ "video 1/1 (4/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1210.8ms\n",
59
+ "video 1/1 (5/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1229.1ms\n",
60
+ "video 1/1 (6/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1367.8ms\n",
61
+ "video 1/1 (7/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1486.9ms\n",
62
+ "video 1/1 (8/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1732.3ms\n",
63
+ "video 1/1 (9/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1402.7ms\n",
64
+ "video 1/1 (10/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1858.0ms\n",
65
+ "video 1/1 (11/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1615.1ms\n",
66
+ "video 1/1 (12/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1792.2ms\n",
67
+ "video 1/1 (13/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1551.3ms\n",
68
+ "video 1/1 (14/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1571.0ms\n",
69
+ "video 1/1 (15/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1474.8ms\n",
70
+ "video 1/1 (16/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1637.9ms\n",
71
+ "video 1/1 (17/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1 van, 1295.5ms\n",
72
+ "video 1/1 (18/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1380.6ms\n",
73
+ "video 1/1 (19/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1345.8ms\n",
74
+ "video 1/1 (20/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1770.9ms\n",
75
+ "video 1/1 (21/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1 van, 1809.7ms\n",
76
+ "video 1/1 (22/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1918.3ms\n",
77
+ "video 1/1 (23/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1860.6ms\n",
78
+ "video 1/1 (24/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1600.9ms\n",
79
+ "video 1/1 (25/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1517.5ms\n",
80
+ "video 1/1 (26/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1367.2ms\n",
81
+ "video 1/1 (27/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1407.6ms\n",
82
+ "video 1/1 (28/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1713.2ms\n",
83
+ "video 1/1 (29/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1462.8ms\n",
84
+ "video 1/1 (30/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1366.6ms\n",
85
+ "video 1/1 (31/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1352.2ms\n",
86
+ "video 1/1 (32/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1427.2ms\n",
87
+ "video 1/1 (33/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1354.8ms\n",
88
+ "video 1/1 (34/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1757.6ms\n",
89
+ "video 1/1 (35/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1565.0ms\n",
90
+ "video 1/1 (36/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1360.9ms\n",
91
+ "video 1/1 (37/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1336.4ms\n",
92
+ "video 1/1 (38/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1 van, 1346.2ms\n",
93
+ "video 1/1 (39/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1585.9ms\n",
94
+ "video 1/1 (40/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1748.5ms\n",
95
+ "video 1/1 (41/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1637.9ms\n",
96
+ "video 1/1 (42/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1643.6ms\n",
97
+ "video 1/1 (43/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1 truck, 1350.5ms\n",
98
+ "video 1/1 (44/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1 truck, 1349.9ms\n",
99
+ "video 1/1 (45/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1 truck, 1505.7ms\n",
100
+ "video 1/1 (46/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1 truck, 1360.1ms\n",
101
+ "video 1/1 (47/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1 truck, 1957.5ms\n",
102
+ "video 1/1 (48/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1750.8ms\n",
103
+ "video 1/1 (49/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1848.5ms\n",
104
+ "video 1/1 (50/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 2061.5ms\n",
105
+ "video 1/1 (51/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1850.6ms\n",
106
+ "video 1/1 (52/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1762.5ms\n",
107
+ "video 1/1 (53/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1783.8ms\n",
108
+ "video 1/1 (54/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1746.4ms\n",
109
+ "video 1/1 (55/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 2082.8ms\n",
110
+ "video 1/1 (56/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1693.8ms\n",
111
+ "video 1/1 (57/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1713.7ms\n",
112
+ "video 1/1 (58/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1897.3ms\n",
113
+ "video 1/1 (59/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1762.7ms\n",
114
+ "video 1/1 (60/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1287.9ms\n",
115
+ "video 1/1 (61/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1363.6ms\n",
116
+ "video 1/1 (62/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1741.8ms\n",
117
+ "video 1/1 (63/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1904.4ms\n",
118
+ "video 1/1 (64/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1551.2ms\n",
119
+ "video 1/1 (65/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1419.4ms\n",
120
+ "video 1/1 (66/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 motorbike, 1397.5ms\n",
121
+ "video 1/1 (67/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 motorbike, 1341.1ms\n",
122
+ "video 1/1 (68/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 motorbike, 1316.7ms\n",
123
+ "video 1/1 (69/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1437.2ms\n",
124
+ "video 1/1 (70/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1657.5ms\n",
125
+ "video 1/1 (71/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 2071.2ms\n",
126
+ "video 1/1 (72/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1292.7ms\n",
127
+ "video 1/1 (73/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 2008.9ms\n",
128
+ "video 1/1 (74/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1982.5ms\n",
129
+ "video 1/1 (75/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1729.7ms\n",
130
+ "video 1/1 (76/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1444.6ms\n",
131
+ "video 1/1 (77/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1343.1ms\n",
132
+ "video 1/1 (78/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1760.5ms\n",
133
+ "video 1/1 (79/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1210.4ms\n",
134
+ "video 1/1 (80/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1317.0ms\n",
135
+ "video 1/1 (81/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1353.9ms\n",
136
+ "video 1/1 (82/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1237.0ms\n",
137
+ "video 1/1 (83/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1205.9ms\n",
138
+ "video 1/1 (84/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1264.0ms\n",
139
+ "video 1/1 (85/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1252.5ms\n",
140
+ "video 1/1 (86/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1196.9ms\n",
141
+ "video 1/1 (87/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1232.6ms\n",
142
+ "video 1/1 (88/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1209.6ms\n",
143
+ "video 1/1 (89/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1221.0ms\n",
144
+ "video 1/1 (90/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1215.6ms\n",
145
+ "video 1/1 (91/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1231.0ms\n",
146
+ "video 1/1 (92/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1239.0ms\n",
147
+ "video 1/1 (93/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1208.7ms\n",
148
+ "video 1/1 (94/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1236.9ms\n",
149
+ "video 1/1 (95/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1296.0ms\n",
150
+ "video 1/1 (96/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1338.0ms\n",
151
+ "video 1/1 (97/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1286.2ms\n",
152
+ "video 1/1 (98/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1796.7ms\n",
153
+ "video 1/1 (99/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1748.5ms\n",
154
+ "video 1/1 (100/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1418.3ms\n",
155
+ "video 1/1 (101/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1999.2ms\n",
156
+ "video 1/1 (102/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1579.0ms\n",
157
+ "video 1/1 (103/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1557.5ms\n",
158
+ "video 1/1 (104/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1629.7ms\n",
159
+ "video 1/1 (105/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1864.5ms\n",
160
+ "video 1/1 (106/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 2215.0ms\n",
161
+ "video 1/1 (107/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1901.7ms\n",
162
+ "video 1/1 (108/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1436.2ms\n",
163
+ "video 1/1 (109/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1529.7ms\n",
164
+ "video 1/1 (110/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1792.2ms\n",
165
+ "video 1/1 (111/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1901.2ms\n",
166
+ "video 1/1 (112/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1921.0ms\n",
167
+ "video 1/1 (113/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1629.0ms\n",
168
+ "video 1/1 (114/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1450.5ms\n",
169
+ "video 1/1 (115/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1564.9ms\n",
170
+ "video 1/1 (116/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1463.9ms\n",
171
+ "video 1/1 (117/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1663.2ms\n",
172
+ "video 1/1 (118/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1442.1ms\n",
173
+ "video 1/1 (119/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1427.3ms\n",
174
+ "video 1/1 (120/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1444.2ms\n",
175
+ "video 1/1 (121/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1454.4ms\n",
176
+ "video 1/1 (122/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1653.9ms\n",
177
+ "video 1/1 (123/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1434.5ms\n",
178
+ "video 1/1 (124/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1626.5ms\n",
179
+ "video 1/1 (125/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1454.0ms\n",
180
+ "video 1/1 (126/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1457.9ms\n",
181
+ "video 1/1 (127/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1836.1ms\n",
182
+ "video 1/1 (128/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1420.4ms\n",
183
+ "video 1/1 (129/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1723.8ms\n",
184
+ "video 1/1 (130/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1564.8ms\n",
185
+ "video 1/1 (131/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1664.1ms\n",
186
+ "video 1/1 (132/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1345.8ms\n",
187
+ "video 1/1 (133/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1371.5ms\n",
188
+ "video 1/1 (134/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1445.4ms\n",
189
+ "video 1/1 (135/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1336.2ms\n",
190
+ "video 1/1 (136/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1349.8ms\n",
191
+ "video 1/1 (137/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1343.9ms\n",
192
+ "video 1/1 (138/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1315.3ms\n",
193
+ "video 1/1 (139/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1345.9ms\n",
194
+ "video 1/1 (140/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1455.4ms\n",
195
+ "video 1/1 (141/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1494.6ms\n",
196
+ "video 1/1 (142/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1350.8ms\n",
197
+ "video 1/1 (143/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1339.6ms\n",
198
+ "video 1/1 (144/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1345.9ms\n",
199
+ "video 1/1 (145/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1345.9ms\n",
200
+ "video 1/1 (146/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1410.9ms\n",
201
+ "video 1/1 (147/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1351.5ms\n",
202
+ "video 1/1 (148/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1329.8ms\n",
203
+ "video 1/1 (149/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1355.6ms\n",
204
+ "video 1/1 (150/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1325.9ms\n",
205
+ "video 1/1 (151/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1343.5ms\n",
206
+ "video 1/1 (152/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1446.5ms\n",
207
+ "video 1/1 (153/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1336.6ms\n",
208
+ "video 1/1 (154/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1334.9ms\n",
209
+ "video 1/1 (155/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1352.8ms\n",
210
+ "video 1/1 (156/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 bus, 1 van, 1330.9ms\n",
211
+ "video 1/1 (157/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1333.1ms\n",
212
+ "video 1/1 (158/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1423.5ms\n",
213
+ "video 1/1 (159/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1388.5ms\n",
214
+ "video 1/1 (160/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1348.3ms\n",
215
+ "video 1/1 (161/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1347.2ms\n",
216
+ "video 1/1 (162/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1331.1ms\n",
217
+ "video 1/1 (163/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1348.0ms\n",
218
+ "video 1/1 (164/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1344.7ms\n",
219
+ "video 1/1 (165/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1390.6ms\n",
220
+ "video 1/1 (166/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1781.9ms\n",
221
+ "video 1/1 (167/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1761.0ms\n",
222
+ "video 1/1 (168/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1711.0ms\n",
223
+ "video 1/1 (169/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 bus, 1 van, 1400.1ms\n",
224
+ "video 1/1 (170/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 van, 1365.8ms\n",
225
+ "video 1/1 (171/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1350.7ms\n",
226
+ "video 1/1 (172/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1456.7ms\n",
227
+ "video 1/1 (173/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1344.1ms\n",
228
+ "video 1/1 (174/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1387.6ms\n",
229
+ "video 1/1 (175/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1798.7ms\n",
230
+ "video 1/1 (176/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1335.4ms\n",
231
+ "video 1/1 (177/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1333.7ms\n",
232
+ "video 1/1 (178/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1391.0ms\n",
233
+ "video 1/1 (179/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1349.9ms\n",
234
+ "video 1/1 (180/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1415.8ms\n",
235
+ "video 1/1 (181/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1350.0ms\n",
236
+ "video 1/1 (182/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1 truck, 1427.1ms\n",
237
+ "video 1/1 (183/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1374.4ms\n",
238
+ "video 1/1 (184/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1 truck, 1364.6ms\n",
239
+ "video 1/1 (185/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1 truck, 1361.1ms\n",
240
+ "video 1/1 (186/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1 truck, 1413.5ms\n",
241
+ "video 1/1 (187/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1 truck, 1359.4ms\n",
242
+ "video 1/1 (188/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1 truck, 1373.3ms\n",
243
+ "video 1/1 (189/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1 truck, 1359.6ms\n",
244
+ "video 1/1 (190/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1 truck, 1357.8ms\n",
245
+ "video 1/1 (191/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1 truck, 1377.1ms\n",
246
+ "video 1/1 (192/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1350.0ms\n",
247
+ "video 1/1 (193/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1391.0ms\n",
248
+ "video 1/1 (194/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1368.1ms\n",
249
+ "video 1/1 (195/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1393.7ms\n",
250
+ "video 1/1 (196/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1348.6ms\n",
251
+ "video 1/1 (197/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1378.1ms\n",
252
+ "video 1/1 (198/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1345.8ms\n",
253
+ "video 1/1 (199/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1342.3ms\n",
254
+ "video 1/1 (200/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1419.2ms\n",
255
+ "video 1/1 (201/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1381.2ms\n",
256
+ "video 1/1 (202/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1354.4ms\n",
257
+ "video 1/1 (203/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1358.4ms\n",
258
+ "video 1/1 (204/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1330.1ms\n",
259
+ "video 1/1 (205/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1360.7ms\n",
260
+ "video 1/1 (206/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1345.1ms\n",
261
+ "video 1/1 (207/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1344.1ms\n",
262
+ "video 1/1 (208/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1380.4ms\n",
263
+ "video 1/1 (209/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1516.9ms\n",
264
+ "video 1/1 (210/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1574.6ms\n",
265
+ "video 1/1 (211/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1349.1ms\n",
266
+ "video 1/1 (212/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1361.3ms\n",
267
+ "video 1/1 (213/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1329.6ms\n",
268
+ "video 1/1 (214/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1406.1ms\n",
269
+ "video 1/1 (215/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1344.9ms\n",
270
+ "video 1/1 (216/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1409.7ms\n",
271
+ "video 1/1 (217/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1382.0ms\n",
272
+ "video 1/1 (218/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1369.6ms\n",
273
+ "video 1/1 (219/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1342.9ms\n",
274
+ "video 1/1 (220/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1411.7ms\n",
275
+ "video 1/1 (221/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1397.4ms\n",
276
+ "video 1/1 (222/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1329.8ms\n",
277
+ "video 1/1 (223/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1346.3ms\n",
278
+ "video 1/1 (224/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1348.2ms\n",
279
+ "video 1/1 (225/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1593.1ms\n",
280
+ "video 1/1 (226/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1335.0ms\n",
281
+ "video 1/1 (227/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1345.2ms\n",
282
+ "video 1/1 (228/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1339.9ms\n",
283
+ "video 1/1 (229/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1397.7ms\n",
284
+ "video 1/1 (230/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1356.2ms\n",
285
+ "video 1/1 (231/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1390.5ms\n",
286
+ "video 1/1 (232/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1350.1ms\n",
287
+ "video 1/1 (233/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1365.0ms\n",
288
+ "video 1/1 (234/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1735.1ms\n",
289
+ "video 1/1 (235/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1445.3ms\n",
290
+ "video 1/1 (236/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1344.4ms\n",
291
+ "video 1/1 (237/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1340.4ms\n",
292
+ "video 1/1 (238/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1351.1ms\n",
293
+ "video 1/1 (239/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1346.8ms\n",
294
+ "video 1/1 (240/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1338.5ms\n",
295
+ "video 1/1 (241/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1387.6ms\n",
296
+ "video 1/1 (242/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1442.2ms\n",
297
+ "video 1/1 (243/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1325.5ms\n",
298
+ "video 1/1 (244/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1350.5ms\n",
299
+ "video 1/1 (245/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1361.8ms\n",
300
+ "video 1/1 (246/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1337.1ms\n",
301
+ "video 1/1 (247/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1344.6ms\n",
302
+ "video 1/1 (248/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1401.4ms\n",
303
+ "video 1/1 (249/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1337.2ms\n",
304
+ "video 1/1 (250/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1346.8ms\n",
305
+ "video 1/1 (251/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1356.8ms\n",
306
+ "video 1/1 (252/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1353.3ms\n",
307
+ "video 1/1 (253/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1363.3ms\n",
308
+ "video 1/1 (254/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1442.7ms\n",
309
+ "video 1/1 (255/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1453.3ms\n",
310
+ "video 1/1 (256/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1341.0ms\n",
311
+ "video 1/1 (257/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1325.8ms\n",
312
+ "video 1/1 (258/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1348.7ms\n",
313
+ "video 1/1 (259/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1628.3ms\n",
314
+ "video 1/1 (260/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1498.0ms\n",
315
+ "video 1/1 (261/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1980.8ms\n",
316
+ "video 1/1 (262/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1738.5ms\n",
317
+ "video 1/1 (263/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1351.8ms\n",
318
+ "video 1/1 (264/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 2 cars, 1439.5ms\n",
319
+ "video 1/1 (265/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1331.8ms\n",
320
+ "video 1/1 (266/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1734.1ms\n",
321
+ "video 1/1 (267/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1780.9ms\n",
322
+ "video 1/1 (268/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1848.5ms\n",
323
+ "video 1/1 (269/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1778.2ms\n",
324
+ "video 1/1 (270/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1787.7ms\n",
325
+ "video 1/1 (271/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1798.7ms\n",
326
+ "video 1/1 (272/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1712.4ms\n",
327
+ "video 1/1 (273/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1781.3ms\n",
328
+ "video 1/1 (274/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1341.2ms\n",
329
+ "video 1/1 (275/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1402.7ms\n",
330
+ "video 1/1 (276/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1360.8ms\n",
331
+ "video 1/1 (277/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1362.1ms\n",
332
+ "video 1/1 (278/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1370.1ms\n",
333
+ "video 1/1 (279/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1383.0ms\n",
334
+ "video 1/1 (280/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1418.8ms\n",
335
+ "video 1/1 (281/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1352.0ms\n",
336
+ "video 1/1 (282/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1361.7ms\n",
337
+ "video 1/1 (283/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1533.7ms\n",
338
+ "video 1/1 (284/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1333.1ms\n",
339
+ "video 1/1 (285/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1775.2ms\n",
340
+ "video 1/1 (286/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1817.8ms\n",
341
+ "video 1/1 (287/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1314.1ms\n",
342
+ "video 1/1 (288/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1349.4ms\n",
343
+ "video 1/1 (289/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1344.9ms\n",
344
+ "video 1/1 (290/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1337.2ms\n",
345
+ "video 1/1 (291/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1378.6ms\n",
346
+ "video 1/1 (292/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1397.3ms\n",
347
+ "video 1/1 (293/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1336.6ms\n",
348
+ "video 1/1 (294/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1348.8ms\n",
349
+ "video 1/1 (295/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1324.5ms\n",
350
+ "video 1/1 (296/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1377.5ms\n",
351
+ "video 1/1 (297/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1351.6ms\n",
352
+ "video 1/1 (298/298) /tmp/gradio/96ee097452acb133f511bd6cb20730ac92412476/cut_a_2.mp4: 416x640 1 car, 1357.3ms\n",
353
+ "Speed: 0.7ms pre-process, 1475.3ms inference, 1.4ms NMS per image at shape (1, 3, 640, 640)\n",
354
+ "Results saved to \u001b[1myolov9/runs/detect/664a80cf-ce01-4bde-a090-59a93c91e364\u001b[0m\n"
355
+ ]
356
+ },
357
+ {
358
+ "name": "stdout",
359
+ "output_type": "stream",
360
+ "text": [
361
+ "yolov9/runs/detect/664a80cf-ce01-4bde-a090-59a93c91e364/cut_a_2.mp4\n"
362
+ ]
363
  }
364
  ],
365
  "source": [
 
384
  " gr.Markdown(\n",
385
  " \"\"\"\n",
386
  " # Vehicle detection using Yolo-v9\n",
 
387
  " \"\"\"\n",
388
  " )\n",
389
  "\n",
390
  " with gr.Tab(\"Video\"):\n",
391
  " gr.Markdown(\n",
392
  " \"\"\"\n",
 
 
 
 
 
393
  " Upload image file and detect vehicles present in the image\n",
394
  " \"\"\"\n",
395
  " )\n",
app.py CHANGED
@@ -9,6 +9,7 @@ def inference(input_img):
9
  shell = f"python yolov9/detect.py --source {input_img} --img 640 --device cpu --weights yolov9/runs/train/exp/weights/best.pt --name {temp}"
10
  os.system(shell)
11
  return f"yolov9/runs/detect/{temp}/{input_img.split('/')[-1]}"
 
12
 
13
  def inference_video(input_img):
14
  org_img = input_img
@@ -18,24 +19,18 @@ with gr.Blocks() as demo:
18
  gr.Markdown(
19
  """
20
  # Vehicle detection using Yolo-v9
21
- Upload the vehicle image or video for detection
22
  """
23
  )
24
 
25
  with gr.Tab("Video"):
26
- gr.Markdown(
27
- """
28
- Upload video mp4 file and detect the count of vehicles passing by
29
- """
30
- )
31
  gr.Markdown(
32
  """
33
  Upload image file and detect vehicles present in the image
34
  """
35
  )
36
  with gr.Row():
37
- img_input = [gr.Video(label="Input Image",width=300, height=300)]
38
- pred_outputs = [gr.Video(label="Output Image",width=300, height=300)]
39
 
40
  image_button = gr.Button("Predict")
41
  image_button.click(inference, inputs=img_input, outputs=pred_outputs)
 
9
  shell = f"python yolov9/detect.py --source {input_img} --img 640 --device cpu --weights yolov9/runs/train/exp/weights/best.pt --name {temp}"
10
  os.system(shell)
11
  return f"yolov9/runs/detect/{temp}/{input_img.split('/')[-1]}"
12
+ #return "yolov9/runs/detect/f807164a-496b-413c-bb47-f5daf8803dcd/cut_a_1.mp4"
13
 
14
  def inference_video(input_img):
15
  org_img = input_img
 
19
  gr.Markdown(
20
  """
21
  # Vehicle detection using Yolo-v9
 
22
  """
23
  )
24
 
25
  with gr.Tab("Video"):
 
 
 
 
 
26
  gr.Markdown(
27
  """
28
  Upload image file and detect vehicles present in the image
29
  """
30
  )
31
  with gr.Row():
32
+ img_input = [gr.PlayableVideo(label="Input Image", autoplay=True, width=300, height=300)]
33
+ pred_outputs = [gr.PlayableVideo(label="Output Image",width=640, autoplay=True, height=640)]
34
 
35
  image_button = gr.Button("Predict")
36
  image_button.click(inference, inputs=img_input, outputs=pred_outputs)