diff scripts/compute-clearmot.py @ 768:f8e0a8ea8402 dev

updated the bounding box code (the name so that it is general for ground truth and UT)
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Thu, 14 Jan 2016 11:44:39 -0500
parents 43ae3a1af290
children 3aa6102ccc12
line wrap: on
line diff
--- a/scripts/compute-clearmot.py	Mon Dec 21 15:16:33 2015 -0500
+++ b/scripts/compute-clearmot.py	Thu Jan 14 11:44:39 2016 -0500
@@ -41,7 +41,7 @@
         maskObjects += obj.getObjectsInMask(mask, inv(homography), 2) # TODO add option to keep object if at least one feature in mask
     objects = maskObjects    
 
-annotations = storage.loadGroundTruthFromSqlite(args.groundTruthDatabaseFilename)
+annotations = storage.loadBBMovingObjectsFromSqlite(args.groundTruthDatabaseFilename)
 for a in annotations:
     a.computeCentroidTrajectory(homography)