@Namespace(value="cv::face") @NoOffset public static class opencv_face.PredictCollector extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
opencv_face.PredictCollector() |
opencv_face.PredictCollector(double threshhold)
\brief creates new predict collector with given threshhold
|
opencv_face.PredictCollector(long size)
Native array allocator.
|
opencv_face.PredictCollector(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
emit(int label,
double dist) |
boolean |
emit(int label,
double dist,
int state)
\brief called with every recognition result
|
void |
init(int size) |
void |
init(int size,
int state)
\brief called once at start of recognition
|
opencv_face.PredictCollector |
position(long position) |
address, 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.PredictCollector(Pointer p)
Pointer.Pointer(Pointer).public opencv_face.PredictCollector(long size)
Pointer.position(long).public opencv_face.PredictCollector(double threshhold)
public opencv_face.PredictCollector()
public opencv_face.PredictCollector position(long position)
public void init(int size,
int state)
size - total size of prediction evaluation that recognizer could performstate - user defined send-to-back optional value to allow multi-thread, multi-session or aggregation scenariospublic void init(int size)
@Cast(value="bool") public boolean emit(int label, double dist, int state)
label - current prediction labeldist - current prediction distance (confidence)state - user defined send-to-back optional value to allow multi-thread, multi-session or aggregation scenariosCopyright © 2016. All rights reserved.