Mercurial Hosting > traffic-intelligence
diff scripts/create-bounding-boxes.py @ 636:3058e00887bc
removed all issues because of tests with None, using is instead of == or !=
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Tue, 24 Mar 2015 18:11:28 +0100 |
parents | 6551a3cf1750 |
children | 933670761a57 |
line wrap: on
line diff
--- a/scripts/create-bounding-boxes.py Tue Mar 24 14:17:12 2015 +0100 +++ b/scripts/create-bounding-boxes.py Tue Mar 24 18:11:28 2015 +0100 @@ -14,7 +14,7 @@ args = parser.parse_args() homography = None -if args.homography != None: +if args.homography is not None: homography = inv(loadtxt(args.homography)) storage.createBoundingBoxTable(args.databaseFilename, homography)