Mercurial Hosting > traffic-intelligence
diff scripts/train-object-classification.py @ 522:ce40a89bd6ae
added functions for classification refactored from Sohail s work for TRB/TRC (to be tested)
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 18 Jun 2014 23:36:56 -0400 |
parents | 4ad5123d969e |
children | da1352b89d02 |
line wrap: on
line diff
--- a/scripts/train-object-classification.py Wed Jun 18 17:37:28 2014 -0400 +++ b/scripts/train-object-classification.py Wed Jun 18 23:36:56 2014 -0400 @@ -6,8 +6,6 @@ import cvutils, moving, ml - -# todo update with argparse parser = argparse.ArgumentParser(description='The program processes indicators for all pairs of road users in the scene') parser.add_argument('-d', dest = 'directoryName', help = 'parent directory name for the directories containing the samples for the different road users', required = True) parser.add_argument('--kernel', dest = 'kernelType', help = 'kernel type for the support vector machine (SVM)', default = SVM_RBF, type = long)