@Namespace(value="cv::detail::tracking::tbm") @NoOffset @Properties(inherit=opencv_tracking.class) public class TrackedObject extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TrackedObject()
\brief Default constructor.
|
TrackedObject(long size)
Native array allocator.
|
TrackedObject(Pointer p)
Pointer cast constructor.
|
TrackedObject(Rect rect,
float confidence,
int frame_idx,
int object_id)
\brief Constructor with parameters.
|
Modifier and Type | Method and Description |
---|---|
double |
confidence()
Detection confidence level (-1 if N/A).
|
TrackedObject |
confidence(double setter) |
int |
frame_idx()
Frame index where object was detected (-1 if N/A).
|
TrackedObject |
frame_idx(int setter) |
TrackedObject |
getPointer(long i) |
int |
object_id()
Unique object identifier (-1 if N/A).
|
TrackedObject |
object_id(int setter) |
TrackedObject |
position(long position) |
Rect |
rect()
Detected object ROI (zero area if N/A).
|
TrackedObject |
rect(Rect setter) |
long |
timestamp()
Timestamp in milliseconds.
|
TrackedObject |
timestamp(long setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public TrackedObject(Pointer p)
Pointer(Pointer)
.public TrackedObject(long size)
Pointer.position(long)
.public TrackedObject()
public TrackedObject position(long position)
public TrackedObject getPointer(long i)
getPointer
in class Pointer
public TrackedObject rect(Rect setter)
public double confidence()
public TrackedObject confidence(double setter)
public int frame_idx()
public TrackedObject frame_idx(int setter)
public int object_id()
public TrackedObject object_id(int setter)
public TrackedObject timestamp(long setter)
Copyright © 2024. All rights reserved.