OpenCV 3.0.0

org.opencv.objdetect
Class CascadeClassifier

java.lang.Object
  extended by org.opencv.objdetect.CascadeClassifier

public class CascadeClassifier
extends java.lang.Object


Constructor Summary
CascadeClassifier()
           
CascadeClassifier(java.lang.String filename)
           
 
Method Summary
static boolean convert(java.lang.String oldcascade, java.lang.String newcascade)
           
 void detectMultiScale(Mat image, MatOfRect objects)
           
 void detectMultiScale(Mat image, MatOfRect objects, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize)
           
 void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections)
           
 void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize)
           
 void detectMultiScale3(Mat image, MatOfRect objects, MatOfInt rejectLevels, MatOfDouble levelWeights)
           
 void detectMultiScale3(Mat image, MatOfRect objects, MatOfInt rejectLevels, MatOfDouble levelWeights, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize, boolean outputRejectLevels)
           
 boolean empty()
           
 int getFeatureType()
           
 Size getOriginalWindowSize()
           
 boolean isOldFormatCascade()
           
 boolean load(java.lang.String filename)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CascadeClassifier

public CascadeClassifier()

CascadeClassifier

public CascadeClassifier(java.lang.String filename)
Method Detail

convert

public static boolean convert(java.lang.String oldcascade,
                              java.lang.String newcascade)

detectMultiScale

public void detectMultiScale(Mat image,
                             MatOfRect objects)

detectMultiScale

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

detectMultiScale2

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

detectMultiScale2

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

detectMultiScale3

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

detectMultiScale3

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

empty

public boolean empty()

getFeatureType

public int getFeatureType()

getOriginalWindowSize

public Size getOriginalWindowSize()

isOldFormatCascade

public boolean isOldFormatCascade()

load

public boolean load(java.lang.String filename)

OpenCV 3.0.0 Documentation