Skip to content
crowd-datasetPublic

About

This repository contains code that extracts YouTube videos based on a mapping.csv file and performs object detection using YOLOv11. The primary objective of this work is to evaluate pedestrian behaviour in a cross-country or cross-cultural context using freely available YouTube videos.

Topics

Resources

Security policy

Stars

14 stars

Watchers

2 watching

Forks

Latest commit

 

History

7,877 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

City Road Observations With Dashcams (CROWD)

This repository contains code that extracts YouTube videos based on a mapping.csv file and performs object detection using YOLOv11. The primary objective of this work is to evaluate pedestrian behaviour in a cross-country or cross-cultural context using freely available YouTube videos.

This study presents a comprehensive cross-cultural evaluation of pedestrian behaviour during road crossings, examining variations between developed and developing states worldwide. As urban landscapes evolve and autonomous vehicles (AVs) become integral to future transportation, understanding pedestrian behaviour becomes paramount for ensuring safe interactions between humans and AVs. Through an extensive review of global pedestrian studies, we analyse key factors influencing crossing behaviour, such as cultural norms, socioeconomic factors, infrastructure development, and regulatory frameworks. Our findings reveal distinct patterns in pedestrian conduct across different regions. Developed states generally exhibit more structured and rule-oriented crossing behaviours, influenced by established traffic regulations and advanced infrastructure. In contrast, developing states often witness a higher degree of informal and adaptive behaviour due to limited infrastructure and diverse cultural influences. These insights underscore the necessity for AVs to adapt to diverse pedestrian behaviour on a global scale, emphasising the importance of incorporating cultural nuances into AV programming and decision-making algorithms. As the integration of AVs into urban environments accelerates, this research contributes valuable insights for enhancing the safety and efficiency of autonomous transportation systems. By recognising and accommodating diverse pedestrian behaviours, AVs can navigate complex and dynamic urban settings, ensuring a harmonious coexistence with human road users across the globe.

The dataset is available on kaggle. The dataset shall soon be made available on a permanent FAIR storage.

Dataset overview

  • Footage: 36,890.1 hours (1,537.1 days)
  • Videos: 84,770 unique videos split into 111,589 segments
  • Localities (cities): 10,833
  • Countries and territories: 241
  • Continents: 7
  • YOLO detections: 97,986 processed segments (one detection CSV each)
  • Detected objects (unique tracked objects, confidence ≥ 0.7): 35,927,004 persons, 102,630,803 cars, 2,629,573 bicycles, 11,583,969 motorcycles, 3,714,294 buses, 15,072,186 trucks
  • Last updated: 2026-11-28 10:16 UTC
