diff scripts/compute-clearmot.py @ 595:17b02c8054d0

added tests and corrected one bug
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Sun, 07 Dec 2014 22:59:47 -0500
parents 9e39cd95e017
children 3058e00887bc
line wrap: on
line diff
--- a/scripts/compute-clearmot.py	Sun Dec 07 01:32:36 2014 -0500
+++ b/scripts/compute-clearmot.py	Sun Dec 07 22:59:47 2014 -0500
@@ -30,7 +30,7 @@
 for a in annotations:
     a.computeCentroidTrajectory(homography)
 
-motp, mota, mt, mme, fpt, gt = moving.computeClearMOT(objects, annotations, args.matchingDistance, args.firstInstant, args.lastInstant)
+motp, mota, mt, mme, fpt, gt = moving.computeClearMOT(annotations, objects, args.matchingDistance, args.firstInstant, args.lastInstant)
 
 print 'MOTP: {}'.format(motp)
 print 'MOTA: {}'.format(mota)