@Namespace(value="cv::face") @NoOffset public static class opencv_face.MinDistancePredictCollector extends opencv_face.PredictCollector
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
opencv_face.MinDistancePredictCollector() |
opencv_face.MinDistancePredictCollector(double threshhold)
\brief creates new MinDistancePredictCollector with given threshhold
|
opencv_face.MinDistancePredictCollector(long size)
Native array allocator.
|
opencv_face.MinDistancePredictCollector(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static opencv_face.MinDistancePredictCollector |
create() |
static opencv_face.MinDistancePredictCollector |
create(double threshold)
\brief factory method to create cv-pointers to MinDistancePredictCollector
|
boolean |
emit(int label,
double dist) |
boolean |
emit(int label,
double dist,
int state)
\brief called with every recognition result
|
double |
getDist()
\brief result distance (confidence) DBL_MAX if not found
|
int |
getLabel()
\brief result label, 0 if not found
|
opencv_face.MinDistancePredictCollector |
position(long position) |
init, initaddress, asBuffer, asByteBuffer, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, maxBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic opencv_face.MinDistancePredictCollector(Pointer p)
Pointer.Pointer(Pointer).public opencv_face.MinDistancePredictCollector(long size)
Pointer.position(long).public opencv_face.MinDistancePredictCollector(double threshhold)
public opencv_face.MinDistancePredictCollector()
public opencv_face.MinDistancePredictCollector position(long position)
position in class opencv_face.PredictCollector@Cast(value="bool") public boolean emit(int label, double dist, int state)
opencv_face.PredictCollectoremit in class opencv_face.PredictCollectorlabel - current prediction labeldist - current prediction distance (confidence)state - user defined send-to-back optional value to allow multi-thread, multi-session or aggregation scenarios@Cast(value="bool") public boolean emit(int label, double dist)
emit in class opencv_face.PredictCollectorpublic int getLabel()
public double getDist()
@opencv_core.Ptr public static opencv_face.MinDistancePredictCollector create(double threshold)
@opencv_core.Ptr public static opencv_face.MinDistancePredictCollector create()
Copyright © 2016. All rights reserved.