Example #1
0
 public HogFeatureProcessor(float sampleRate = 1)
 {
     featureProcessor = new MFeatureProcessor(HandInputParams.FeatureImageWidth,
       HandInputParams.FeatureImageWidth,
       (int) Math.Round(HandInputParams.SmoothWSize / sampleRate));
       DescriptorLength = featureProcessor.HOGLength();
       FeatureLength = MotionFeatureLength + DescriptorLength;
       Visualize = false;
 }
Example #2
0
 public HogFeatureProcessor(float sampleRate = 1)
 {
     featureProcessor = new MFeatureProcessor(HandInputParams.FeatureImageWidth,
                                              HandInputParams.FeatureImageWidth,
                                              (int)Math.Round(HandInputParams.SmoothWSize / sampleRate));
     DescriptorLength = featureProcessor.HOGLength();
     FeatureLength    = MotionFeatureLength + DescriptorLength;
     Visualize        = false;
 }