@Namespace(value="cv") @NoOffset @Properties(inherit=opencv_tracking.class) public class Tracker extends Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
Tracker(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
init(GpuMat image,
Rect2d boundingBox) |
boolean |
init(Mat image,
Rect2d boundingBox)
\brief Initialize the tracker with a known bounding box that surrounded the target
|
boolean |
init(UMat image,
Rect2d boundingBox) |
void |
read(FileNode fn)
\brief Reads algorithm parameters from a file storage
|
boolean |
update(GpuMat image,
Rect2d boundingBox) |
boolean |
update(Mat image,
Rect2d boundingBox)
\brief Update the tracker, find the new most likely bounding box for the target
|
boolean |
update(UMat image,
Rect2d boundingBox) |
void |
write(FileStorage fs)
\brief Stores algorithm parameters in a file storage
|
clear, empty, getDefaultName, position, save, save, write, writeaddress, 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, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Tracker(Pointer p)
Pointer.Pointer(Pointer).@Cast(value="bool") public boolean init(@ByVal Mat image, @Const @ByRef Rect2d boundingBox)
image - The initial frameboundingBox - The initial bounding box
@Cast(value="bool") public boolean update(@ByVal Mat image, @ByRef Rect2d boundingBox)
image - The current frameboundingBox - The bounding box that represent the new target location, if true was returned, not
modified otherwise
public void read(@Const @ByRef FileNode fn)
Algorithmpublic void write(@ByRef FileStorage fs)
AlgorithmCopyright © 2020. All rights reserved.