@Namespace(value="cv") @Properties(inherit=opencv_video.class) public class TrackerVit extends Tracker
| Modifier and Type | Class and Description |
|---|---|
static class |
TrackerVit.Params |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
TrackerVit(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static TrackerVit |
create() |
static TrackerVit |
create(Net model) |
static TrackerVit |
create(Net model,
Scalar meanvalue,
Scalar stdvalue,
float tracking_score_threshold)
\brief Constructor
|
static TrackerVit |
create(TrackerVit.Params parameters)
\brief Constructor
|
float |
getTrackingScore()
\brief Return tracking score
|
init, init, init, update, update, updateaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, trimMemory, withDeallocator, zeropublic TrackerVit(Pointer p)
Pointer(Pointer).@opencv_core.Ptr public static TrackerVit create(@Const @ByRef(nullValue="cv::TrackerVit::Params()") TrackerVit.Params parameters)
parameters - vit tracker parameters TrackerVit::Params@opencv_core.Ptr public static TrackerVit create()
@opencv_core.Ptr public static TrackerVit create(@Const @ByRef Net model, @ByVal(nullValue="cv::Scalar(0.485, 0.456, 0.406)") Scalar meanvalue, @ByVal(nullValue="cv::Scalar(0.229, 0.224, 0.225)") Scalar stdvalue, float tracking_score_threshold)
model - pre-loaded DNN modelmeanvalue - mean value for image preprocessingstdvalue - std value for image preprocessingtracking_score_threshold - threshold for tracking score@opencv_core.Ptr public static TrackerVit create(@Const @ByRef Net model)
public float getTrackingScore()
Copyright © 2026. All rights reserved.