All 241 countries and territories
# Country Cities Videos Footage (h) Analysed (h) Persons Cars Bicycles Motorcycles Buses Trucks
1 🇺🇸 United States 2,379 21,618 10,589.4 9,474.2 5,527,443 32,946,998 340,103 184,727 577,622 4,689,245
2 🇦🇺 Australia 213 4,209 1,753.1 1,440.8 732,605 5,287,306 49,544 53,234 112,996 799,913
3 🇬🇧 United Kingdom 401 3,391 1,742.0 1,512.8 2,868,867 3,601,832 261,927 154,485 263,026 571,935
4 🇷🇺 Russia 213 3,442 1,527.9 1,469.2 854,707 4,413,693 17,364 7,952 172,012 524,400
5 🇵🇭 Philippines 419 3,696 1,351.9 1,312.2 2,427,411 2,407,738 72,702 1,487,804 310,283 939,573
6 🇨🇦 Canada 239 3,903 1,349.0 1,124.6 842,075 3,569,495 73,526 20,759 61,669 438,116
7 🇻🇳 Vietnam 79 3,078 1,197.5 1,168.2 3,230,122 2,130,461 94,691 3,172,800 133,516 320,078
8 🇮🇩 Indonesia 177 3,193 1,033.7 1,019.7 2,135,790 2,073,005 26,717 2,099,363 114,034 502,279
9 🇰🇷 South Korea 84 858 825.6 818.7 386,095 1,963,478 21,093 56,226 113,188 188,635
10 🇫🇷 France 375 1,944 754.2 714.2 871,910 1,909,654 102,678 124,974 47,134 198,319
11 🇨🇳 China 162 1,316 736.9 636.7 511,553 1,990,824 52,259 200,277 104,290 214,585
12 🇩🇪 Germany 280 1,524 674.1 622.0 566,469 1,944,537 189,508 36,205 61,699 215,085
13 🇯🇵 Japan 242 1,816 628.9 598.5 441,626 1,281,436 55,153 24,955 87,402 316,510
14 🇧🇷 Brazil 131 1,472 613.6 539.2 549,390 1,701,012 34,439 155,694 55,515 198,659
15 🇳🇱 Netherlands 239 1,569 572.5 450.4 530,238 1,131,534 365,338 57,479 33,218 119,497
16 🇺🇦 Ukraine 102 1,332 501.4 459.5 365,988 1,662,441 9,580 5,726 74,997 224,980
17 🇮🇳 India 315 1,565 493.9 477.7 1,363,707 1,165,711 66,875 760,367 134,577 365,022
18 🇹🇭 Thailand 50 826 403.5 374.6 484,547 1,068,722 8,675 364,562 50,778 228,628
19 🇲🇾 Malaysia 70 657 374.7 360.5 170,487 1,085,703 1,961 101,046 21,444 92,054
20 🇦🇪 United Arab Emirates 10 912 371.7 307.7 107,685 903,871 4,112 16,025 43,442 115,094
21 🇲🇲 Myanmar 19 536 371.5 365.2 393,590 1,646,850 44,386 42,058 101,217 260,269
22 🇵🇱 Poland 283 940 366.6 363.1 257,905 1,091,962 24,044 8,131 36,585 96,111
23 🇮🇷 Iran 109 1,083 338.6 268.3 183,041 1,478,485 3,786 38,210 14,912 116,826
24 🇹🇷 Türkiye 93 611 292.1 226.3 285,874 943,714 4,227 36,570 56,365 133,387
25 🇸🇪 Sweden 175 1,037 285.0 275.4 143,920 512,330 22,423 3,073 19,722 56,965
26 🇷🇴 Romania 116 791 276.6 260.1 208,953 1,315,858 6,996 5,551 30,550 109,369
27 🇮🇹 Italy 188 712 269.7 265.8 294,423 929,914 24,600 104,578 18,219 70,979
28 🇩🇰 Denmark 22 571 257.8 250.7 390,364 780,168 200,133 8,317 20,275 61,097
29 🇦🇷 Argentina 63 411 257.0 255.8 367,856 931,204 35,212 43,322 30,276 101,256
30 🇨🇿 Czechia 133 522 241.1 229.8 232,397 621,574 5,977 5,327 24,565 59,409
31 🇰🇭 Cambodia 7 511 241.1 221.9 606,700 562,676 13,555 624,203 39,058 182,156
32 🇫🇮 Finland 44 387 239.9 233.1 133,829 492,068 14,638 2,438 21,500 55,305
33 🇪🇸 Spain 257 678 235.3 229.7 295,656 662,752 16,266 65,950 23,429 66,498
34 🇦🇹 Austria 57 922 213.0 201.6 133,749 564,899 18,231 14,478 23,266 84,589
35 🇧🇬 Bulgaria 107 850 210.0 186.3 100,951 677,882 2,059 1,567 20,663 58,414
36 🇭🇺 Hungary 34 633 207.6 184.7 325,297 1,175,025 15,759 9,201 53,344 133,209
37 🇺🇬 Uganda 19 522 195.0 84.9 501,747 190,827 15,869 251,438 17,576 64,307
38 🇵🇰 Pakistan 39 430 168.9 161.0 564,149 560,070 18,321 290,340 32,475 139,722
39 🇸🇬 Singapore 1 419 164.4 151.5 84,725 384,217 5,237 20,855 33,908 61,747
40 🇳🇿 New Zealand 163 621 163.5 147.4 84,879 443,430 4,747 3,542 14,162 57,625
41 🇻🇪 Venezuela 28 661 163.2 151.0 124,389 418,215 5,199 44,390 9,326 81,358
42 🇮🇪 Ireland 65 563 158.4 139.7 115,931 346,406 10,794 2,233 14,252 42,505
43 🇲🇽 Mexico 75 335 155.2 142.6 148,160 505,983 7,795 23,995 15,757 74,110
44 🇿🇦 South Africa 59 507 147.6 139.8 102,133 383,903 2,152 5,005 13,829 65,132
45 🇧🇾 Belarus 83 295 145.4 140.7 82,363 465,730 2,482 921 22,891 60,906
46 🇳🇴 Norway 68 432 143.2 142.8 93,748 322,318 7,876 2,062 14,442 39,935
47 🇸🇾 Syria 14 359 140.8 132.8 248,169 617,511 6,922 19,849 18,690 92,695
48 🇭🇰 Hong Kong 12 259 113.6 59.0 108,423 106,587 1,444 2,993 19,606 19,713
49 🇯🇴 Jordan 14 383 113.5 78.6 48,043 358,566 185 983 7,361 40,234
50 🇨🇭 Switzerland 146 385 110.1 96.0 112,336 211,463 22,046 13,754 9,976 25,602
51 🇪🇬 Egypt 21 273 108.6 53.4 78,141 268,980 737 8,549 12,471 33,614
52 🇧🇩 Bangladesh 28 297 107.2 107.2 426,289 117,439 75,685 73,692 41,203 87,548
53 🇵🇹 Portugal 76 236 106.0 104.9 92,909 324,490 2,152 7,614 7,799 32,204
54 🇬🇲 Gambia 35 394 102.9 95.7 246,744 319,324 14,792 21,090 8,802 66,452
55 🇳🇬 Nigeria 35 239 96.2 67.3 266,429 225,274 1,894 34,102 18,724 57,616
56 🇭🇷 Croatia 120 319 83.7 72.2 53,870 255,401 4,632 4,338 5,540 20,049
57 🇸🇱 Sierra Leone 47 185 79.5 79.1 187,292 50,999 1,879 51,201 4,609 23,656
58 🇨🇱 Chile 43 161 72.0 26.4 27,553 83,092 969 1,381 3,246 15,475
59 🇨🇾 Cyprus 29 280 71.5 66.8 27,769 229,196 1,085 5,033 4,187 28,862
60 🇲🇳 Mongolia 4 130 71.4 71.4 91,858 344,610 1,883 1,686 9,246 26,363
61 🇬🇷 Greece 50 217 70.9 67.1 78,420 298,109 2,879 26,717 6,448 26,475
62 🇪🇪 Estonia 8 312 66.6 66.3 35,077 186,213 1,261 440 8,678 17,456
63 🇦🇿 Azerbaijan 8 146 64.2 61.9 64,696 339,147 884 1,866 8,369 28,799
64 🇧🇪 Belgium 66 202 64.1 62.6 71,821 190,480 15,475 3,905 7,399 24,353
65 🇹🇼 Taiwan 39 187 63.5 46.1 53,005 133,517 2,587 48,077 4,703 13,499
66 🇧🇦 Bosnia and Herzegovina 61 296 62.4 62.1 69,773 222,993 1,056 707 5,848 16,991
67 🇨🇴 Colombia 36 131 61.7 50.9 117,367 129,237 6,718 51,817 7,850 21,360
68 🇩🇿 Algeria 10 152 60.2 14.5 26,027 68,925 133 1,304 1,372 6,901
69 🇳🇵 Nepal 4 173 55.5 38.2 224,991 72,914 6,059 131,453 10,910 20,116
70 🇺🇿 Uzbekistan 13 180 54.8 53.6 46,774 355,390 722 332 6,388 27,457
71 🇵🇪 Peru 29 95 53.6 53.6 90,553 166,639 5,760 13,462 9,824 31,606
72 🇶🇦 Qatar 5 112 50.8 44.3 10,813 125,797 434 1,284 5,347 16,648
73 🇷🇸 Serbia 38 160 50.6 48.5 45,710 197,961 1,179 1,296 6,288 15,602
74 🇱🇰 Sri Lanka 17 138 49.6 46.8 75,580 107,347 1,078 26,055 18,002 41,601
75 🇲🇦 Morocco 37 140 49.5 47.3 93,249 201,229 3,877 18,016 5,101 22,238
76 🇸🇦 Saudi Arabia 11 122 46.1 32.4 5,161 169,307 118 248 2,843 18,350
77 🇪🇹 Ethiopia 8 77 44.1 42.2 123,009 125,168 542 1,984 9,836 34,725
78 🇬🇪 Georgia 12 119 42.8 42.4 33,673 201,005 246 1,328 7,185 22,399
79 🇦🇱 Albania 29 114 39.2 15.5 22,099 54,724 1,953 1,465 1,463 5,546
80 🇱🇻 Latvia 20 124 38.4 38.4 27,089 107,548 1,805 787 4,374 12,651
81 🇱🇧 Lebanon 62 158 36.1 35.2 23,422 163,960 184 7,673 2,716 18,128
82 🇨🇺 Cuba 25 165 34.4 34.3 117,049 49,556 4,702 16,595 3,856 14,402
83 🇲🇩 Moldova 16 141 34.2 30.8 32,612 143,166 338 286 6,212 16,188
84 🇱🇹 Lithuania 11 86 33.9 33.8 33,216 107,579 2,710 726 3,380 7,603
85 🇵🇷 Puerto Rico 60 160 33.3 20.2 5,009 72,105 116 438 450 9,814
86 🇲🇼 Malawi 50 117 33.3 31.5 78,660 32,742 10,602 5,436 1,821 9,274
87 🇰🇿 Kazakhstan 26 123 33.3 30.9 22,291 134,751 260 202 4,095 13,070
88 🇦🇲 Armenia 10 105 30.8 30.8 31,559 207,862 183 806 6,349 20,315
89 🇲🇰 North Macedonia 25 94 29.8 27.8 29,753 111,644 1,964 1,242 2,809 8,937
90 🇰🇪 Kenya 58 119 27.9 27.2 90,273 74,099 1,411 15,953 7,571 18,169
91 🇪🇨 Ecuador 14 58 26.7 22.8 28,852 75,067 686 4,759 3,540 13,055
92 🇺🇾 Uruguay 23 90 25.3 25.3 33,471 99,796 2,762 5,329 1,627 12,799
93 🇱🇦 Laos 11 63 23.3 22.9 24,566 53,801 529 23,150 1,272 20,247
94 🇧🇴 Bolivia 20 55 21.5 21.5 33,175 52,027 775 5,899 3,121 15,024
95 🇲🇨 Monaco 1 46 20.3 20.3 38,846 32,963 1,033 13,199 1,598 4,440
96 🇮🇱 Israel 18 68 19.9 19.0 15,117 74,185 2,391 3,131 2,717 5,690
97 🇽🇰 Kosovo 31 100 16.6 16.6 17,589 68,541 1,221 971 1,453 8,911
98 🇬🇹 Guatemala 9 23 15.3 15.3 18,049 46,886 685 9,016 1,774 12,444
99 🇲🇪 Montenegro 24 92 14.8 13.8 15,182 59,247 248 1,627 1,435 5,468
100 🇨🇬 Congo (Congo-Brazzaville) 5 38 13.9 11.8 29,970 24,407 229 3,092 1,062 5,313
101 🇱🇾 Libya 3 40 13.5 13.2 4,990 64,240 79 115 299 7,120
102 🇮🇸 Iceland 14 40 13.2 13.2 7,597 31,792 518 72 967 4,668
103 🇬🇭 Ghana 13 45 13.0 11.4 24,607 31,824 671 4,579 2,247 8,944
104 🇹🇲 Turkmenistan 1 85 11.9 11.9 3,825 26,509 47 6 817 2,832
105 🇮🇶 Iraq 10 41 11.6 11.1 5,097 42,330 138 557 649 5,710
106 🇴🇲 Oman 10 32 10.9 10.9 3,127 45,003 156 60 744 3,576
107 🇸🇻 El Salvador 6 13 10.8 10.8 18,428 34,086 379 4,727 1,585 7,774
108 🇬🇬 Guernsey 9 63 10.6 3.1 1,575 6,630 113 166 187 986
109 🇭🇳 Honduras 8 23 10.3 10.3 13,436 34,315 572 5,064 1,410 7,641
110 🇬🇳 Guinea 7 45 10.1 6.5 21,779 19,368 147 7,218 470 3,917
111 🇸🇮 Slovenia 26 53 9.5 9.1 11,684 29,777 1,843 432 1,014 2,281
112 🇹🇿 Tanzania 13 50 9.4 9.0 28,697 22,586 1,073 8,485 2,785 6,395
113 🇵🇦 Panama 7 22 9.4 9.4 6,520 36,612 151 679 720 6,998
114 🇬🇾 Guyana 6 20 9.0 9.0 9,187 28,212 748 864 1,186 7,344
115 🇧🇭 Bahrain 11 42 8.8 8.8 2,042 28,027 182 229 750 3,663
116 🇯🇲 Jamaica 10 31 8.7 8.3 9,336 21,367 223 356 1,471 3,556
117 🇨🇼 Curaçao 3 18 8.7 0.8 32 1,756 0 0 15 197
118 🇰🇬 Kyrgyzstan 7 40 8.4 8.4 6,778 33,286 161 72 1,501 4,983
119 🇸🇰 Slovakia 14 29 8.4 8.0 6,287 27,799 307 197 972 2,682
120 🇵🇸 Palestine 10 31 8.3 8.3 5,509 29,388 95 245 812 3,923
121 🇬🇮 Gibraltar 1 21 7.9 7.9 7,673 16,102 386 3,982 632 2,282
122 🇲🇹 Malta 31 56 7.6 7.6 3,580 28,187 50 534 761 3,930
123 🇨🇮 Côte d'Ivoire 2 19 7.6 7.6 14,132 33,563 176 1,491 927 4,248
124 🇻🇨 Saint Vincent and the Grenadines 12 32 7.6 5.9 4,142 8,332 25 30 570 1,928
125 🇱🇺 Luxembourg 12 25 7.0 6.7 8,621 16,715 475 316 917 1,657
126 🇰🇼 Kuwait 2 21 6.9 6.9 2,718 27,860 27 74 1,073 2,699
127 🇬🇺 Guam 10 48 6.8 4.5 511 17,057 14 33 154 3,148
128 🇱🇷 Liberia 11 43 6.8 6.8 28,778 18,445 121 10,027 983 5,412
129 🇸🇷 Suriname 3 19 6.7 6.7 3,821 22,473 175 713 756 3,642
130 🇿🇼 Zimbabwe 4 26 6.3 6.3 18,762 28,919 112 147 1,302 6,236
131 🇦🇬 Antigua and Barbuda 9 21 6.1 6.1 4,896 12,483 52 26 279 2,036
132 🇵🇾 Paraguay 8 18 5.9 5.9 6,265 21,646 300 3,071 471 4,110
133 🇪🇷 Eritrea 11 29 5.8 4.6 15,426 7,443 3,418 138 286 1,732
134 🇱🇮 Liechtenstein 16 63 5.8 5.2 1,175 9,182 176 210 434 1,491
135 🇧🇯 Benin 10 16 5.6 5.6 18,733 9,810 266 11,898 247 2,014
136 🇦🇫 Afghanistan 8 26 5.3 5.3 13,045 18,707 1,028 726 891 3,493
137 🇨🇫 Central African Republic 3 18 5.3 5.3 38,834 7,971 375 15,448 187 2,454
138 🇬🇵 Guadeloupe 11 36 5.3 4.1 1,466 15,765 41 118 285 1,953
139 🇹🇳 Tunisia 5 15 5.1 5.1 10,132 26,250 173 676 507 3,371
140 🇸🇳 Senegal 6 21 5.1 4.3 12,027 13,457 159 3,041 466 2,450
141 🇹🇹 Trinidad and Tobago 3 5 4.6 4.6 1,723 9,873 3 11 229 1,814
142 🇦🇩 Andorra 8 45 4.6 4.6 4,311 14,526 84 1,199 649 2,824
143 🇳🇮 Nicaragua 8 17 4.6 4.6 6,405 10,464 600 2,780 483 3,249
144 🇲🇴 Macau 2 15 4.5 4.5 3,426 6,072 47 658 917 986
145 🇰🇵 North Korea 1 19 4.4 4.4 15,858 4,007 1,874 103 934 773
146 🇨🇷 Costa Rica 10 19 4.3 4.3 4,443 10,745 253 769 450 2,188
147 🇲🇬 Madagascar 3 11 4.3 4.3 23,805 7,053 2,068 2,796 1,017 3,460
148 🇵🇫 French Polynesia 11 17 4.3 4.3 2,054 12,019 210 985 196 2,632
149 🇰🇾 Cayman Islands 5 17 4.2 4.2 764 10,965 83 36 319 2,040
150 🇦🇴 Angola 2 17 4.1 4.1 11,795 15,013 70 959 1,047 3,617
151 🇿🇲 Zambia 4 13 3.7 3.7 7,413 7,263 410 96 532 2,294
152 🇷🇼 Rwanda 7 14 3.5 2.9 13,643 5,940 643 4,842 327 1,609
153 🇬🇱 Greenland 3 11 3.5 3.5 1,601 4,186 42 4 186 967
154 🇸🇲 San Marino 4 13 3.5 3.5 1,033 9,251 11 245 155 894
155 🇨🇩 Congo (Democratic Republic) 3 16 3.3 3.2 10,412 8,123 66 2,680 289 1,549
156 🇭🇹 Haiti 1 8 3.3 2.9 8,800 4,956 45 1,599 432 2,797
157 🇨🇲 Cameroon 9 16 3.2 3.2 10,497 12,297 42 3,015 200 1,731
158 🇫🇯 Fiji 3 9 3.2 3.2 2,210 7,945 6 24 454 1,671
159 🇱🇨 Saint Lucia 7 20 3.1 3.1 2,637 7,941 17 45 591 2,042
160 🇬🇦 Gabon 6 17 3.0 3.0 4,951 7,125 33 81 182 1,966
161 🇩🇴 Dominican Republic 7 10 3.0 3.0 3,959 7,497 174 1,913 328 1,420
162 🇸🇴 Somalia 4 15 2.8 2.8 8,102 4,946 21 172 881 2,647
163 🇲🇺 Mauritius 7 13 2.8 2.8 3,727 7,593 76 1,021 457 1,523
164 🇧🇲 Bermuda 4 5 2.7 2.7 665 3,426 24 747 189 715
165 🇳🇨 New Caledonia 1 5 2.6 2.6 678 6,105 49 42 103 1,410
166 🇾🇪 Yemen 3 12 2.5 2.5 7,733 10,455 96 2,542 348 2,854
167 🇰🇲 Comoros 3 5 2.5 2.5 3,655 5,007 55 1,568 87 776
168 🇧🇼 Botswana 4 9 2.3 2.3 1,646 5,688 5 10 174 1,109
169 🇯🇪 Jersey 10 18 2.2 2.2 908 4,816 101 68 148 969
170 🇻🇬 British Virgin Islands 7 17 2.2 2.2 692 5,395 3 49 101 1,205
171 🇰🇳 Saint Kitts and Nevis 3 9 2.1 2.1 1,807 3,326 26 25 174 746
172 🇼🇸 Samoa 1 7 2.0 2.0 600 4,406 0 0 265 720
173 🇷🇪 Réunion 4 6 2.0 2.0 1,254 5,554 31 90 107 643
174 🇹🇯 Tajikistan 2 9 1.9 1.9 2,684 11,087 30 72 355 878
175 🇸🇸 South Sudan 1 5 1.9 1.9 8,871 4,502 76 3,089 168 1,511
176 🇳🇦 Namibia 4 10 1.8 1.8 1,760 5,176 18 11 95 936
177 🇫🇴 Faroe Islands 21 36 1.8 1.8 294 2,928 12 4 125 472
178 🇬🇫 French Guiana 1 3 1.7 1.7 850 7,399 59 389 71 1,349
179 🇮🇲 Isle of Man 8 19 1.6 1.6 1,428 7,437 24 689 210 1,162
180 🇧🇹 Bhutan 2 6 1.6 1.6 2,519 4,667 20 79 120 953
181 🇩🇯 Djibouti 3 5 1.5 1.5 764 1,675 5 116 245 1,383
182 🇱🇸 Lesotho 10 15 1.5 1.5 1,858 2,512 5 11 95 648
183 🇬🇩 Grenada 4 8 1.4 1.4 585 1,858 8 43 97 617
184 🇲🇫 Saint Martin 6 9 1.3 1.3 468 4,583 13 132 100 1,182
185 🇧🇮 Burundi 6 9 1.3 1.3 5,894 2,341 436 314 173 493
186 🇧🇧 Barbados 3 4 1.3 1.3 1,700 3,063 42 7 179 514
187 🇲🇿 Mozambique 5 8 1.3 1.3 2,000 1,892 34 150 119 465
188 🇲🇷 Mauritania 1 3 1.3 1.3 2,055 4,774 74 116 38 980
189 🇲🇶 Martinique 3 10 1.3 0.2 99 553 1 6 7 69
190 🇪🇭 Western Sahara 3 4 1.3 1.3 767 2,863 34 101 56 578
191 🇹🇬 Togo 6 11 1.2 1.2 3,038 1,491 59 1,735 55 372
192 🇵🇬 Papua New Guinea 2 6 1.2 1.2 1,133 1,765 0 0 217 444
193 🇲🇸 Montserrat 1 3 1.2 1.2 6,844 1,223 274 6,156 393 892
194 🇦🇸 American Samoa 9 13 1.1 1.1 269 2,750 5 1 127 1,200
195 🇩🇲 Dominica 2 6 1.1 0.3 192 466 1 8 19 144
196 🇧🇸 Bahamas 2 5 1.1 1.1 358 1,866 21 24 63 294
197 🇹🇨 Turks and Caicos Islands 2 4 1.0 1.0 102 1,577 0 2 23 218
198 🇻🇺 Vanuatu 1 5 1.0 1.0 1,064 1,485 14 3 157 613
199 🇹🇩 Chad 1 4 1.0 1.0 4,357 3,011 75 2,048 52 764
200 🇻🇮 United States Virgin Islands 3 5 1.0 1.0 399 2,875 0 7 72 787
201 🇹🇴 Tonga 1 2 0.9 0.4 95 1,134 1 1 41 279
202 🇲🇱 Mali 1 2 0.9 0.9 5,096 2,540 29 3,350 174 705
203 🇳🇷 Nauru 11 18 0.9 0.9 329 1,072 4 343 49 571
204 🇧🇫 Burkina Faso 1 5 0.8 0.8 3,127 3,133 325 2,983 55 463
205 🇸🇽 Sint Maarten 4 5 0.8 0.8 632 3,217 7 42 67 621
206 🇦🇼 Aruba 2 3 0.8 0.8 312 2,372 6 9 44 272
207 🇦🇽 Åland Islands 1 1 0.8 0.8 112 770 26 4 11 100
208 🇲🇭 Marshall Islands 3 3 0.8 0.8 114 340 0 0 13 95
209 🇧🇳 Brunei 3 4 0.8 0.8 74 1,456 1 4 27 146
210 🇸🇯 Svalbard and Jan Mayen 1 3 0.7 0.7 60 529 5 5 39 173
211 🇧🇿 Belize 3 5 0.7 0.7 409 1,622 61 91 49 526
212 🇧🇶 Bonaire, Sint Eustatius and Saba 1 1 0.7 0.7 237 1,967 21 82 27 734
213 🇬🇶 Equatorial Guinea 1 5 0.7 0.7 828 2,165 12 9 51 379
214 🇫🇲 Micronesia 3 3 0.6 0.6 165 680 0 0 6 148
215 🇳🇪 Niger 1 2 0.6 0.6 2,932 1,126 66 270 7 128
216 🇵🇼 Palau 4 5 0.6 0.6 23 548 3 3 9 127
217 🇦🇮 Anguilla 4 5 0.6 0.6 57 788 0 1 15 178
218 🇸🇩 Sudan 2 6 0.6 0.6 1,101 3,448 8 181 141 663
219 🇧🇱 Saint Barthélemy 2 3 0.5 0.5 218 1,485 0 225 22 525
220 🇲🇵 Northern Mariana Islands 2 5 0.5 0.5 109 1,819 3 0 20 304
221 🇲🇻 Maldives 2 4 0.5 0.5 1,708 768 57 1,557 36 187
222 🇵🇲 Saint Pierre and Miquelon 1 1 0.4 0.4 76 1,203 2 5 18 382
223 🇸🇿 Eswatini 3 3 0.4 0.4 653 890 1 1 37 162
224 🇦🇶 Antarctica 2 7 0.4 0.0 – – – – – –
225 🇹🇻 Tuvalu 1 2 0.4 0.4 118 68 3 211 6 40
226 🇫🇰 Falkland Islands 1 4 0.3 0.3 37 82 0 0 18 93
227 🇨🇰 Cook Islands 2 5 0.3 0.3 88 339 7 125 10 74
228 🇸🇨 Seychelles 3 3 0.3 0.3 280 620 10 12 42 176
229 🇸🇭 Saint Helena 2 3 0.3 0.3 60 347 0 6 28 107
230 🇹🇱 Timor-Leste 5 5 0.3 0.3 278 125 0 84 31 59
231 🇳🇫 Norfolk Island 1 2 0.3 0.3 4 16 0 0 3 8
232 🇨🇻 Cabo Verde 2 2 0.2 0.2 301 567 17 16 30 145
233 🇮🇴 British Indian Ocean Territory 1 1 0.2 0.0 – – – – – –
234 🇸🇹 Sao Tome and Principe 1 1 0.2 0.2 525 205 20 204 6 91
235 🇬🇼 Guinea-Bissau 1 1 0.2 0.2 776 487 4 40 23 94
236 🇾🇹 Mayotte 2 2 0.2 0.2 125 264 0 25 20 50
237 🇼🇫 Wallis and Futuna 1 2 0.2 0.0 – – – – – –
238 🇸🇧 Solomon Islands 1 2 0.1 0.1 168 390 0 0 38 135
239 🇨🇽 Christmas Island 1 1 0.1 0.1 57 132 0 1 7 32
240 🇳🇺 Niue 3 3 0.1 0.1 0 39 0 0 3 9
241 🇰🇮 Kiribati 2 2 0.1 0.1 74 102 5 17 8 31
Top 200 cities by footage
# City Country Videos Footage (h) Analysed (h) Persons Cars Bicycles Motorcycles Buses Trucks
1 New York, NY 🇺🇸 United States 4,213 2,291.3 1,897.6 2,383,426 7,493,159 171,888 89,579 235,890 1,007,046
2 Chicago, IL 🇺🇸 United States 1,887 1,711.6 1,710.5 716,302 6,602,066 39,599 12,574 89,798 798,396
3 London 🇬🇧 United Kingdom 2,122 1,394.8 1,180.6 2,632,304 2,672,129 249,528 145,538 236,805 467,613
4 Los Angeles, CA 🇺🇸 United States 2,058 1,169.4 1,169.1 701,219 4,986,090 35,313 19,093 72,052 640,354
5 Hanoi 🇻🇳 Vietnam 2,154 876.5 866.5 2,524,731 1,751,391 66,298 2,402,801 104,975 227,834
6 Manila, Metro Manila 🇵🇭 Philippines 2,172 789.9 785.9 1,231,812 1,475,603 36,710 635,087 167,887 357,628
7 Sydney, NSW 🇦🇺 Australia 1,432 682.0 680.5 399,271 2,822,226 29,697 34,706 68,129 448,501
8 Saint Petersburg, Saint Petersburg 🇷🇺 Russia 702 569.8 566.0 297,886 1,534,337 6,959 1,923 68,493 168,520
9 Seoul 🇰🇷 South Korea 297 545.8 542.9 261,221 1,138,256 14,008 41,210 84,270 97,020
10 Jakarta 🇮🇩 Indonesia 1,675 475.2 474.4 839,153 1,099,344 6,605 740,524 63,319 247,885
11 Paris 🇫🇷 France 981 437.9 409.8 597,481 1,126,487 68,953 88,943 31,327 123,790
12 Toronto, ON 🇨🇦 Canada 880 374.6 374.6 492,343 1,306,967 44,413 12,836 25,533 139,090
13 Yangon 🇲🇲 Myanmar 488 357.0 350.7 365,277 1,623,715 41,366 20,913 98,142 252,147
14 Melbourne, VIC 🇦🇺 Australia 671 329.8 329.8 219,726 1,285,149 13,628 11,350 22,400 138,901
15 Moscow, Moscow 🇷🇺 Russia 506 327.7 326.5 214,144 1,172,880 4,806 3,583 36,218 152,123
16 Dubai 🇦🇪 United Arab Emirates 780 320.8 257.8 84,296 693,894 2,877 14,020 37,281 91,284
17 Philadelphia, PA 🇺🇸 United States 564 316.4 297.1 146,506 1,069,675 8,385 4,172 14,431 146,553
18 Bangkok 🇹🇭 Thailand 625 313.6 291.7 396,387 873,704 6,920 276,214 40,521 168,370
19 Cotabato, Maguindanao del Norte 🇵🇭 Philippines 739 301.4 287.0 762,977 595,689 15,892 535,140 97,078 412,620
20 Sao Paulo, SP 🇧🇷 Brazil 566 251.0 248.4 246,378 745,923 11,359 63,058 21,368 89,759
21 København 🇩🇰 Denmark 534 246.1 239.1 384,418 757,794 198,351 8,060 19,697 59,105
22 Kyiv, Kyiv 🇺🇦 Ukraine 577 243.0 242.3 175,356 1,036,284 4,958 3,139 41,164 131,552
23 Kuala Lumpur, KUL 🇲🇾 Malaysia 350 239.5 237.7 125,739 680,763 929 66,024 14,375 52,824
24 Warsaw 🇵🇱 Poland 391 236.9 236.8 179,794 781,804 16,521 6,257 26,049 61,672
25 Vancouver, BC 🇨🇦 Canada 850 232.9 40.3 38,811 139,606 4,311 746 2,763 18,614
26 Berlin 🇩🇪 Germany 468 221.7 219.4 271,969 913,504 85,177 21,204 28,892 108,303
27 Phnom Penh 🇰🇭 Cambodia 459 217.9 201.5 571,844 522,909 12,628 589,529 35,907 169,112
28 Buenos Aires, CABA 🇦🇷 Argentina 286 216.7 215.5 326,719 799,837 31,687 35,735 28,021 80,549
29 Townsville, QLD 🇦🇺 Australia 436 207.5 6.2 967 16,946 61 115 259 3,737
30 Detroit, MI 🇺🇸 United States 554 206.9 199.0 26,616 604,264 1,206 818 5,838 94,064
31 Guangzhou, Guangdong 🇨🇳 China 245 205.8 205.8 133,101 614,446 13,130 49,544 36,604 76,299
32 Prague 🇨🇿 Czechia 285 204.1 198.7 218,201 537,660 5,391 5,052 21,432 48,647
33 Montreal, QC 🇨🇦 Canada 473 203.6 203.6 123,812 642,679 13,546 3,373 11,059 51,124
34 Rio de Janeiro, RJ 🇧🇷 Brazil 461 202.9 146.5 163,040 488,594 11,222 28,222 23,305 48,167
35 Budapest 🇭🇺 Hungary 592 200.7 178.1 320,739 1,159,864 15,243 9,099 52,893 131,741
36 Helsinki 🇫🇮 Finland 284 198.6 194.7 112,056 426,444 10,644 1,714 19,412 48,833
37 Miami, FL 🇺🇸 United States 476 190.7 159.7 112,397 529,168 6,425 9,092 7,175 67,799
38 Istanbul 🇹🇷 Türkiye 346 189.1 128.9 170,292 547,699 1,409 20,210 34,776 77,396
39 Bucharest 🇷🇴 Romania 376 184.2 183.9 141,167 951,759 5,086 4,649 22,613 78,750
40 Vienna 🇦🇹 Austria 766 181.8 173.3 109,288 489,395 12,122 12,692 20,409 76,037
41 Kampala 🇺🇬 Uganda 471 178.2 68.2 404,441 163,845 10,066 215,904 15,266 53,395
42 Stockholm 🇸🇪 Sweden 582 177.9 177.0 97,660 332,653 13,551 2,099 13,808 39,137
43 Tokyo, Tokyo 🇯🇵 Japan 262 174.9 170.1 259,143 336,485 23,710 11,812 32,564 92,696
44 Eindhoven 🇳🇱 Netherlands 330 171.3 171.2 162,292 435,693 111,942 15,542 10,051 39,730
45 Yogyakarta 🇮🇩 Indonesia 298 171.0 168.1 533,341 345,859 7,647 549,316 13,373 70,847
46 Perth, WA 🇦🇺 Australia 418 170.9 137.3 23,586 368,000 1,509 1,657 6,726 63,076
47 Atlanta, GA 🇺🇸 United States 414 170.9 169.0 36,611 464,161 1,356 1,024 5,328 89,117
48 Nashville, TN 🇺🇸 United States 856 168.7 168.7 55,151 512,232 1,461 788 5,642 82,527
49 Singapore 🇸🇬 Singapore 419 164.4 151.5 84,725 384,217 5,237 20,855 33,908 61,747
50 Sacramento, CA 🇺🇸 United States 414 159.4 159.4 17,836 619,697 1,295 977 6,139 100,220
51 Houston, TX 🇺🇸 United States 239 159.3 37.4 9,717 100,673 315 119 1,383 16,586
52 Sofia 🇧🇬 Bulgaria 512 157.1 145.6 78,633 541,807 1,453 1,036 16,804 42,915
53 Winnipeg, MB 🇨🇦 Canada 570 154.1 138.1 36,195 446,622 1,981 689 6,361 62,842
54 Oldenburg 🇩🇪 Germany 173 153.0 151.4 82,063 236,585 43,991 3,357 7,435 22,631
55 Tyumen, Tyumen oblast 🇷🇺 Russia 306 147.5 147.5 95,141 482,654 2,000 538 19,971 49,974
56 Washington, DC 🇺🇸 United States 256 140.4 140.4 112,267 488,919 8,295 3,313 10,602 59,060
57 San Jose, CA 🇺🇸 United States 286 134.3 134.3 25,483 653,464 1,626 1,094 6,879 84,289
58 Den Haag 🇳🇱 Netherlands 279 132.3 27.8 19,638 98,650 13,069 3,301 2,360 9,188
59 Tehran 🇮🇷 Iran 313 132.3 72.5 55,689 401,701 1,399 21,580 5,866 32,083
60 San Francisco, CA 🇺🇸 United States 197 130.1 128.2 173,822 463,410 8,962 6,885 10,971 54,961
61 Dublin 🇮🇪 Ireland 426 129.9 114.9 100,658 288,690 10,200 2,042 12,828 35,654
62 Dallas, TX 🇺🇸 United States 299 125.8 125.8 16,205 252,772 381 362 3,101 41,100
63 Maracaibo, ZU 🇻🇪 Venezuela 535 125.7 119.2 82,775 333,640 4,471 30,736 6,100 64,464
64 Anchorage, AK 🇺🇸 United States 347 125.1 122.4 5,848 197,977 276 178 2,775 44,924
65 Busan 🇰🇷 South Korea 143 121.7 121.7 69,400 348,689 2,527 8,548 12,381 39,265
66 Las Vegas, NV 🇺🇸 United States 173 120.2 120.2 61,834 356,291 613 968 6,306 47,617
67 Oslo 🇳🇴 Norway 322 120.1 120.1 77,991 285,301 6,893 1,705 12,422 34,647
68 Volsk, Saratov oblast 🇷🇺 Russia 525 116.5 89.5 40,289 155,987 299 241 4,125 17,055
69 Baltimore, MD 🇺🇸 United States 322 115.5 115.1 30,342 392,793 707 614 5,444 54,097
70 Portland, OR 🇺🇸 United States 185 114.0 89.0 56,933 232,500 3,745 867 4,342 27,790
71 Amsterdam 🇳🇱 Netherlands 212 111.6 111.0 264,889 236,141 191,032 29,379 11,405 32,229
72 Phoenix, AZ 🇺🇸 United States 227 107.2 43.7 9,448 120,294 445 292 1,483 24,810
73 Hong Kong 🇭🇰 Hong Kong 226 105.2 56.2 103,513 101,745 1,186 2,868 18,631 18,364
74 Mumbai, MH 🇮🇳 India 263 98.5 97.9 258,651 359,191 6,469 102,036 19,407 76,974
75 Seattle, WA 🇺🇸 United States 206 97.5 2.8 3,084 8,017 198 54 186 838
76 Cape Town 🇿🇦 South Africa 252 94.8 88.6 62,140 275,304 1,730 4,098 8,266 42,369
77 Darwin, NT 🇦🇺 Australia 310 93.9 44.6 12,771 105,322 454 933 1,835 20,261
78 Amman 🇯🇴 Jordan 313 93.5 61.6 37,103 303,514 107 881 5,905 32,767
79 Kermanshah 🇮🇷 Iran 257 93.1 88.5 59,387 577,645 573 3,505 3,746 42,779
80 Cairo 🇪🇬 Egypt 206 91.6 39.0 62,617 225,533 503 6,961 9,939 25,646
81 Brisbane, QLD 🇦🇺 Australia 247 91.2 73.1 33,197 218,631 1,360 2,053 4,896 38,974
82 Minsk 🇧🇾 Belarus 128 90.5 86.2 54,495 377,331 1,329 719 17,262 47,090
83 München 🇩🇪 Germany 170 82.1 82.1 85,342 290,497 27,399 4,487 10,128 33,783
84 Serrekunda 🇬🇲 Gambia 273 78.5 77.0 195,185 282,496 10,698 17,296 6,850 54,231
85 Ho Chi Minh City 🇻🇳 Vietnam 141 74.9 74.9 256,936 112,394 4,129 257,929 10,127 25,654
86 Sylhet 🇧🇩 Bangladesh 194 74.5 74.5 329,932 80,916 59,884 57,804 27,022 65,203
87 Denver, CO 🇺🇸 United States 210 73.9 73.9 21,217 193,668 1,565 786 2,714 31,642
88 Damascus 🇸🇾 Syria 166 73.0 65.6 104,872 306,260 4,564 11,498 10,459 44,470
89 Shanghai, Shanghai 🇨🇳 China 107 72.9 40.0 56,793 93,452 6,533 15,032 6,043 6,679
90 Gamagori, Aichi 🇯🇵 Japan 271 71.6 68.8 13,153 161,444 3,182 1,487 6,737 39,329
91 Ulaanbaatar 🇲🇳 Mongolia 127 70.2 70.2 91,683 343,965 1,881 1,671 9,239 26,270
92 Karachi, SD 🇵🇰 Pakistan 147 67.1 61.5 209,862 263,476 6,699 105,139 17,546 60,259
93 San Diego, CA 🇺🇸 United States 91 65.9 65.9 53,878 248,234 2,225 1,813 3,353 34,158
94 Semarang 🇮🇩 Indonesia 322 61.7 61.7 92,279 98,746 1,626 92,741 6,751 32,422
95 Auckland 🇳🇿 New Zealand 142 61.5 61.5 47,632 190,328 2,563 1,657 6,810 21,915
96 Beijing, Beijing 🇨🇳 China 137 61.4 59.0 49,484 183,216 12,596 12,865 10,665 9,650
97 Tallinn 🇪🇪 Estonia 288 61.2 61.2 32,378 175,731 1,106 387 8,248 16,106
98 Denpasar 🇮🇩 Indonesia 28 60.6 60.6 239,875 103,387 4,156 284,862 3,168 25,458
99 Calgary, AB 🇨🇦 Canada 170 60.0 60.0 22,254 170,303 954 248 2,358 25,440
100 Ninh Binh 🇻🇳 Vietnam 197 58.2 57.9 69,846 62,803 7,089 80,752 3,874 16,513
101 Delhi, DL 🇮🇳 India 167 58.0 57.4 98,395 167,762 3,780 39,936 18,725 31,600
102 Aleppo 🇸🇾 Syria 155 57.0 56.7 130,757 269,877 1,986 6,061 7,239 42,124
103 Catania 🇮🇹 Italy 144 56.5 56.5 17,419 140,478 199 8,775 1,665 6,724
104 Baku 🇦🇿 Azerbaijan 123 56.0 54.3 56,624 319,893 717 1,785 7,741 24,917
105 Mexico City, CDMX 🇲🇽 Mexico 90 54.9 46.1 60,102 144,624 3,852 4,987 4,354 13,420
106 Milan 🇮🇹 Italy 105 54.8 54.8 81,345 213,198 10,596 17,455 4,086 16,730
107 Kathmandu 🇳🇵 Nepal 165 53.1 35.7 220,220 70,839 5,497 128,570 10,501 19,109
108 Orlando, FL 🇺🇸 United States 114 52.3 52.3 17,464 157,366 1,269 654 2,583 20,535
109 Shenzhen, Guangdong 🇨🇳 China 143 51.6 46.2 39,411 125,997 4,331 13,374 9,926 14,122
110 Honolulu, HI 🇺🇸 United States 120 50.7 24.0 15,995 65,301 960 669 1,447 8,588
111 Boston, MA 🇺🇸 United States 106 50.0 30.0 54,616 98,875 2,284 738 2,257 13,720
112 Ben Tre 🇻🇳 Vietnam 99 49.0 44.2 151,401 32,418 4,750 148,535 3,321 12,171
113 Santiago 🇨🇱 Chile 86 48.3 2.6 3,883 9,327 174 360 647 1,271
114 Barcelona 🇪🇸 Spain 100 48.3 46.8 78,935 107,455 7,795 31,623 6,632 14,301
115 Kolkata, WB 🇮🇳 India 150 46.6 45.5 130,695 78,649 21,715 34,940 19,081 35,689
116 Adelaide, SA 🇦🇺 Australia 143 46.0 42.4 9,588 144,333 917 567 2,813 17,586
117 Doha 🇶🇦 Qatar 92 46.0 39.5 10,295 115,819 407 1,233 4,840 15,020
118 Toyohashi, Aichi 🇯🇵 Japan 169 45.5 42.5 11,123 98,081 2,791 875 4,720 25,462
119 Lviv, Lviv oblast 🇺🇦 Ukraine 150 45.0 44.8 63,230 134,577 989 394 8,573 18,206
120 Mashhad 🇮🇷 Iran 251 44.6 41.4 16,932 149,750 402 3,882 2,166 6,353
121 Ninohe, Iwate 🇯🇵 Japan 247 44.4 44.1 7,161 81,846 390 333 5,640 25,418
122 Sarajevo 🇧🇦 Bosnia and Herzegovina 159 44.1 44.1 55,711 168,484 579 444 4,576 11,721
123 Colombo 🇱🇰 Sri Lanka 111 43.9 42.3 67,795 95,548 855 22,050 15,840 35,589
124 Kharkiv, Kharkiv oblast 🇺🇦 Ukraine 91 42.3 42.3 30,082 133,852 419 317 4,305 14,960
125 Addis Ababa 🇪🇹 Ethiopia 68 42.3 40.4 115,279 123,218 474 1,806 9,116 33,186
126 Surabaya 🇮🇩 Indonesia 106 41.1 37.9 76,546 62,767 1,232 66,304 1,974 10,890
127 Nam Dinh 🇻🇳 Vietnam 128 40.9 40.8 77,650 54,913 6,750 93,151 1,949 9,542
128 Zürich, ZH 🇨🇭 Switzerland 78 40.5 40.5 57,598 89,210 10,095 5,358 4,311 11,447
129 Zaozhuang, Shandong 🇨🇳 China 123 40.0 40.0 24,206 142,111 1,348 14,095 6,017 20,132
130 Austin, TX 🇺🇸 United States 69 39.0 33.8 19,552 105,605 1,457 790 1,453 19,517
131 Rome 🇮🇹 Italy 76 38.7 38.7 72,132 172,506 2,559 13,943 3,779 11,459
132 Nicosia 🇨🇾 Cyprus 134 38.4 37.3 10,906 137,540 468 2,906 2,338 16,808
133 Jersey City, NJ 🇺🇸 United States 103 38.4 35.0 15,162 122,315 1,193 689 2,023 13,888
134 Madrid 🇪🇸 Spain 76 38.2 37.4 55,365 102,995 1,483 8,631 5,232 9,974
135 Asaba, Delta 🇳🇬 Nigeria 84 38.0 9.9 20,200 28,107 43 643 4,677 10,898
136 Brussels 🇧🇪 Belgium 85 37.4 37.1 47,072 118,563 6,812 2,465 5,031 14,930
137 Wellington 🇳🇿 New Zealand 125 37.3 37.3 21,943 120,026 1,084 1,198 3,418 13,665
138 Lisbon 🇵🇹 Portugal 70 37.3 37.3 31,377 124,157 1,072 3,710 3,362 11,946
139 Johor Bahru, JHR 🇲🇾 Malaysia 40 37.2 29.1 10,897 123,426 179 7,710 2,194 9,837
140 Freetown 🇸🇱 Sierra Leone 91 36.9 36.7 102,242 41,710 676 21,742 3,870 18,994
141 Simferopol, Crimea 🇺🇦 Ukraine 169 36.8 5.8 4,372 21,520 47 29 1,082 2,620
142 Zagreb 🇭🇷 Croatia 95 35.9 35.7 27,817 147,683 2,835 958 3,150 9,856
143 Genoa 🇮🇹 Italy 74 35.6 35.1 48,860 137,836 947 40,653 3,847 13,284
144 Lagos, Lagos 🇳🇬 Nigeria 73 35.1 35.1 171,334 114,861 1,406 17,719 9,433 28,865
145 Belgrade 🇷🇸 Serbia 108 34.9 34.2 33,559 153,559 471 1,021 5,345 11,369
146 Chennai, TN 🇮🇳 India 47 34.8 34.0 90,190 44,683 1,507 39,928 14,681 24,217
147 Riga 🇱🇻 Latvia 98 34.4 34.4 24,979 100,376 1,657 743 4,177 12,006
148 Thessaloniki 🇬🇷 Greece 82 34.3 34.3 45,109 179,495 1,242 13,225 3,451 13,905
149 Bengaluru, KA 🇮🇳 India 97 34.3 32.6 81,342 75,663 1,244 51,316 12,168 26,049
150 Tampa, FL 🇺🇸 United States 54 32.6 32.6 10,931 91,766 633 396 987 12,991
151 Birmingham 🇬🇧 United Kingdom 119 32.3 31.4 16,010 111,770 452 331 3,145 12,970
152 Riyadh 🇸🇦 Saudi Arabia 79 32.3 18.7 2,938 111,390 52 182 2,081 12,310
153 Rotterdam 🇳🇱 Netherlands 82 31.5 30.7 29,958 89,885 15,849 3,300 2,304 8,778
154 Chengdu, Sichuan 🇨🇳 China 59 31.1 27.9 17,404 115,943 2,479 5,513 4,291 8,216
155 Algiers 🇩🇿 Algeria 98 30.8 5.8 7,011 26,404 16 412 580 2,575
156 Goiânia, GO 🇧🇷 Brazil 69 30.8 28.8 15,865 85,432 807 8,619 1,146 8,190
157 Edmonton, AB 🇨🇦 Canada 56 30.4 30.4 7,755 105,060 402 217 1,530 14,082
158 Tbilisi 🇬🇪 Georgia 75 29.6 29.6 23,420 148,631 124 1,190 4,914 15,300
159 Kansas City, KS 🇺🇸 United States 53 29.1 29.1 3,691 76,105 101 77 896 12,115
160 Toshkent 🇺🇿 Uzbekistan 86 28.7 28.2 20,874 208,217 200 84 3,287 13,238
161 Pittsburgh, PA 🇺🇸 United States 59 27.8 27.8 16,511 63,628 696 303 1,361 9,615
162 Chișinău 🇲🇩 Moldova 94 27.8 26.3 29,048 132,858 206 242 5,670 14,481
163 Milton Keynes 🇬🇧 United Kingdom 50 27.7 27.7 1,585 65,583 173 187 752 5,973
164 Annaba 🇩🇿 Algeria 41 27.5 7.9 17,553 39,520 114 866 720 3,975
165 Fort McMurray, AB 🇨🇦 Canada 49 27.3 17.5 1,620 34,064 56 46 726 9,319
166 Yerevan 🇦🇲 Armenia 89 27.1 27.1 28,600 195,183 176 802 6,040 18,314
167 Lahore, PB 🇵🇰 Pakistan 89 26.9 26.9 109,457 95,082 3,312 63,405 4,840 23,604
168 Omaha, NE 🇺🇸 United States 82 26.6 26.1 3,443 86,559 181 211 695 12,840
169 Manchester 🇬🇧 United Kingdom 61 26.4 26.4 20,352 75,746 990 269 2,417 8,370
170 Havana 🇨🇺 Cuba 129 26.2 26.2 98,261 46,170 2,797 13,826 3,375 12,455
171 Cherepovets, Vologda oblast 🇷🇺 Russia 176 25.0 24.5 26,836 77,993 65 25 4,097 10,486
172 Hangzhou, Zhejiang 🇨🇳 China 35 24.9 8.8 6,905 25,486 414 2,780 1,186 1,999
173 Lima, LI 🇵🇪 Peru 37 24.7 24.7 45,832 113,777 4,530 6,861 5,017 12,701
174 Thiruvananthapuram, KL 🇮🇳 India 74 24.7 24.5 64,977 58,449 1,023 61,738 6,717 22,363
175 Daejeon 🇰🇷 South Korea 61 24.3 24.0 9,720 79,368 1,046 1,141 2,795 5,982
176 Frankfurt 🇩🇪 Germany 20 24.3 0.0 – – – – – –
177 Vilnius 🇱🇹 Lithuania 60 24.2 24.2 27,749 74,129 2,322 625 2,345 4,959
178 Samarkand 🇺🇿 Uzbekistan 81 23.9 23.5 24,145 140,637 407 234 2,900 13,034
179 Islamabad, ICT 🇵🇰 Pakistan 57 23.9 23.6 30,443 75,869 1,256 14,131 2,143 9,602
180 Stavropol, Stavropol krai 🇷🇺 Russia 79 23.9 23.9 13,759 93,659 262 83 3,365 8,364
181 New Orleans, LA 🇺🇸 United States 34 23.7 21.8 25,997 60,205 1,223 356 1,254 11,443
182 Brampton, ON 🇨🇦 Canada 78 23.5 23.5 5,474 116,861 163 124 1,587 12,233
183 Charleston, SC 🇺🇸 United States 39 23.3 23.3 25,771 61,584 943 313 865 13,261
184 Taipei 🇹🇼 Taiwan 51 22.8 19.6 27,758 55,497 1,764 22,112 3,229 6,334
185 Sendai, Miyagi 🇯🇵 Japan 58 22.7 22.5 6,350 64,201 898 511 3,185 13,403
186 Ōsaka, Ōsaka 🇯🇵 Japan 52 22.5 21.7 32,317 46,656 7,992 1,657 3,182 9,619
187 Porto 🇵🇹 Portugal 27 22.4 22.4 31,467 65,534 360 1,680 1,831 6,603
188 San Antonio, TX 🇺🇸 United States 26 22.2 11.1 9,257 23,720 350 146 424 4,357
189 Ottawa, ON 🇨🇦 Canada 39 22.2 22.2 30,160 62,169 3,115 432 1,495 6,527
190 Skopje 🇲🇰 North Macedonia 45 22.0 21.6 24,686 91,055 1,586 902 2,393 7,260
191 Kyoto, Kyōto 🇯🇵 Japan 45 21.9 19.7 28,572 42,313 3,422 2,068 4,455 10,468
192 Sapporo, Hokkaidō 🇯🇵 Japan 62 21.8 20.8 7,971 39,772 526 92 2,070 4,873
193 Cheongju 🇰🇷 South Korea 65 21.7 21.4 6,303 66,092 316 676 2,069 7,761
194 Chiang Mai 🇹🇭 Thailand 55 21.3 21.0 16,101 44,903 508 16,273 1,513 13,247
195 Beirut 🇱🇧 Lebanon 69 21.2 20.5 17,406 112,499 108 6,330 1,870 10,271
196 Medellín, ANT 🇨🇴 Colombia 53 20.8 10.0 24,671 29,479 718 11,404 1,774 3,569
197 Halifax, NS 🇨🇦 Canada 81 20.7 20.3 9,333 52,853 342 148 998 5,554
198 Malibu, CA 🇺🇸 United States 37 20.4 17.2 4,156 80,849 281 453 798 15,162
199 Monaco 🇲🇨 Monaco 46 20.3 20.3 38,846 32,963 1,033 13,199 1,598 4,440
200 Pattaya 🇹🇭 Thailand 36 19.9 19.0 30,427 49,365 286 22,521 3,284 13,820

