Mercurial > hg > nsaunier > traffic-intelligence
comparison python/moving.py @ 624:bac66bd536c5
added slight documentation of CLEAR MOT output
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Fri, 09 Jan 2015 00:14:13 -0500 |
| parents | ce7133cbcdf3 |
| children | 35155ac2a294 |
comparison
equal
deleted
inserted
replaced
| 623:ce7133cbcdf3 | 624:bac66bd536c5 |
|---|---|
| 1382 mathingDistance is threshold on matching between annotation and object | 1382 mathingDistance is threshold on matching between annotation and object |
| 1383 | 1383 |
| 1384 TO: tracker output (objects) | 1384 TO: tracker output (objects) |
| 1385 GT: ground truth (annotations) | 1385 GT: ground truth (annotations) |
| 1386 | 1386 |
| 1387 Should we use the distance as weights or just 1/0 if distance below matchingDistance? | 1387 Output: returns motp, mota, mt, mme, fpt, gt |
| 1388 mt number of missed GT.frames (sum of the number of GT not detected in each frame) | |
| 1389 mme number of mismatches | |
| 1390 fpt number of false alarm.frames (tracker objects without match in each frame) | |
| 1391 gt number of GT.frames | |
| 1392 | |
| 1393 TODO: Should we use the distance as weights or just 1/0 if distance below matchingDistance? | |
| 1388 (add argument useDistanceForWeights = False)''' | 1394 (add argument useDistanceForWeights = False)''' |
| 1389 from munkres import Munkres | 1395 from munkres import Munkres |
| 1390 | 1396 |
| 1391 munk = Munkres() | 1397 munk = Munkres() |
| 1392 dist = 0. # total distance between GT and TO | 1398 dist = 0. # total distance between GT and TO |
