Mercurial > hg > nsaunier > traffic-intelligence
diff trafficintelligence/moving.py @ 1228:5654c9173548
merged (bicycle)
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Wed, 12 Jul 2023 13:21:08 -0400 |
| parents | eb3936809ea5 d478d3122804 |
| children | d5695e0b59d9 |
line wrap: on
line diff
--- a/trafficintelligence/moving.py Wed Jul 12 13:14:09 2023 -0400 +++ b/trafficintelligence/moving.py Wed Jul 12 13:21:08 2023 -0400 @@ -1376,14 +1376,14 @@ 'truck', 'automated'] -coco2UserTypes = {0: 2, 1: 4, 2: 1, 5: 5, 7: 6} -cocoUserTypeNames = {0: 'person', - 1: 'bicycle', - 2: 'car', - 3: 'motorcycle', - 5: 'bus', - 6: 'train', - 7: 'truck'} +coco2Types = {0: 2, 1: 4, 2: 1, 5: 5, 7: 6} +cocoTypeNames = {0: 'person', + 1: 'bicycle', + 2: 'car', + 3: 'motorcycle', + 5: 'bus', + 6: 'train', + 7: 'truck'} userType2Num = utils.inverseEnumeration(userTypeNames)