Citation and usage of code

If you use this work for academic work please cite the following paper:

Alam, M. S., Bazilinska, O., & Bazilinskyy, P. (2026). A global dataset of continuous urban dashcam driving. arXiv preprint arXiv:2604.01044. Under review. Available at https://arxiv.org/abs/2604.01044

What the dataset contains, how it was collected and its known biases are described in the datasheet. Citation metadata is in CITATION.cff.

The code is open-source and free to use. It is aimed for, but not limited to, academic research. We welcome forking of this repository, pull requests, and any contributions in the spirit of open science and open-source code. For inquiries about collaboration, you may contact Md Shadab Alam (md_shadab_alam@outlook.com) or Pavlo Bazilinskyy (p.bazilinskyy@tue.nl).

Repository layout

Top folder: processing the videos and the analysis

  • main.py: downloads the videos of the mapping (from the FTP server, else YouTube) and runs YOLO tracking on their segments, writing one detection CSV per segment to the data folders; runs in a loop. helper_script.py holds its download, trimming and tracking code.
  • analysis.py: the tables, maps and figures of the dataset and the statistics in this README, from the mapping and, when available, the YOLO detections. count_detections.py counts the detections where the CSVs are and saves the counts (analysis_data/detection_counts.csv.gz), so that analysis.py and the GitHub Action can use them without the CSVs.
  • add_video.py: the page for adding videos and segments to the mapping by hand (templates in templates/).
  • common.py (configs, secrets, country codes, git, email), custom_logger.py and logmod.py (logging): shared by all scripts.

