Mercurial Hosting > traffic-intelligence
diff scripts/learn-motion-patterns.py @ 922:acb5379c5fd7
corrected
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 05 Jul 2017 18:07:53 -0400 |
parents | 630934595871 |
children | c030f735c594 |
line wrap: on
line diff
--- a/scripts/learn-motion-patterns.py Wed Jul 05 18:01:43 2017 -0400 +++ b/scripts/learn-motion-patterns.py Wed Jul 05 18:07:53 2017 -0400 @@ -71,7 +71,7 @@ print(clusterSizes) -prototypes = [moving.Prototype(objects[i].getNum(), args.databaseFilename, prototypeType, clusterSizes[i]) for i in prototypeIndices] +prototypes = [moving.Prototype(args.databaseFilename, objects[i].getNum(), prototypeType, clusterSizes[i]) for i in prototypeIndices] if args.outputPrototypeDatabaseFilename is None: outputPrototypeDatabaseFilename = args.databaseFilename else: