public class CascadeClassifier
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected long |
nativeObj |
Modifier | Constructor and Description |
---|---|
|
CascadeClassifier() |
protected |
CascadeClassifier(long addr) |
|
CascadeClassifier(java.lang.String filename) |
Modifier and Type | Method and Description |
---|---|
static CascadeClassifier |
__fromPtr__(long addr) |
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() |
protected void |
finalize() |
int |
getFeatureType() |
long |
getNativeObjAddr() |
Size |
getOriginalWindowSize() |
boolean |
isOldFormatCascade() |
boolean |
load(java.lang.String filename) |
protected CascadeClassifier(long addr)
public CascadeClassifier(java.lang.String filename)
public CascadeClassifier()
public long getNativeObjAddr()
public static CascadeClassifier __fromPtr__(long addr)
public Size getOriginalWindowSize()
public static boolean convert(java.lang.String oldcascade, java.lang.String newcascade)
public boolean empty()
public boolean isOldFormatCascade()
public boolean load(java.lang.String filename)
public int getFeatureType()
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, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize)
public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections)
public void detectMultiScale3(Mat image, MatOfRect objects, MatOfInt rejectLevels, MatOfDouble levelWeights, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize, boolean outputRejectLevels)
public void detectMultiScale3(Mat image, MatOfRect objects, MatOfInt rejectLevels, MatOfDouble levelWeights)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
Generated on Wed Jul 4 2018 14:01:58 UTC / OpenCV 3.4.2