@Namespace(value="cv") @NoOffset @Properties(inherit=opencv_tracking.class) public class Detector extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Detector(Pointer p)
Pointer cast constructor.
|
Detector(StrongClassifierDirectSelection classifier) |
Modifier and Type | Method and Description |
---|---|
void |
classifySmooth(MatVector image) |
void |
classifySmooth(MatVector image,
float minMargin) |
float |
getConfidence(int patchIdx) |
float |
getConfidenceOfBestDetection() |
float |
getConfidenceOfDetection(int detectionIdx) |
FloatPointer |
getConfidences() |
Mat |
getConfImageDisplay() |
IntPointer |
getIdxDetections() |
int |
getNumDetections() |
int |
getPatchIdxOfBestDetection() |
int |
getPatchIdxOfDetection(int detectionIdx) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public Detector(Pointer p)
Pointer.Pointer(Pointer)
.public Detector(StrongClassifierDirectSelection classifier)
public int getNumDetections()
public float getConfidence(int patchIdx)
public float getConfidenceOfDetection(int detectionIdx)
public float getConfidenceOfBestDetection()
public int getPatchIdxOfBestDetection()
public int getPatchIdxOfDetection(int detectionIdx)
@StdVector public IntPointer getIdxDetections()
@StdVector public FloatPointer getConfidences()
Copyright © 2020. All rights reserved.