@Namespace(value="cv::face")
public static class opencv_face.PredictCollector
extends org.bytedeco.javacpp.Pointer
| Constructor and Description |
|---|
PredictCollector(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
collect(int label,
double dist)
\brief Interface method called by face recognizer for each result
|
void |
init(long size)
\brief Interface method called by face recognizer before results processing
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic PredictCollector(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public void init(@Cast(value="size_t")
long size)
size - total size of prediction evaluation that recognizer could perform@Cast(value="bool")
public boolean collect(int label,
double dist)
label - current prediction labeldist - current prediction distance (confidence)Copyright © 2018. All rights reserved.