public class opencv_objdetect extends opencv_objdetect
Modifier and Type | Field and Description |
---|---|
static int |
CASCADE_DO_CANNY_PRUNING
enum cv::
|
static int |
CASCADE_DO_ROUGH_SEARCH
enum cv::
|
static int |
CASCADE_FIND_BIGGEST_OBJECT
enum cv::
|
static int |
CASCADE_SCALE_IMAGE
enum cv::
|
Constructor and Description |
---|
opencv_objdetect() |
Modifier and Type | Method and Description |
---|---|
static BaseCascadeClassifier.MaskGenerator |
createFaceDetectionMaskGenerator() |
static void |
groupRectangles_meanshift(RectVector rectList,
double[] foundWeights,
double[] foundScales) |
static void |
groupRectangles_meanshift(RectVector rectList,
double[] foundWeights,
double[] foundScales,
double detectThreshold,
Size winDetSize) |
static void |
groupRectangles_meanshift(RectVector rectList,
DoubleBuffer foundWeights,
DoubleBuffer foundScales) |
static void |
groupRectangles_meanshift(RectVector rectList,
DoubleBuffer foundWeights,
DoubleBuffer foundScales,
double detectThreshold,
Size winDetSize) |
static void |
groupRectangles_meanshift(RectVector rectList,
DoublePointer foundWeights,
DoublePointer foundScales) |
static void |
groupRectangles_meanshift(RectVector rectList,
DoublePointer foundWeights,
DoublePointer foundScales,
double detectThreshold,
Size winDetSize)
\overload
|
static void |
groupRectangles(RectVector rectList,
int groupThreshold) |
static void |
groupRectangles(RectVector rectList,
int[] rejectLevels,
double[] levelWeights,
int groupThreshold) |
static void |
groupRectangles(RectVector rectList,
int[] rejectLevels,
double[] levelWeights,
int groupThreshold,
double eps) |
static void |
groupRectangles(RectVector rectList,
int[] weights,
int groupThreshold) |
static void |
groupRectangles(RectVector rectList,
int[] weights,
int groupThreshold,
double eps) |
static void |
groupRectangles(RectVector rectList,
IntBuffer rejectLevels,
DoubleBuffer levelWeights,
int groupThreshold) |
static void |
groupRectangles(RectVector rectList,
IntBuffer rejectLevels,
DoubleBuffer levelWeights,
int groupThreshold,
double eps) |
static void |
groupRectangles(RectVector rectList,
IntBuffer weights,
int groupThreshold) |
static void |
groupRectangles(RectVector rectList,
IntBuffer weights,
int groupThreshold,
double eps) |
static void |
groupRectangles(RectVector rectList,
int groupThreshold,
double eps)
\brief Groups the object candidate rectangles.
|
static void |
groupRectangles(RectVector rectList,
int groupThreshold,
double eps,
int[] weights,
double[] levelWeights) |
static void |
groupRectangles(RectVector rectList,
int groupThreshold,
double eps,
IntBuffer weights,
DoubleBuffer levelWeights) |
static void |
groupRectangles(RectVector rectList,
int groupThreshold,
double eps,
IntPointer weights,
DoublePointer levelWeights)
\overload
|
static void |
groupRectangles(RectVector rectList,
IntPointer rejectLevels,
DoublePointer levelWeights,
int groupThreshold) |
static void |
groupRectangles(RectVector rectList,
IntPointer rejectLevels,
DoublePointer levelWeights,
int groupThreshold,
double eps)
\overload
|
static void |
groupRectangles(RectVector rectList,
IntPointer weights,
int groupThreshold) |
static void |
groupRectangles(RectVector rectList,
IntPointer weights,
int groupThreshold,
double eps)
\overload
|
map
public static final int CASCADE_DO_CANNY_PRUNING
public static final int CASCADE_SCALE_IMAGE
public static final int CASCADE_FIND_BIGGEST_OBJECT
public static final int CASCADE_DO_ROUGH_SEARCH
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, int groupThreshold, double eps)
rectList
- Input/output vector of rectangles. Output vector includes retained and grouped
rectangles. (The Python list is not modified in place.)groupThreshold
- Minimum possible number of rectangles minus 1. The threshold is used in a
group of rectangles to retain it.eps
- Relative difference between sides of the rectangles to merge them into a group.
The function is a wrapper for the generic function partition . It clusters all the input rectangles
using the rectangle equivalence criteria that combines rectangles with similar sizes and similar
locations. The similarity is defined by eps. When eps=0 , no clustering is done at all. If
\texttt{eps}\rightarrow +\inf
, all the rectangles are put in one cluster. Then, the small
clusters containing less than or equal to groupThreshold rectangles are rejected. In each other
cluster, the average rectangle is computed and put into the output rectangle list.
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, int groupThreshold)
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, @StdVector IntPointer weights, int groupThreshold, double eps)
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, @StdVector IntPointer weights, int groupThreshold)
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, @StdVector IntBuffer weights, int groupThreshold, double eps)
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, @StdVector IntBuffer weights, int groupThreshold)
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, @StdVector int[] weights, int groupThreshold, double eps)
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, @StdVector int[] weights, int groupThreshold)
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, int groupThreshold, double eps, @StdVector IntPointer weights, @StdVector DoublePointer levelWeights)
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, int groupThreshold, double eps, @StdVector IntBuffer weights, @StdVector DoubleBuffer levelWeights)
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, int groupThreshold, double eps, @StdVector int[] weights, @StdVector double[] levelWeights)
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, @StdVector IntPointer rejectLevels, @StdVector DoublePointer levelWeights, int groupThreshold, double eps)
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, @StdVector IntPointer rejectLevels, @StdVector DoublePointer levelWeights, int groupThreshold)
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, @StdVector IntBuffer rejectLevels, @StdVector DoubleBuffer levelWeights, int groupThreshold, double eps)
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, @StdVector IntBuffer rejectLevels, @StdVector DoubleBuffer levelWeights, int groupThreshold)
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, @StdVector int[] rejectLevels, @StdVector double[] levelWeights, int groupThreshold, double eps)
@Namespace(value="cv") public static void groupRectangles(@ByRef RectVector rectList, @StdVector int[] rejectLevels, @StdVector double[] levelWeights, int groupThreshold)
@Namespace(value="cv") public static void groupRectangles_meanshift(@ByRef RectVector rectList, @StdVector DoublePointer foundWeights, @StdVector DoublePointer foundScales, double detectThreshold, @ByVal(nullValue="cv::Size(64, 128)") Size winDetSize)
@Namespace(value="cv") public static void groupRectangles_meanshift(@ByRef RectVector rectList, @StdVector DoublePointer foundWeights, @StdVector DoublePointer foundScales)
@Namespace(value="cv") public static void groupRectangles_meanshift(@ByRef RectVector rectList, @StdVector DoubleBuffer foundWeights, @StdVector DoubleBuffer foundScales, double detectThreshold, @ByVal(nullValue="cv::Size(64, 128)") Size winDetSize)
@Namespace(value="cv") public static void groupRectangles_meanshift(@ByRef RectVector rectList, @StdVector DoubleBuffer foundWeights, @StdVector DoubleBuffer foundScales)
@Namespace(value="cv") public static void groupRectangles_meanshift(@ByRef RectVector rectList, @StdVector double[] foundWeights, @StdVector double[] foundScales, double detectThreshold, @ByVal(nullValue="cv::Size(64, 128)") Size winDetSize)
@Namespace(value="cv") public static void groupRectangles_meanshift(@ByRef RectVector rectList, @StdVector double[] foundWeights, @StdVector double[] foundScales)
@Namespace(value="cv") @opencv_core.Ptr public static BaseCascadeClassifier.MaskGenerator createFaceDetectionMaskGenerator()
Copyright © 2020. All rights reserved.