Accord.Vision.Detection.HaarCascade.checkTiltedFeatures C# (CSharp) 메소드

checkTiltedFeatures() 개인적인 정적인 메소드

Checks if the classifier contains tilted (rotated) features
private static checkTiltedFeatures ( HaarCascadeStage stages ) : bool
stages HaarCascadeStage
리턴 bool
        private static bool checkTiltedFeatures(HaarCascadeStage[] stages)
        {
            foreach (var stage in stages)
                foreach (var tree in stage.Trees)
                    foreach (var node in tree)
                        if (node.Feature.Tilted == true)
                            return true;
            return false;
        }