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; }
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; }