Mercurial Hosting > traffic-intelligence
comparison trafficintelligence/storage.py @ 1278:8e61ff3cd503
correct bug to take into account first frame num in config, and other related bugs in dltrack.py
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Thu, 27 Jun 2024 15:31:36 -0400 |
parents | 785c86013d2c |
children | 9562f5e8edf8 |
comparison
equal
deleted
inserted
replaced
1277:7493751bfe19 | 1278:8e61ff3cd503 |
---|---|
1771 def processVideoArguments(args): | 1771 def processVideoArguments(args): |
1772 '''Loads information from configuration file | 1772 '''Loads information from configuration file |
1773 then checks what was passed on the command line | 1773 then checks what was passed on the command line |
1774 for override (eg video filename and database filename''' | 1774 for override (eg video filename and database filename''' |
1775 if args.configFilename is not None: # consider there is a configuration file | 1775 if args.configFilename is not None: # consider there is a configuration file |
1776 parentPath = Path(args.configFilename).parent | 1776 #parentPath = Path(args.configFilename).parent |
1777 params = ProcessParameters(args.configFilename) | 1777 params = ProcessParameters(args.configFilename) |
1778 videoFilename = params.videoFilename | 1778 videoFilename = params.videoFilename |
1779 databaseFilename = params.databaseFilename | 1779 databaseFilename = params.databaseFilename |
1780 if params.homography is not None: | 1780 if params.homography is not None: |
1781 homography = params.homography | 1781 homography = params.homography |