public HaarCascade ( int baseWidth, int baseHeight, |
||
baseWidth | int | Base feature width. |
baseHeight | int | Base feature height. |
stages | 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);
}
HaarCascade::HaarCascade ( int baseWidth, int baseHeight ) : System |