Accord.Vision.Detection.HaarCascade.HaarCascade C# (CSharp) Method

HaarCascade() public method

Constructs a new Haar Cascade.
public HaarCascade ( int baseWidth, int baseHeight, HaarCascadeStage stages ) : System
baseWidth int Base feature width.
baseHeight int Base feature height.
stages HaarCascadeStage Haar-like features classification stages.
return System
        public HaarCascade(int baseWidth, int baseHeight, HaarCascadeStage[] stages)
        {
            Width = baseWidth;
            Height = baseHeight;
            Stages = stages;

            // check if the classifier has tilted features
            HasTiltedFeatures = checkTiltedFeatures(stages);
        }

Same methods

HaarCascade::HaarCascade ( int baseWidth, int baseHeight ) : System