Mercurial Hosting > traffic-intelligence
diff scripts/classify-objects.py @ 1240:bb14f919d1cb
cleaned use of centile (np only) and added info in classify-objects
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Mon, 05 Feb 2024 14:14:14 -0500 |
parents | 5654c9173548 |
children | ab4c72b9475c |
line wrap: on
line diff
--- a/scripts/classify-objects.py Fri Oct 06 17:02:32 2023 -0400 +++ b/scripts/classify-objects.py Mon Feb 05 14:14:14 2024 -0500 @@ -10,7 +10,7 @@ # TODO add mode detection live, add choice of kernel and svm type (to be saved in future classifier format) -parser = argparse.ArgumentParser(description='The program processes indicators for all pairs of road users in the scene') +parser = argparse.ArgumentParser(description='The program processes indicators for all pairs of road users in the scene', epilog='The integer ids for the categories are stored in the moving module:\n{}'.format(moving.userType2Num)) parser.add_argument('--cfg', dest = 'configFilename', help = 'name of the configuration file', required = True) parser.add_argument('-d', dest = 'databaseFilename', help = 'name of the Sqlite database file (overrides the configuration file)') parser.add_argument('-i', dest = 'videoFilename', help = 'name of the video file (overrides the configuration file)')