Top folder: proposing segments from YouTube channels (see Proposing segments)

  • propose_segments.py: proposes segments, localities, time of day and vehicle of a channel's videos, and serves the review page of a batch.
  • run_channels.py: works through the channels sheet, batch by batch; refresh_queue.py builds the queue of channels to look at again for new uploads.
  • review_hub.py: the page listing the batches to review, and applying and pushing reviewed segments.
  • sync_workers.py: brings the batches of the worker machines to the reviewing machine and the mapping to them.
  • review_merges.py: merging towns into the city whose metropolitan area they lie in; review_lessons.py: what the reviews say about the proposals.

Folders

  • utils/: the analysis and figure code used by analysis.py:
    • core/parsing.py (the mapping's list cells, the processed length of a segment), core/dataset_stats.py (totals);
    • analytics/contributors.py (who added each video), analytics/metrics_cache.py (YOLO class IDs, unique keys);
    • plotting/dataset_figures.py (the README figures), plotting/area_figures.py (county, region, smoothed and spike maps), plotting/maps.py (world and continent maps), plotting/map_labels.py (label placement), plotting/hover.py (popups shared by all figures), plotting/io.py (saving figures), plotting/constants.py.
  • release/: the weekly metadata update and the release files (update_info.py, make_crowd_jsonl.py, split_large_files.py, validation_release.py, weekly_metadata.sh); make_splits.py (the train, validation and test splits and the balancing weights in crowd_splits.csv: grouped by channel or by locality, so no source is in two splits); and the manual audits: sample_audit.py draws the stratified samples, audit_stats.py scores the label audit and evaluate_detections.py the detections from the manual review; annotate.py is the local browser tool for those audits (labels, review of the detector's boxes in frames, tracking errors in clips), which finds the videos and detection files in any number of folders.
  • tools/: maintenance scripts for the mapping and the data, e.g. download_videos.py, video_inventory.py, update_traffic_index.py, update_params.py and weekly_detection_counts.sh; the review of cuts is detect_cuts.py (candidates), review_cuts.py (the review page) and apply_cuts.py (splits the mapping and the detection files at the confirmed cuts).
  • dashboards/: pages and widgets that follow the pipeline (its own README).
  • analysis_data/: data files the analysis reads and writes: country tables (countries.csv, height_data.csv), the YOLO detection counts (detection_counts.csv.gz) and who added which video (video_contributors.csv). The mapping and metadata files (mapping.csv, mapping-NAME.csv, mapping_metadata.csv, crowd_index.jsonl, ...) and cut_times.csv stay in the top folder.
  • figures/: the figures of this README (PNG, HTML and, when made on purpose, EPS), and figure_hashes.json, which records what each file was made from, so that only changed figures are saved again (see Step 11); readme/ and screenshots/: images of this README and of the figures.
  • logs/: records kept by the scripts (traffic_index_log.csv, appended by tools/update_traffic_index.py).
  • archive/: old files no code uses any more (mappingsubmitted.csv).
  • tests/: tests of the scripts.
  • .github/workflows/: the weekly refresh of the README statistics and figures (dataset-figures.yml) and the linter.

Run the scripts with the virtual environment active (see Step 11).

Getting started

Tested with Python 3.12.13 and the uv package manager.

The project is configured to automatically select the appropriate PyTorch backend. On systems with a supported NVIDIA GPU and CUDA driver, uv installs a CUDA enabled version of PyTorch. If no supported GPU is detected, it automatically falls back to the CPU version.

Step 1: Install uv

uv is a fast Python package and environment manager.

macOS / Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

Windows PowerShell:

irm https://astral.sh/uv/install.ps1 | iex

Alternative, if Python and pip are already installed:

pip install uv

Step 2: Fix permissions if needed

In some environments, uv may need to create directories under:

macOS / Linux:

~/.local/share/uv/python

Windows:

%LOCALAPPDATA%\uv\python

If these directories were previously created by another user or with elevated privileges, you may encounter an error such as:

error: failed to create directory ... Permission denied (os error 13)

macOS / Linux

mkdir -p ~/.local/share/uv
chown -R "$(id -un)":"$(id -gn)" ~/.local/share/uv
chmod -R u+rwX ~/.local/share/uv

Windows PowerShell

New-Item -ItemType Directory -Force "$env:LOCALAPPDATA\uv"

icacls "$env:LOCALAPPDATA\uv" /grant "$($env:UserName):(OI)(CI)F"

Step 3: Verify uv

Check that uv is available:

uv --version

Step 4: Clone the repository

git clone https://github.com/crowd-dataset/crowd.git
cd crowd

Step 5: Install Python 3.12.13

The project is tested with Python 3.12.13.

Install it using uv:

uv python install 3.12.13

The repository contains a .python-version file so that uv can automatically select the correct Python version.

Step 6: Create the virtual environment

Create a virtual environment in .venv using Python 3.12.13:

uv venv --python 3.12.13

Step 7: Activate the virtual environment

macOS / Linux:

source .venv/bin/activate

Windows PowerShell:

.\.venv\Scripts\Activate.ps1

Windows Command Prompt:

.\.venv\Scripts\activate.bat

Step 8: Install the dependencies

Install the project dependencies from pyproject.toml:

uv pip install -r pyproject.toml

The project uses:

[tool.uv.pip]
torch-backend = "auto"

This allows uv to automatically select the appropriate PyTorch backend for the current machine.

For example:

  • NVIDIA GPU with a compatible CUDA driver → CUDA enabled PyTorch
  • No supported GPU → CPU PyTorch

No manual selection of a CUDA version should normally be required.

Note: Do not use uv sync for the initial installation if automatic PyTorch backend detection is required. Automatic torch-backend selection currently applies to the uv pip interface.

Step 9: Verify the PyTorch backend

Check which PyTorch backend was installed:

python -c "import torch; print('PyTorch:', torch.__version__); print('CUDA available:', torch.cuda.is_available()); print('CUDA version:', torch.version.cuda); print('Device:', torch.cuda.get_device_name(0) if torch.cuda.is_available() else 'CPU')"

On an NVIDIA CUDA system, the output should look similar to:

PyTorch: 2.8.0+cu129
CUDA available: True
CUDA version: 12.9
Device: NVIDIA GeForce RTX 5090

On a machine without a supported GPU, CUDA available will be False and the CPU version of PyTorch will be used.

Step 10: Create config and secret

mapping.csv (the videos, segments and localities) is in the top folder of the repository. Copy the two templates in the top folder:

cp default.config config
cp default.secret secret

In config, set data to the folders that hold (or will hold) the YOLO output (bbox/*.csv in each), videos to the folders with the videos, and mapping to the mapping file (mapping.csv); the other parameters are described in Configuration of project. The scripts stop when there is no config. Fill in only the keys of secret you need (The secret file); the analysis needs none.

Step 11: Run the scripts

Run the scripts from the top folder of the repository with the virtual environment active:

python main.py                     # download the videos and run YOLO on their segments (runs in a loop)
python analysis.py                 # tables, figures and README statistics (YOLO counts from the data folders
                                   # or, without them, from analysis_data/detection_counts.csv.gz)
python count_detections.py --data /path/to/data   # count the YOLO detections and save the snapshot

analysis.py saves a figure (each of its HTML, PNG and EPS files) only when what it shows changed since it was last saved, as recorded in figures/figure_hashes.json, and renders the PNG and EPS files in parallel; an unchanged run takes about a minute. To save every figure again, delete figures/figure_hashes.json first.

The scripts in tools/ and release/ can be run as a file or as a module, and from any folder (they switch to the top folder, where mapping.csv and the other files are):

python tools/check_lists.py
python -m tools.check_lists

The tests run with python -m pytest tests (after uv pip install pytest); tests/test_reject_segments.py is a script run with python tests/test_reject_segments.py on the reviewing machine, as it needs its review plans. Some modules have a self-check: python -m utils.core.parsing, python -m utils.plotting.map_labels.

Configuration of project

Configuration of the project needs to be defined in config; copy default.config to start. The scripts stop when config is missing or has fewer entries than default.config. Entries marked optional may be left out. The config file has the following parameters:

Data and mapping

  • data: folders with the YOLO output (a bbox/ folder of detection CSVs in each).
  • videos: folders with the downloaded videos.
  • mapping: the mapping file (mapping.csv).
  • countries_analyse: ISO3 codes of the countries to analyse; empty for all.
  • min_confidence: minimum YOLO confidence of a detection counted in the analysis.

Video processing (main.py)

  • machine_name: name of the machine in the emails sent by main.py.
  • tracking_mode: run YOLO tracking and write the detection CSVs.
  • tracking_model: the YOLO model file (e.g. yolo11x.pt).
  • bbox_tracker: the tracker settings (bbox_custom_tracker.yaml, its track buffer set from track_buffer_sec).
  • track_buffer_sec: how long (s) a lost track is kept before it ends.
  • max_workers: segments processed at the same time.
  • download_workers: videos downloaded or prepared at the same time.
  • max_active_segments_per_video: segments of the same video processed at the same time: with 1, the workers take segments of different videos (with max_workers=3, 3 videos at once); with 2+, several workers may take segments of one video, which helps when a video has many segments.
  • runs_root: folder for YOLO's working files.
  • external_ssd: the videos are on an external drive: segments are trimmed on the internal drive (the last folder of videos).
  • ftp_server: server from which videos are fetched before trying YouTube (ftp_username and ftp_password, and optionally ftp_token, in secret).
  • delete_youtube_video, delete_runs_files, delete_labels: delete downloaded videos, YOLO's working files and its label files after processing.
  • save_annotated_video, save_annoted_img, save_tracked_img, display_frame_tracking: save an annotated video, save annotated or tracked frames, show the tracking while it runs.
  • snellius_mode, snellius_shard_mode: running as several tasks on the Snellius cluster, each taking its share of the segments.
  • sleep_sec, git_pull: pause (s) at the end of each loop of main.py, and pulling the repository then.
  • email_send, email_sender, email_recipients: email when a job finishes or crashes (see the secret file below).

Downloading from YouTube

  • client: pytubefix client ("WEB", "ANDROID" or "IOS").
  • need_authentication: sign in to YouTube for downloads with pytubefix.
  • update_package: update pytubefix and yt-dlp (on Mondays) before downloading.
  • Optional: use_pytubefix (false: yt-dlp only), cookies_file (a Netscape cookies file for yt-dlp), cookies_browser (yt-dlp's --cookies-from-browser, e.g. chrome) and js_runtime (yt-dlp's JavaScript runtime, e.g. node:/path/to/node).

Updating the mapping

  • update_pop_country, update_gini_value: update the countries' population and Gini index in the mapping from the World Bank when main.py starts.

Figures and output

  • font_family, font_size, plotly_template: look of the figures.
  • logger_level: level of console output: debug, info, warning or error.
  • Optional: open_html_figures (true: open every saved HTML figure in the browser) and save_eps (false: no EPS figures, as in the GitHub Action; EPS needs poppler's pdftops).

The secret file

API keys, passwords and usernames live in a file named secret (no extension) in the root of the project. It is ignored by git, so it is never committed. To create it, copy the template default.secret to secret and fill in the values you need. Any value can stay empty ("") if you do not use the feature it belongs to. Running the analysis on the released dataset needs none of them; running main.py needs at least an empty secret copied from the template.

The file is a single JSON object:

{
  "geonames_username": "",
  "bea_api_key": "",
  "tomtom_api_key": "",
  "restcountries_api_key": "",
  "email_smtp": "",
  "email_account": "",
  "email_password": "",
  "ftp_username": "",
  "ftp_password": "",
  "carto_api_key": "",
  "youtube_api_key": "",
  "locationiq_api_key": ""
}

Which keys you need depends on what you run:

  • analysis of the released dataset (analysis.py): none; carto_api_key is optional.
  • adding videos (add_video.py): geonames_username, restcountries_api_key, tomtom_api_key and youtube_api_key; bea_api_key for US localities.
  • proposing segments from channels (propose_segments.py): youtube_api_key; geonames_username and locationiq_api_key help.
  • updating the traffic index (tools/update_traffic_index.py): tomtom_api_key.
  • processing videos (main.py): ftp_username and ftp_password for the VideoFiles server; the email keys only if email_send is on in config.
Key Used by What for Where to get it
geonames_username add_video.py, propose_segments.py locality population, a fallback for coordinates, and place lookups free account at GeoNames; see below
bea_api_key add_video.py GDP of US localities free key from BEA; see below
tomtom_api_key add_video.py, tools/update_traffic_index.py traffic index from TomTom traffic flow free account at TomTom; see below
restcountries_api_key add_video.py country population, continent and Gini free account at REST Countries; see below
email_smtp, email_account, email_password main.py email when a job finishes (email_send in config) your email provider; see below
ftp_username, ftp_password main.py downloading videos from the VideoFiles server the maintainers (see Contact)
carto_api_key utils/plotting/maps.py optional: basemap tiles for the Mapbox-style maps without CARTO's watermark; without a key, CARTO's free basemap is used CARTO; see below
youtube_api_key propose_segments.py, add_video.py listing a channel's videos and their length, upload date and channel, without downloading them see below
locationiq_api_key propose_segments.py optional: faster place lookups (localities from titles, descriptions and chapters, and the towns along a drive "from A to B") see below

Getting a YouTube Data API key

The key is free; the default quota of 10,000 units a day covers several large channels (listing a channel's search results costs 100 units per 50 videos, video details 1 unit per 50 videos).

  1. Go to the Google Cloud console and sign in with the Google account you want the key to belong to.
  2. Create a project: project selector at the top → New project → give it a name (e.g. crowd) → Create, then select it.
  3. Open APIs & Services → Library, search for YouTube Data API v3 and click Enable.
  4. Open APIs & Services → Credentials → Create credentials → API key. Copy the key that appears.
  5. Recommended: click the new key → under API restrictions choose Restrict key → select YouTube Data API v3 → Save, so the key cannot be used for anything else.
  6. Put the key in secret as "youtube_api_key": "...".

Getting a LocationIQ key (optional)

propose_segments.py looks places up on OpenStreetMap: to guess a video's locality from a named place ("Al Khan Beach" is in Sharjah) and to split a drive "from A to B" into the towns along its route (about 25 lookups per such drive). Without a key it uses the public Nominatim server, which allows one request a second and refuses requests for a while when a busy day goes over that. LocationIQ runs the same OpenStreetMap search with a free key: 5,000 requests a day at two a second, with no payment details. With a key in secret, lookups go to LocationIQ; once its daily requests are used up, they fall back to the public server.

  1. Sign up for the free plan at locationiq.com and confirm your email address.
  2. Open the dashboard's Access Tokens page and copy the token there.
  3. Put it in secret as "locationiq_api_key": "...". Nothing else needs changing; running channel batches pick it up from their next chunk.

Getting a GeoNames username

GeoNames is free; an account allows 10,000 requests a day and 1,000 an hour.

  1. Create an account at geonames.org/login and confirm your email address with the link GeoNames sends.
  2. Sign in and open your account page. At the bottom, click Click here to enable the free web services. Requests are refused until this is done.
  3. Put your username (not your email address) in secret as "geonames_username": "...".

Getting a BEA API key

The U.S. Bureau of Economic Analysis key is free and is used only for localities in the USA.

  1. Fill in your name and email address at apps.bea.gov/API/signup.
  2. BEA emails you the key (a 36-character code); click the activation link in that email.
  3. Put the key in secret as "bea_api_key": "...".

Getting a TomTom API key

The traffic index uses TomTom's Traffic Flow API (segment data). Its free tier allows 20,000 requests a month, with no payment details needed.

  1. Create an account at developer.tomtom.com and confirm your email address.
  2. Open the Dashboard: a key is created with the account (Keys section). Copy it.
  3. Put it in secret as "tomtom_api_key": "...".

tools/update_traffic_index.py uses one request per locality and only queries localities where it is local daytime; requests beyond the free tier are refused unless payment details are added to the TomTom account.

Getting a REST Countries API key

add_video.py uses version 5 of the REST Countries API, which needs a key. The free plan allows 1,000 requests a month, with no payment details.

  1. Sign up at restcountries.com/sign-up and confirm your email address.
  2. Create an API key in the dashboard and copy it.
  3. Put it in secret as "restcountries_api_key": "...".

Email settings

main.py can email you when a job finishes (email_send, email_sender and email_recipients in config). It connects to the SMTP server over SSL on port 465.

  • email_smtp: the SMTP server of your provider, e.g. smtp.gmail.com for Gmail.
  • email_account: the full email address you send from.
  • email_password: for Gmail, an app password, not your normal password. Turn on 2-Step Verification for the Google account, then create an app password at myaccount.google.com/apppasswords and paste the 16 characters. Other providers have similar app passwords or use the account password.

Getting a CARTO key (optional)

The Mapbox-style maps (mapbox_map_*) use CARTO's free basemap, which shows a CARTO watermark. With a key, maps.py loads CARTO's basemap tiles with the key instead.

  1. Create an account at carto.com.
  2. In the CARTO Workspace, create an API access token under Developers → Credentials and copy it.
  3. Put it in secret as "carto_api_key": "...".

Example of YOLO output for a video with dashcam footage

Video: https://www.youtube.com/watch?v=_Wyg213IZDI.

Selection procedure

Segments of videos were not selected if frames are skipped

Video: https://www.youtube.com/watch?v=0K9vaQxKZ9k.

Snippets of videos are not analysed during the movement of camera

Video: https://www.youtube.com/watch?v=3jVszt_78_k.

Videos are excluded from analysis if the camera is unstable or shaking

Video: https://www.youtube.com/watch?v=uFG1_JBZUmM.

Snippets of videos captured in parking areas were excluded from analysis

Video: https://www.youtube.com/watch?v=U0pdQ8eZtHY.

Videos are excluded from analysis if another video is a part of main video

Video: https://www.youtube.com/watch?v=rdx7UFXYSz0.

Verification of segments

After segments were added, they were checked again by hand. The checks were done by Md Shadab Alam, on the main branch, for the segments of mapping.csv, including the videos that other contributors of this repository added (see Who added the videos).

Why a manual step. A retained segment should be one continuous, unedited stretch of driving. Watching all the footage again is not feasible, but an automatic detector of abrupt visual change can point to the few seconds where a cut is likely. The detector alone is not reliable enough to cut the data: a sudden change can be an edit, but also the entrance of a tunnel, a flash of sunlight or a passing lorry, and telling them apart needs context. So the detector proposes candidates, a person decides, and only the decisions of the person are applied. Among the candidates that could be judged so far, most were not cuts (about 59%), so splitting at every candidate would have broken many continuous segments.

1. Candidate cuts. python -m tools.detect_cuts runs FFmpeg scene-change detection (threshold 0.45) on the original video of each segment, over the segment only, merges times closer than 2 s, and writes the candidates to cut_times.csv with the video, the segment start, the frame rate and the time of the candidate. The threshold favours abrupt cuts: gradual transitions, and cuts between similar scenes, can be missed, and the detector does not find speed changes or advertisements.

2. Reviewing. python -m tools.review_cuts serves a page (port 5050) that plays the YouTube video from two seconds before to two seconds after each candidate. The reviewer marks the candidate as yes (a real cut), no (not a cut) or unavailable (YouTube no longer plays or embeds the video), and can add a note. The decision and the time of the review are saved in cut_times.csv.

In total, 52,838 cuts were analysed.

3. What the reviewer looked for.

  • Cuts in videos added by other contributors. The segments of the videos added by the other authors of the repository were checked for cuts, in the same way as the others.
  • Videos that are not at normal speed. Videos that play faster or slower than 1x (for example fast-forwarded footage or time-lapses) are not suitable, because speeds and crossing times in them are wrong. Such cases are noted, for example as fast forward.
  • Advertisements in the footage. An advertisement that was cut into the middle of a video is not footage of the road. Where one was found, it was removed from the segments by the reviewer.

4. Applying the result. python -m tools.apply_cuts applies the candidates marked yes. A cut at time t splits its segment in mapping.csv into a part that ends at floor(t) and a part that starts at ceil(t), so one to two seconds around the cut are dropped, and parts shorter than one second are discarded. The detection CSV of the segment is split at the same frames, with frame numbers restarted at 1 and the true frame rate read from the video (not the rounded one in the file name), so the split files stay aligned. Segments that become too short are removed, and detection CSVs that no longer match a segment in mapping.csv are removed from the data folder.

Description and analysis of dataset

Note: The interactive figures are displayed using htmlpreview.github.io, which may be blocked on some institutional or education networks. If an interactive figure does not open, try another network or download the corresponding .html file from the figures directory and open it locally in a web browser.

Description of dataset

Locations of cities with footage in dataset Locations of cities with footage in dataset. Note: continents are based on geography, i.e., the cities in Russia east from Ural mountains are shown as Asia.

Locations of cities with footage in dataset with density overlay of population Locations of cities with footage in dataset with a density overlay of population. Note: continents are based on geography, i.e., the cities in Russia east from Ural mountains are shown as Asia.

Locations of cities with footage in dataset with density overlay of the number of videos in the dataset Locations of cities with footage in dataset with a density overlay of the number of videos in the dataset. Note: continents are based on geography, i.e., the cities in Russia east from Ural mountains are shown as Asia.

Locations of cities with footage in dataset with density overlay of the total number of seconds of footage in the dataset Locations of cities with footage in dataset with a density overlay of the total number of seconds of footage in the dataset. Note: continents are based on geography, i.e., the cities in Russia east from Ural mountains are shown as Asia.

Amount of footage per country in Africa Amount of footage (hours) per country in Africa. Note: the colour scale is logarithmic; countries are grouped by the continent of their cities in the dataset; a country with cities on two continents (Russia, Türkiye) is coloured and labelled with its whole footage on both maps.

Amount of footage per country in Asia Amount of footage (hours) per country in Asia. Note: the colour scale is logarithmic; countries are grouped by the continent of their cities in the dataset; a country with cities on two continents (Russia, Türkiye) is coloured and labelled with its whole footage on both maps.

Amount of footage per country in Europe Amount of footage (hours) per country in Europe. Note: the colour scale is logarithmic; countries are grouped by the continent of their cities in the dataset; a country with cities on two continents (Russia, Türkiye) is coloured and labelled with its whole footage on both maps.

Amount of footage per country in North America Amount of footage (hours) per country in North America. Note: the colour scale is logarithmic; countries are grouped by the continent of their cities in the dataset; a country with cities on two continents (Russia, Türkiye) is coloured and labelled with its whole footage on both maps.

Amount of footage per country in Oceania Amount of footage (hours) per country in Oceania. Note: the colour scale is logarithmic; countries are grouped by the continent of their cities in the dataset; a country with cities on two continents (Russia, Türkiye) is coloured and labelled with its whole footage on both maps.

Amount of footage per country in South America Amount of footage (hours) per country in South America. Note: the colour scale is logarithmic; countries are grouped by the continent of their cities in the dataset; a country with cities on two continents (Russia, Türkiye) is coloured and labelled with its whole footage on both maps.

Amount of footage per US state Amount of footage (hours) per US state. Note: the colour scale is logarithmic.

Footage per US county Footage per US county (log colour scale): localities are assigned to the county they lie in. Hover over a county for its localities.

Footage per million people per US county Hours of footage per million people per US county (population: US Census Bureau estimates, 2024).

Share of night footage per US county Share of footage recorded at night per US county (counties with at least an hour of footage).

Footage per European region Footage per European region: Eurostat NUTS 2 regions for the EU, EFTA, the United Kingdom and candidate countries, and geoBoundaries regions for European Russia (west of the Urals), Ukraine, Belarus and Bosnia and Herzegovina; Moldova, Kosovo and small countries as a whole.

Footage per million people per European region Hours of footage per million people per European region (population: Eurostat, each region's latest year; for Russia, Ukraine, Belarus and Bosnia and Herzegovina, Wikidata's latest figure).

Share of night footage per European region Share of footage recorded at night per European region (regions with at least an hour of footage).

Footage per locality in the United States as spikes One spike per locality in the contiguous United States (Alaska and Hawaii are not in the view); height and colour show its hours of footage (log scale).

Footage per locality in Russia as spikes One spike per locality in Russia; height and colour show its hours of footage (log scale).

Footage per locality in Japan as spikes One spike per locality in Japan.

Where the footage is in Europe Where the footage is in Europe: hours of footage per 10,000 km², smoothed over about 50 km (log colour scale); grey: no footage nearby. Callouts mark the densest places.

Where the footage is in North America Where the footage is in North America.

Where the footage is in Asia Where the footage is in Asia.

Distance to the nearest footage in Europe Blind spots of the dataset in Europe: distance from every place to the nearest locality with at least an hour of footage. Callouts mark the places furthest from any footage.

Distance to the nearest footage in North America Blind spots of the dataset in North America.

Distance to the nearest footage in Asia Blind spots of the dataset in Asia.

Share of night footage in Europe, smoothed Share of footage recorded at night in Europe, smoothed over about 50 km and weighted by footage; grey where there is less than an hour of footage within 100 km.

Average upload year of the footage in Europe Average year of upload of the footage in Europe (weighted by footage): where the footage is recent and where it is older.

Number of videos against the amount of footage per locality, log scales Number of videos against the amount of footage per locality (log scales), coloured by continent, with every country and its flag in the legend on the right, in alphabetical order (scroll it in the HTML version; click a country to hide or show it); hover over a point for its details. The 40 localities with the most footage are labelled where there is room, the top 12 in larger black text; in the HTML version, zoom in to label every point.

Number of videos against the amount of footage per locality, linear scales The same on linear scales, which show how far the localities with the most footage lead, with the same country legend. The 40 localities with the most footage are labelled where there is room, the top 12 in larger black text; in the HTML version, zoom in to label every point.

Number of videos against the amount of footage per country, log scales Number of videos against the amount of footage per country (log scales), coloured by continent; hover over a point for its details. Countries are labelled with their flag and ISO3 code, the 30 with the most footage in larger black text; in the HTML version, zoom in to label every point.

Number of videos against the amount of footage per country, linear scales The same on linear scales, which show how far the countries with the most footage lead. The 30 countries with the most footage are labelled with their flag and ISO3 code where there is room; in the HTML version, zoom in to label every point.

Distribution by continent Footage (hours) by continent, by day and by night. Note: continents are based on geography, i.e., the cities in Russia east from Ural mountains are shown as Asia.

Time of upload of videos Number of videos by quarter of upload and continent. The current quarter (hatched) is not complete yet.

Distribution by type of vehicle Footage by the type of vehicle it is filmed from (log scale), with each type's share of the footage and of its footage at night.

Amount of footage per locality against its population Amount of footage per locality against its population. Large localities with little footage are candidates for adding videos.

Footage per locality against its population, relative to the trend Footage per locality against its population (log scales), coloured by whether a locality has more than three times, about, or less than a third of the footage its size predicts (the dotted least-squares line). Labelled: the most populous localities, those with the most footage, and the most under-covered cities of over a million people, which are the next ones to collect.

Amount of footage per locality against its gross metropolitan product Amount of footage per locality against its gross metropolitan product (GMP of the metropolitan area: localities in one metropolitan area share its GMP), with the Spearman rank correlation: whether economically large cities dominate the data.

Amount of footage per locality against its traffic index Amount of footage per locality against its traffic index (how much slower than free flow traffic is, from one TomTom reading per locality), for localities with a reading above 0, with the Spearman rank correlation.

Amount of footage per country against country indicators, showing whether some kinds of countries are over- or under-represented Amount of footage per country against country indicators, with the Spearman rank correlation and a trend line per panel, showing whether some kinds of countries are over- or under-represented.

Share of footage recorded at night per country Share of footage recorded at night per country. Countries with less than 10 hours of footage are grey, as their share is not reliable.

Share of footage recorded at night per European country Share of footage recorded at night per European country, printed on each (countries with at least 10 hours of footage; Russia and Türkiye whole).

Footage per million inhabitants per country Hours of footage per million inhabitants per country: coverage relative to country size (log scale; countries with less than 10 hours of footage are grey).

Footage per million inhabitants per European country Hours of footage per million inhabitants per European country, printed on each (log scale; countries with at least 10 hours of footage; Russia and Türkiye whole).

Footage per million people against GDP per person per country Hours of footage per million people against GDP per person (both log scales; circle size: population), coloured by whether a country has more than twice, about, or less than half the footage its wealth predicts (the dotted least-squares line). GDP per person at purchasing-power parity is the World Bank's latest value.

Share of footage from the largest channel per country Share of each country's footage that comes from its largest YouTube channel. Where it is high, one uploader's routes and camera dominate that country's data. Countries with less than 10 hours of footage are grey.

Type of vehicle the footage is recorded from, as a share of footage per continent Type of vehicle the footage is recorded from, as a share of footage per continent.

Share of footage coming from the largest YouTube channels Share of footage coming from the largest YouTube channels.

Distribution of the length of segments (parts of videos included in the dataset) Distribution of the length of segments (parts of videos included in the dataset).

Localities in the dataset, sized by footage Every locality in the dataset as a dot coloured by continent; the dot area is proportional to the hours of footage.

Localities in the dataset on a globe The same localities on a globe. The HTML version spins until you grab it; drag to turn it.

Localities in the dataset on a 3D globe with spikes The localities on a 3D satellite globe (NASA Blue Marble), with a spike for each locality whose height shows its hours of footage on a log scale, so localities with little footage are visible too. In the HTML version, a button merges neighbouring localities into one spike per area of about 200 km, which is easier to read where localities are dense. Each spike is orange for the share of its footage recorded by day and blue for the share at night. The HTML version spins until you grab it; drag to turn it, scroll to zoom.

Localities in the dataset on the spinning globe of the dashboards The spinning globe of the CROWD dashboards: every locality as a square that grows with its hours of footage, and the places with segments added in the last week (red) and month (amber). The HTML version loads the latest data when it opens (from the globe on bazilinskyy.github.io, rebuilt every night) and turns until you grab it; drag to turn it, hover over a place for its footage and new segments, and click it to watch its longest segment on YouTube.

Footage by continent, country and locality Footage by continent, country and locality, coloured by the share recorded at night. A country with localities on two continents (Russia, Türkiye) has a box in each. In the HTML version, click a box to zoom in down to the localities.

Share of footage against share of population per country Share of footage against share of population (of all countries in the dataset) for the countries among the 25 largest by footage or the 25 largest by population (log scale). Where the orange dot is left of the blue one, the country is under-represented.

Footage by population of locality per continent Share of footage by population of the locality, per continent and overall: what "urban" means in each part of the dataset.

Effective number of YouTube channels per country Effective number of YouTube channels per country (inverse Herfindahl index of the channels' shares of footage): 1 means a single uploader; n means as diverse as n channels with equal shares. Countries with less than 10 hours of footage are grey.

Effective number of channels against footage per country Effective number of YouTube channels against hours of footage per country (log scales; circle size: population), coloured by whether a country has more than twice, about, or less than half the channels its amount of footage predicts. Countries below the line rest on few uploaders, so their footage reflects few channels' routes, cameras and styles.

Where the 20 channels with the most footage film Where the 20 YouTube channels with the most footage film, numbered by footage, with the number of countries and hours of each (dot area proportional to hours). Travel channels span many countries; most large channels film in one country or city. In the HTML version, each channel's number links to the channel on YouTube.

Length of segments by continent and type of vehicle Length of segments by continent and by type of vehicle (boxes: quartiles; whiskers: 5th and 95th percentiles).

Detections in the footage (YOLO)

Objects detected in the footage by YOLO (yolo11x with tracking): unique tracked persons, cars, bicycles, motorcycles, buses and trucks, counted with a confidence of at least 0.7 and expressed per minute of analysed footage. The counts per segment are kept in analysis_data/detection_counts.csv.gz (video, start of the segment and the unique tracked objects of each class), which python count_detections.py --data <folder with bbox/> writes where the YOLO detection CSV files are (the first run reads about 900 GB of CSVs, in parallel with --workers; later runs read only new or changed files, cached in _output/). analysis.py, also in the GitHub Action, makes the tables and figures below from it, matched to the current mapping, so they stay up to date without the CSV files. Every Sunday at 20:00 (Amsterdam time), tools/weekly_detection_counts.sh on the machine with the data drive counts newly analysed footage and pushes analysis_data/detection_counts.csv.gz if it changed, ahead of the weekly refresh of the figures.

The detections are automatic outputs, not ground truth. What the detector sees depends on the camera, resolution and viewpoint, so the figures by vehicle type and by year of upload show these effects next to the comparisons between countries.

Based on the YOLO detections in 97,986 processed segments, last updated 2026-11-28 10:16 UTC.

Tables

Detections per continent
# Continent Analysed (h) Of footage (%) Localities Persons / min Cars / min Bicycles / min Motorcycles / min Buses / min Trucks / min
1 Africa 837.3 75.5 563 43.97 47.56 1.31 10.20 2.40 9.87
2 Asia 9,717.2 95.3 2,152 25.95 45.03 1.03 16.62 2.75 8.26
3 Europe 9,043.3 90.3 3,726 17.70 49.75 2.55 1.31 1.96 5.68
4 North America 10,910.6 88.8 2,492 10.33 57.21 0.66 0.43 1.03 8.09
5 Oceania 1,613.2 83.0 439 8.55 59.83 0.56 0.61 1.33 9.00
6 South America 1,177.1 88.3 399 19.75 53.13 1.33 4.69 1.80 7.22
7 All 33,298.8 90.3 9,771 17.98 51.37 1.32 5.80 1.86 7.54
Top 20 countries by pedestrians per minute (at least 10 analysed hours in at least 3 localities)
# Country Pedestrians / min 95% interval Analysed (h) Localities
1 🇺🇬 Uganda 98.48 84.86–111.50 84.9 19
2 🇳🇵 Nepal 98.26 27.58–102.13 38.2 4
3 🇧🇩 Bangladesh 66.25 45.54–72.41 107.2 28
4 🇳🇬 Nigeria 65.96 39.22–77.83 67.3 35
5 🇵🇰 Pakistan 58.39 45.73–74.90 161.0 37
6 🇨🇺 Cuba 56.92 30.27–61.30 34.3 25
7 🇰🇪 Kenya 55.39 52.29–65.94 27.2 55
8 🇪🇹 Ethiopia 48.57 47.39–82.01 42.2 8
9 🇮🇳 India 47.58 43.06–54.24 477.7 292
10 🇻🇳 Vietnam 46.08 27.76–49.05 1,168.2 68
11 🇰🇭 Cambodia 45.56 25.35–47.25 221.9 7
12 🇬🇲 Gambia 42.96 33.39–54.64 95.7 30
13 🇨🇬 Congo (Congo-Brazzaville) 42.33 5.83–43.13 11.8 3
14 🇲🇼 Malawi 41.64 33.10–55.16 31.5 48
15 🇸🇱 Sierra Leone 39.48 25.50–46.15 79.1 46
16 🇨🇴 Colombia 38.42 34.62–42.62 50.9 36
17 🇬🇭 Ghana 35.95 30.31–59.98 11.4 10
18 🇮🇩 Indonesia 34.91 27.97–45.91 1,019.7 176
19 🇲🇦 Morocco 32.84 28.53–39.15 47.3 35
20 🇬🇧 United Kingdom 31.61 9.58–35.31 1,512.8 358
Top 20 localities by pedestrians per minute (at least 1 analysed hour)
# Locality Pedestrians / min Analysed (h)
1 🇮🇳 Varanasi 277.62 1.0
2 🇨🇫 Bangui 123.28 5.2
3 🇮🇳 Anantapur 118.73 1.2
4 🇺🇬 Mubende 109.17 3.2
5 🇲🇬 Toamasina 108.70 1.3
6 🇵🇰 Dera Ismail Khan 108.37 1.2
7 🇵🇰 Sialkot 105.14 3.4
8 🇺🇬 Kabale 103.17 3.1
9 🇳🇵 Kathmandu 102.68 35.7
10 🇸🇱 Kenema 100.05 2.4
11 🇵🇰 Multan 99.96 9.8
12 🇺🇬 Kampala 98.79 68.2
13 🇲🇸 Salem 98.57 1.2
14 🇵🇰 Mansehra 93.53 2.1
15 🇮🇳 Gaya 91.63 3.0
16 🇸🇱 Bo 90.46 2.6
17 🇸🇱 Makeni 88.17 1.2
18 🇲🇬 Antananarivo 85.38 2.7
19 🇷🇼 Kigali 83.35 2.5
20 🇳🇬 Lagos 81.32 35.1

Figures

Share of each country's footage that has been analysed with YOLO (countries with less than 10 hours of footage are grey). Share of each country's footage that has been analysed with YOLO (countries with less than 10 hours of footage are grey).

Pedestrians per minute of footage per country (unique tracked persons; countries with less than 10 analysed hours are grey). Pedestrians per minute of footage per country (unique tracked persons; countries with less than 10 analysed hours are grey).

Pedestrians per minute of footage per European country (countries with at least 10 analysed hours; Russia and Türkiye whole). Pedestrians per minute of footage per European country (countries with at least 10 analysed hours; Russia and Türkiye whole).

Pedestrians per minute of footage per country, with a 95% bootstrap interval over its localities (countries with at least 10 analysed hours in at least 3 localities). Pedestrians per minute of footage per country, with a 95% bootstrap interval over its localities (countries with at least 10 analysed hours in at least 3 localities).

How much footage a stable estimate of a locality needs: the width of its 95% bootstrap interval of pedestrians per minute over its segments (as a share of the rate) against its analysed hours (localities with at least 5 segments; segments of one drive are alike, so the true intervals are somewhat wider). How much footage a stable estimate of a locality needs: the width of its 95% bootstrap interval of pedestrians per minute over its segments (as a share of the rate) against its analysed hours (localities with at least 5 segments; segments of one drive are alike, so the true intervals are somewhat wider).

Pedestrians against cars per minute per locality (at least an analysed hour), split at the medians into walkable, busy, car-dominated and quiet streets. Pedestrians against cars per minute per locality (at least an analysed hour), split at the medians into walkable, busy, car-dominated and quiet streets.

Pedestrians per minute by population of the locality, per continent, with a 95% bootstrap interval over localities (groups with at least 3 localities and an analysed hour). Pedestrians per minute by population of the locality, per continent, with a 95% bootstrap interval over localities (groups with at least 3 localities and an analysed hour).

Road-user mix of the 30 localities with the most analysed footage, each as 100 squares (ordered by the share of pedestrians). Road-user mix of the 30 localities with the most analysed footage, each as 100 squares (ordered by the share of pedestrians).

Detected road users per minute of footage, per class, in the 40 countries with the most analysed footage (log colour scale). Detected road users per minute of footage, per class, in the 40 countries with the most analysed footage (log colour scale).

Pedestrians per minute of footage per locality, by continent. Pedestrians per minute of footage per locality, by continent.

Distribution of pedestrians per minute over segments of at least a minute (log scale). Distribution of pedestrians per minute over segments of at least a minute (log scale).

Mix of detected road users per continent. Mix of detected road users per continent.

Mix of detected road users in the 30 countries with the most analysed footage. Mix of detected road users in the 30 countries with the most analysed footage.

Share of two-wheelers (motorcycles and bicycles) among the detected vehicles per country (countries with less than 10 analysed hours are grey). Share of two-wheelers (motorcycles and bicycles) among the detected vehicles per country (countries with less than 10 analysed hours are grey).

Detected road users per minute by day and by night, per class and continent (log scale). Detected road users per minute by day and by night, per class and continent (log scale).

Pedestrians per minute of footage by day and by night per country (countries with at least an hour of each). Pedestrians per minute of footage by day and by night per country (countries with at least an hour of each).

Pedestrians per minute by the type of vehicle the footage is filmed from: the viewpoint changes what the detector sees. Pedestrians per minute by the type of vehicle the footage is filmed from: the viewpoint changes what the detector sees.

Detected road users per minute by year of upload (years with at least 10 analysed hours): newer cameras and higher resolutions can change what the detector sees. Detected road users per minute by year of upload (years with at least 10 analysed hours): newer cameras and higher resolutions can change what the detector sees.

Pedestrians per minute of footage per country (at least 10 analysed hours) against country indicators: population, road deaths, Gini index, median age and literacy (from the mapping), GDP per person, urban population, density and jobs in agriculture (World Bank), pedestrians among road deaths, registered vehicles, physical inactivity and obesity (WHO), mean temperature and rainfall (ERA5, World Bank climate portal) and the footage-weighted TomTom traffic index. Dashed lines: medians of equal-sized groups of countries along each indicator. Pedestrians per minute of footage per country (at least 10 analysed hours) against country indicators: population, road deaths, Gini index, median age and literacy (from the mapping), GDP per person, urban population, density and jobs in agriculture (World Bank), pedestrians among road deaths, registered vehicles, physical inactivity and obesity (WHO), mean temperature and rainfall (ERA5, World Bank climate portal) and the footage-weighted TomTom traffic index. Dashed lines: medians of equal-sized groups of countries along each indicator.

Pedestrians per minute of footage against GDP per person (countries with at least 10 analysed hours; circle size: population), coloured by whether a country has more than 1.5 times, about, or less than two-thirds of the pedestrians its wealth predicts. Pedestrians per minute of footage against GDP per person (countries with at least 10 analysed hours; circle size: population), coloured by whether a country has more than 1.5 times, about, or less than two-thirds of the pedestrians its wealth predicts.

Motorcycles as a share of detected vehicles against GDP per person, coloured by whether a country has more than twice, about, or less than half the share its wealth predicts. Motorcycles as a share of detected vehicles against GDP per person, coloured by whether a country has more than twice, about, or less than half the share its wealth predicts.

Bicycles per minute against GDP per person: cycling cultures stand out above the line. Bicycles per minute against GDP per person: cycling cultures stand out above the line.

Cars per minute against GDP per person: motorisation on the street, relative to wealth. Cars per minute against GDP per person: motorisation on the street, relative to wealth.

Road traffic deaths per 100,000 people against pedestrians per minute: countries with more or fewer deaths than their number of pedestrians on the street predicts. Road traffic deaths per 100,000 people against pedestrians per minute: countries with more or fewer deaths than their number of pedestrians on the street predicts.

Pedestrian road deaths per 100,000 people (road deaths times the WHO's pedestrian share of them, 2016) against pedestrians per minute: where walking is more or less deadly than the number of pedestrians on the street predicts (not countries where most road deaths are of an unknown road user, e.g. the Philippines). Pedestrian road deaths per 100,000 people (road deaths times the WHO's pedestrian share of them, 2016) against pedestrians per minute: where walking is more or less deadly than the number of pedestrians on the street predicts (not countries where most road deaths are of an unknown road user, e.g. the Philippines).

Pedestrians per minute per US county (counties with at least an hour of analysed footage). Pedestrians per minute per US county (counties with at least an hour of analysed footage).

Pedestrians per minute per European region (NUTS 2, and first-level regions of European Russia, Ukraine, Belarus and Bosnia and Herzegovina; regions with at least an hour of analysed footage). Pedestrians per minute per European region (NUTS 2, and first-level regions of European Russia, Ukraine, Belarus and Bosnia and Herzegovina; regions with at least an hour of analysed footage).

Bicycles per minute per European region: cycling regions stand out. Bicycles per minute per European region: cycling regions stand out.

Pedestrians per minute in Europe, smoothed over about 50 km; grey where there is less than an analysed hour within 100 km. Pedestrians per minute in Europe, smoothed over about 50 km; grey where there is less than an analysed hour within 100 km.

Walkable street minutes in Europe: the share of analysed minutes with at least 2 pedestrians and at most 10 cars per minute, smoothed over about 50 km. Walkable street minutes in Europe: the share of analysed minutes with at least 2 pedestrians and at most 10 cars per minute, smoothed over about 50 km.

Walkable street minutes per European country: the share of analysed minutes with at least 2 pedestrians and at most 10 cars per minute (countries with at least 10 analysed hours; Russia and Türkiye whole; the colours end at the 95th percentile, higher shares get the darkest). Walkable street minutes per European country: the share of analysed minutes with at least 2 pedestrians and at most 10 cars per minute (countries with at least 10 analysed hours; Russia and Türkiye whole; the colours end at the 95th percentile, higher shares get the darkest).

Motorcycles as a share of detected vehicles in Europe, smoothed over about 50 km. Motorcycles as a share of detected vehicles in Europe, smoothed over about 50 km.

Bicycles per minute in Europe, smoothed over about 50 km. Bicycles per minute in Europe, smoothed over about 50 km.

Pedestrians per minute per locality against its population (localities with at least an hour of analysed footage): busy and quiet streets for a city's size. Pedestrians per minute per locality against its population (localities with at least an hour of analysed footage): busy and quiet streets for a city's size.

Pedestrians per minute of footage per locality against its population. Pedestrians per minute of footage per locality against its population.

Adding videos to dataset

To add videos to the mapping file by hand, run python add_video.py. It opens a web form (a Flask app on a local port) for one video at a time. Fill in the locality, the state (optional, recommended for the USA 🇺🇸 and Canada 🇨🇦), the country (mandatory, chosen from a list) and the YouTube link, and click Fetch data. While you type the locality, the form suggests localities that are already in the mapping file.

Form with new video Adding a video to Delft, Netherlands 🇳🇱 (with no state), before fetching its data. While the locality is typed, the form suggests the matching locality already in the mapping file.

Fetch data checks whether the locality is already in the mapping file and looks up the rest. For the video: its upload date and channel from YouTube. For a new locality: its coordinates, population and gross metropolitan product (GDP), the country's population, road deaths, continent, literacy rate, average height, median age and Gini index, and the traffic index (see The secret file for the services used). The video plays next to the form, with the current second of the player, the last second of the video and a map of the locality.

Form with new locality The same video after fetching its data, from before Delft was in the mapping file: with no entry for Delft yet, the form adds it as a new locality. Its coordinates are shown on the map under the video; dragging the marker adjusts them.

Form with existing locality Kyiv, Ukraine 💙💛 is in the mapping file (with 569 videos), so the form adds the video to it. This video is in the mapping file already: the form shows its existing segments in red (here from second 1 to 1408) next to the player, so a new segment is added after them or the existing ones can be checked.

For each segment (part of a video), add the Time of day (day or night), the Vehicle the footage is filmed from, the Start time (seconds) and the End time (seconds) (larger than the start), and click Submit. A video can have several segments, each starting at or after the end of the previous one; the values of the video (upload date, channel) and of the locality are kept, so for each further segment only its start, end, time of day and vehicle need to be filled in. All values can be corrected in the form before submitting, and by hand in the mapping file later.

Shortcuts and click events

The form accepts the following shortcuts (when the cursor is not in a text field; they also work with non-Latin keyboard layouts):

  1. A: the current second of the video into "Start time (seconds)".
  2. S: the current second of the video into "End time (seconds)".
  3. D: the whole video: "Start time (seconds)" 0 and "End time (seconds)" the last second of the video. Clicking on "Last second" under the video does the same (and copies it).
  4. Q: "Day" for "Time of day".
  5. W: "Night" for "Time of day".

Proposing segments from YouTube channels

Instead of finding segments by hand in add_video.py, whole YouTube channels can be processed automatically: propose_segments.py downloads each video of a channel at low resolution, proposes segments, localities, time of day and vehicle type, and a curator reviews the proposals on a web page and applies the approved ones to the mapping file. Nothing is written to the mapping before a curator applies it.

1. Channels to process. run_channels.py takes channels from a Google Sheet (the sheet URL is set in run_channels.py): column A is the channel URL, column B its status and column C its country. It works from the bottom of the sheet up, through channels with an empty status, and proposes segments for each in chunks of videos (--chunk, default 15), each chunk in a new process, so changes to the code apply from the next chunk:

python run_channels.py

It runs until stopped (--max-minutes N stops after N minutes) and continues where it stopped when restarted. It cannot write to the sheet: it logs lines starting with SHEET: (set row N to Processing, Processed or Rejected) for the curator to copy into the sheet. Without a country in column C, it uses the channel's country on YouTube. A single channel can also be processed directly:

python propose_segments.py --channel https://www.youtube.com/@CHANNEL --country "Netherlands" --limit 20

The country must be written as in the add_video.py form. --single-city treats all of a channel's videos as one city (no drives from A to B), and --no-download proposes whole videos from YouTube metadata only. Downloading needs yt-dlp, ffmpeg and node; when YouTube asks to sign in, put a cookies.txt exported from your browser in the root of the project. The youtube_api_key in the secret file is needed to list channels (see The secret file).

2. What is proposed automatically. Videos are left out from their metadata when they are shorter than 5 minutes, live, portrait, or walking tours, time-lapses, compilations, crash videos, highway drives or road trips. For the others, a 160x90 copy is analysed at 2 frames per second:

  • segments: stationary stretches at the start and end are trimmed and stops longer than 3 minutes are cut out; hard cuts (edits), blank frames and title cards end a segment; footage with the camera facing the driver, not facing forward or shaking, and rural or highway stretches (from YOLO detections) are left out; segments shorter than 30 seconds are dropped. Whole videos are left out for picture-in-picture or skipped footage, and a channel where ten videos in a row have skips is rejected;
  • time of day: night when the sky or the street is dark for at least a minute, with a hint at dusk;
  • vehicle: the most common vehicle type of the channel's videos already in the mapping (a car, with a note, for a new channel);
  • locality: from the title, then the description, then the chapters (a video with chapters for several places is split), and otherwise a named place looked up on OpenStreetMap; drives "from A to B" are split into the towns along the route; a town within 30 km of a city with over a million people counts as that city unless it has 250,000 people itself;
  • re-uploads of a video already in the mapping are recognised and left out.

The proposals of a channel are kept in _output/proposals/<channel>/plan.json, with frames and signals of each video. Videos left out are listed on the review page with the reason:

Videos left out of the proposals Videos of the same channel as the Kyiv example of add_video.py, left out automatically: a video under 5 minutes, a walk, and a drive that skips footage (an edit cut).

3. Reviewing. Run python review_hub.py and open http://127.0.0.1:8770: it lists the channels with videos to review, and clicking one opens its review page (also available directly with python propose_segments.py --review _output/proposals/<channel>/plan.json).

Batches to review The review hub: channels with videos still to decide. For each video, the page shows the player, the title and description, a contact sheet of frames, a route map, and the proposed segments with the reasons for each cut. Per segment, the curator can change the start and end, switch day and night, approve, reject, split it at a time, move it to another locality, or add a new segment; per video, change the vehicle, locality, state and country (with a map for a new locality), approve the rest of the video or reject it. Shortcuts: A sets the start and S the end of a segment to the current time of the player, D takes the whole video, Q and W set day and night, and F puts the current time in the split box.

Review page The proposal for the Kyiv video used in the add_video.py example above: one segment from 0:01 to 23:30 in Kyiv, Ukraine (the locality guessed from the title, the vehicle from the channel's other videos in the mapping), with a contact sheet of frames and the video's description; it matches the segment added by hand (seconds 1 to 1408).

4. Applying. Apply adds the approved segments to the mapping file through the same code as the add_video.py form: the video, its segments, time of day, vehicle type, upload date and channel, and for a new locality a new row with its coordinates, population and other values. Applied segments are marked in plan.json and cannot be changed on the page any more. Overlapping segments are refused, and writes to the mapping file are locked, so several review pages and a running channel batch can be used at once. Do not stop a review page while it is applying.

5. Merging towns into cities. python review_merges.py serves a page at http://127.0.0.1:8772 with towns of under 250,000 people within 30 km of a city of over a million in the same state, side by side on maps: Y merges a town into the city, N keeps it separate. python review_merges.py --apply merges the accepted towns: their videos move to the city and their name is added to the city's other names.

Weekly update of video metadata

mapping_metadata.csv holds the YouTube metadata of every video in the mapping file (title, upload date, channel, views, description, chapters), and crowd_index.jsonl is the same dataset as JSON Lines, one object per segment, built from mapping.csv and mapping_metadata.csv without the free-text fields (titles, descriptions, chapters). Both are refreshed every Monday at 02:00 (Amsterdam time) by release/weekly_metadata.sh, run by cron on a Mac mini at TU/e in a fresh shallow clone made for each run and removed after it:

  1. it resets the clone to the latest main on GitHub;
  2. python -m release.update_info fetches the metadata of videos added since the last run and retries the videos with missing values (offline videos in the mapping keep being retried). Each video is written to the file as soon as it is fetched (a new video is appended as a row, so an interrupted run keeps what it has; a failed retry leaves its row as it was); rows of videos no longer in the mapping are dropped;
  3. python -m release.make_crowd_jsonl rebuilds crowd_index.jsonl;
  4. python -m release.split_large_files split splits a file over 99 MB into NAME_part1.EXT, NAME_part2.EXT, ... (each under 99 MB; CSV parts repeat the header), as GitHub refuses files over 100 MB;
  5. the two files (or their parts) are committed as "Weekly update of video metadata" and pushed. A file over 99 MB is never pushed: the job stops instead. When someone pushed in the meantime, the commit is replayed on top of theirs.

When the files are split, the whole file is not in the repository. release/update_info.py, release/make_crowd_jsonl.py and release/validation_release.py rebuild it from its parts when needed, or run python -m release.split_large_files join mapping_metadata.csv crowd_index.jsonl. The log of the job is in ~/Library/Logs/crowd-metadata.log on the mini. To run it elsewhere, clone the repository with push access and add 0 2 * * 1 /path/to/clone/release/weekly_metadata.sh >> /path/to/crowd-metadata.log 2>&1 to crontab -e (set PY to the Python of the environment if it is not ~/micromamba/envs/crowd/bin/python).

Who added the videos

Videos are added by several people, each in their own copy of the mapping file: mapping.csv is Pavlo's, mapping-olena.csv Olena's, mapping-shadab.csv and mapping-epfl.csv Shadab's and, in general, mapping-NAME.csv NAME's. Videos added to mapping.csv in commits from a contributor's own account (currently Shadab's and Faye's) are credited to that contributor. Each video is credited to the file it first appeared in. The credits are kept in analysis_data/video_contributors.csv: one row per video with the contributor, the time of the commit that added it (UTC) and the mapping file it first appeared in. It was built from the git history with python -m utils.analytics.contributors, and analysis.py (also in the GitHub Action) adds new videos from the commits of the last 60 days, so a video Olena added to mapping-olena.csv before it was reviewed into mapping.csv is hers; videos in no commit yet get the time of the last commit to their mapping file. It is the only record of who added what once the history of the mapping files is gone, so keep it when rewriting the repository's history. A video that appeared in mapping.csv and another file at the same time is credited to mapping.csv, as the other files are refreshed with copies of it. The table counts the videos in the dataset now.

# Contributor Videos Footage (h) Localities Countries First added Last added
1 Pavlo 76,872 33,602.8 8,066 237 2025-01-19 2026-11-28
2 Olena 4,946 1,784.1 963 93 2025-05-03 2026-11-26
3 Shadab 2,818 1,445.6 500 96 2023-12-17 2026-07-22
4 Margarida 54 24.9 34 4 2025-05-02 2025-06-05
5 Aloysia 38 18.0 17 2 2025-04-29 2025-07-08
6 Faye 42 14.8 29 11 2026-06-30 2026-07-12

Footage in the dataset over time by who added it Footage in the dataset over time, by who added it (cumulative hours of the videos in the dataset now, by the date they were added).

Contact

If you have any questions or suggestions, feel free to reach out to Md Shadab Alam (md_shadab_alam@outlook.com) or Pavlo Bazilinskyy (p.bazilinskyy@tue.nl).

Licence

Code: MIT License
CROWD dataset: Creative Commons Attribution 4.0 International (CC BY 4.0)

The dataset licence covers CROWD generated structured data, annotations, and derived computer vision outputs. It does not cover the underlying YouTube videos or other third party content.

CROWD does not redistribute the original YouTube videos, extracted frames, or images. Source videos remain subject to the rights of their respective owners and YouTube's Terms of Service.

About

This repository contains code that extracts YouTube videos based on a mapping.csv file and performs object detection using YOLOv11. The primary objective of this work is to evaluate pedestrian behaviour in a cross-country or cross-cultural context using freely available YouTube videos.

Topics

Resources

Security policy

Stars

14 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages