Class CascadeClassifier


  • public class CascadeClassifier
    extends Object
    • Field Detail

      • nativeObj

        protected final long nativeObj
    • Constructor Detail

      • CascadeClassifier

        protected CascadeClassifier​(long addr)
      • CascadeClassifier

        public CascadeClassifier​(String filename)
      • CascadeClassifier

        public CascadeClassifier()
    • Method Detail

      • getNativeObjAddr

        public long getNativeObjAddr()
      • getOriginalWindowSize

        public Size getOriginalWindowSize()
      • convert

        public static boolean convert​(String oldcascade,
                                      String newcascade)
      • empty

        public boolean empty()
      • isOldFormatCascade

        public boolean isOldFormatCascade()
      • load

        public boolean load​(String filename)
      • getFeatureType

        public int getFeatureType()
      • detectMultiScale

        public void detectMultiScale​(Mat image,
                                     MatOfRect objects,
                                     double scaleFactor,
                                     int minNeighbors,
                                     int flags,
                                     Size minSize,
                                     Size maxSize)
      • detectMultiScale

        public void detectMultiScale​(Mat image,
                                     MatOfRect objects,
                                     double scaleFactor,
                                     int minNeighbors,
                                     int flags,
                                     Size minSize)
      • detectMultiScale

        public void detectMultiScale​(Mat image,
                                     MatOfRect objects,
                                     double scaleFactor,
                                     int minNeighbors,
                                     int flags)
      • detectMultiScale

        public void detectMultiScale​(Mat image,
                                     MatOfRect objects,
                                     double scaleFactor,
                                     int minNeighbors)
      • detectMultiScale

        public void detectMultiScale​(Mat image,
                                     MatOfRect objects,
                                     double scaleFactor)
      • detectMultiScale

        public void detectMultiScale​(Mat image,
                                     MatOfRect objects)
      • detectMultiScale2

        public void detectMultiScale2​(Mat image,
                                      MatOfRect objects,
                                      MatOfInt numDetections,
                                      double scaleFactor,
                                      int minNeighbors,
                                      int flags,
                                      Size minSize,
                                      Size maxSize)
      • detectMultiScale2

        public void detectMultiScale2​(Mat image,
                                      MatOfRect objects,
                                      MatOfInt numDetections,
                                      double scaleFactor,
                                      int minNeighbors,
                                      int flags,
                                      Size minSize)
      • detectMultiScale2

        public void detectMultiScale2​(Mat image,
                                      MatOfRect objects,
                                      MatOfInt numDetections,
                                      double scaleFactor,
                                      int minNeighbors,
                                      int flags)
      • detectMultiScale2

        public void detectMultiScale2​(Mat image,
                                      MatOfRect objects,
                                      MatOfInt numDetections,
                                      double scaleFactor,
                                      int minNeighbors)
      • detectMultiScale2

        public void detectMultiScale2​(Mat image,
                                      MatOfRect objects,
                                      MatOfInt numDetections,
                                      double scaleFactor)
      • detectMultiScale2

        public void detectMultiScale2​(Mat image,
                                      MatOfRect objects,
                                      MatOfInt numDetections)
      • detectMultiScale3

        public void detectMultiScale3​(Mat image,
                                      MatOfRect objects,
                                      MatOfInt rejectLevels,
                                      MatOfDouble levelWeights,
                                      double scaleFactor,
                                      int minNeighbors,
                                      int flags,
                                      Size minSize,
                                      Size maxSize,
                                      boolean outputRejectLevels)
      • detectMultiScale3

        public void detectMultiScale3​(Mat image,
                                      MatOfRect objects,
                                      MatOfInt rejectLevels,
                                      MatOfDouble levelWeights,
                                      double scaleFactor,
                                      int minNeighbors,
                                      int flags,
                                      Size minSize,
                                      Size maxSize)
      • detectMultiScale3

        public void detectMultiScale3​(Mat image,
                                      MatOfRect objects,
                                      MatOfInt rejectLevels,
                                      MatOfDouble levelWeights,
                                      double scaleFactor,
                                      int minNeighbors,
                                      int flags,
                                      Size minSize)
      • detectMultiScale3

        public void detectMultiScale3​(Mat image,
                                      MatOfRect objects,
                                      MatOfInt rejectLevels,
                                      MatOfDouble levelWeights,
                                      double scaleFactor,
                                      int minNeighbors,
                                      int flags)
      • detectMultiScale3

        public void detectMultiScale3​(Mat image,
                                      MatOfRect objects,
                                      MatOfInt rejectLevels,
                                      MatOfDouble levelWeights,
                                      double scaleFactor,
                                      int minNeighbors)
      • detectMultiScale3

        public void detectMultiScale3​(Mat image,
                                      MatOfRect objects,
                                      MatOfInt rejectLevels,
                                      MatOfDouble levelWeights,
                                      double scaleFactor)