public class CascadeClassifier
extends java.lang.Object
Constructor and Description |
---|
CascadeClassifier() |
CascadeClassifier(java.lang.String filename) |
Modifier and Type | Method and Description |
---|---|
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) |
public CascadeClassifier()
public CascadeClassifier(java.lang.String filename)
public static boolean convert(java.lang.String oldcascade, java.lang.String newcascade)
public void detectMultiScale(Mat image, MatOfRect objects, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize)
public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections)
public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize)
public void detectMultiScale3(Mat image, MatOfRect objects, MatOfInt rejectLevels, MatOfDouble levelWeights)
public void detectMultiScale3(Mat image, MatOfRect objects, MatOfInt rejectLevels, MatOfDouble levelWeights, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize, boolean outputRejectLevels)
public boolean empty()
public int getFeatureType()
public Size getOriginalWindowSize()
public boolean isOldFormatCascade()
public boolean load(java.lang.String filename)