@Namespace(value="cv") @NoOffset public static class opencv_tracking.Tracker extends opencv_core.Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Tracker(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
init(opencv_core.GpuMat image,
opencv_core.Rect2d boundingBox) |
boolean |
init(opencv_core.Mat image,
opencv_core.Rect2d boundingBox)
\brief Initialize the tracker with a known bounding box that surrounded the target
|
boolean |
init(opencv_core.UMat image,
opencv_core.Rect2d boundingBox) |
void |
read(opencv_core.FileNode fn)
\brief Reads algorithm parameters from a file storage
|
boolean |
update(opencv_core.GpuMat image,
opencv_core.Rect2d boundingBox) |
boolean |
update(opencv_core.Mat image,
opencv_core.Rect2d boundingBox)
\brief Update the tracker, find the new most likely bounding box for the target
|
boolean |
update(opencv_core.UMat image,
opencv_core.Rect2d boundingBox) |
void |
write(opencv_core.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, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Tracker(Pointer p)
Pointer.Pointer(Pointer).@Cast(value="bool") public boolean init(@ByVal opencv_core.Mat image, @Const @ByRef opencv_core.Rect2d boundingBox)
image - The initial frameboundingBox - The initial bounding box
@Cast(value="bool") public boolean init(@ByVal opencv_core.UMat image, @Const @ByRef opencv_core.Rect2d boundingBox)
@Cast(value="bool") public boolean init(@ByVal opencv_core.GpuMat image, @Const @ByRef opencv_core.Rect2d boundingBox)
@Cast(value="bool") public boolean update(@ByVal opencv_core.Mat image, @ByRef opencv_core.Rect2d boundingBox)
image - The current frameboundingBox - The bounding box that represent the new target location, if true was returned, not
modified otherwise
@Cast(value="bool") public boolean update(@ByVal opencv_core.UMat image, @ByRef opencv_core.Rect2d boundingBox)
@Cast(value="bool") public boolean update(@ByVal opencv_core.GpuMat image, @ByRef opencv_core.Rect2d boundingBox)
public void read(@Const @ByRef opencv_core.FileNode fn)
opencv_core.Algorithmread in class opencv_core.Algorithmpublic void write(@ByRef opencv_core.FileStorage fs)
opencv_core.Algorithmwrite in class opencv_core.AlgorithmCopyright © 2019. All rights reserved.