Mercurial > hg > nsaunier > traffic-intelligence
comparison python/moving.py @ 596:04a8304e13f0
removed unnecessary imports
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Sun, 07 Dec 2014 23:01:02 -0500 |
| parents | 17b02c8054d0 |
| children | dc2d0a0d7fe1 |
comparison
equal
deleted
inserted
replaced
| 595:17b02c8054d0 | 596:04a8304e13f0 |
|---|---|
| 1329 GT: ground truth (annotations) | 1329 GT: ground truth (annotations) |
| 1330 | 1330 |
| 1331 Should we use the distance as weights or just 1/0 if distance below matchingDistance? | 1331 Should we use the distance as weights or just 1/0 if distance below matchingDistance? |
| 1332 (add argument useDistanceForWeights = False)''' | 1332 (add argument useDistanceForWeights = False)''' |
| 1333 from munkres import Munkres | 1333 from munkres import Munkres |
| 1334 from numpy import array | |
| 1335 from sys import maxsize | |
| 1336 | 1334 |
| 1337 munk = Munkres() | 1335 munk = Munkres() |
| 1338 dist = 0. # total distance between GT and TO | 1336 dist = 0. # total distance between GT and TO |
| 1339 ct = 0 # number of associations between GT and tracker output in each frame | 1337 ct = 0 # number of associations between GT and tracker output in each frame |
| 1340 gt = 0 # number of GT.frames | 1338 gt = 0 # number of GT.frames |
