Mercurial Hosting > traffic-intelligence
changeset 529:f527159815ab
work on script
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 25 Jun 2014 17:50:18 -0400 |
parents | 5585ebd8ad61 |
children | d6445cbe7791 |
files | scripts/classify-objects.py |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/classify-objects.py Wed Jun 25 16:52:34 2014 -0400 +++ b/scripts/classify-objects.py Wed Jun 25 17:50:18 2014 -0400 @@ -8,8 +8,11 @@ parser = argparse.ArgumentParser(description='The program processes indicators for all pairs of road users in the scene') parser.add_argument('-d', dest = 'directoryName', help = 'name of the parent directory containing the videos and extracted trajectories to process', required = True) -#parser.add_argument('--kernel', dest = 'kernelType', help = 'kernel type for the support vector machine (SVM)', default = SVM_RBF, type = long) -#parser.add_argument('--svm', dest = 'svmType', help = 'SVM type', default = SVM_C_SVC, type = long) +parser.add_argument('-o', dest = 'homographyFilename', help = 'name of the image to world homography file') +# need a classification config file for speed distribution parameters, svm models, frequency parameters, area parameters etc +#parser.add_argument('--cfg', dest = 'svmType', help = 'SVM type', default = SVM_C_SVC, type = long) + + #parser.add_argument('-s', dest = 'rescaleSize', help = 'rescale size of image samples', default = 64, type = int) #parser.add_argument('-o', dest = 'nOrientations', help = 'number of orientations in HoG', default = 9, type = int) #parser.add_argument('-p', dest = 'nPixelsPerCell', help = 'number of pixels per cell', default = 8, type = int)