@Namespace(value="cv")
@NoOffset
public static class opencv_tracking.MultiTracker_Alt
extends org.bytedeco.javacpp.Pointer
\sa Tracker, MultiTrackerTLD
| Constructor and Description |
|---|
MultiTracker_Alt()
\brief Constructor for Multitracker
|
MultiTracker_Alt(long size)
Native array allocator.
|
MultiTracker_Alt(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addTarget(opencv_core.GpuMat image,
opencv_core.Rect2d boundingBox,
opencv_tracking.Tracker tracker_algorithm) |
boolean |
addTarget(opencv_core.Mat image,
opencv_core.Rect2d boundingBox,
opencv_tracking.Tracker tracker_algorithm)
\brief Add a new target to a tracking-list and initialize the tracker with a known bounding box that surrounded the target
|
boolean |
addTarget(opencv_core.UMat image,
opencv_core.Rect2d boundingBox,
opencv_tracking.Tracker tracker_algorithm) |
opencv_core.Rect2dVector |
boundingBoxes()
\brief Bounding Boxes list for Multi-Object-Tracker
|
opencv_tracking.MultiTracker_Alt |
boundingBoxes(opencv_core.Rect2dVector boundingBoxes) |
opencv_core.ScalarVector |
colors()
\brief List of randomly generated colors for bounding boxes display
|
opencv_tracking.MultiTracker_Alt |
colors(opencv_core.ScalarVector colors) |
opencv_tracking.MultiTracker_Alt |
position(long position) |
int |
targetNum()
\brief Current number of targets in tracking-list
|
opencv_tracking.MultiTracker_Alt |
targetNum(int targetNum) |
opencv_tracking.TrackerVector |
trackers()
\brief Trackers list for Multi-Object-Tracker
|
opencv_tracking.MultiTracker_Alt |
trackers(opencv_tracking.TrackerVector trackers) |
boolean |
update(opencv_core.GpuMat image) |
boolean |
update(opencv_core.Mat image)
\brief Update all trackers from the tracking-list, find a new most likely bounding boxes for the targets
|
boolean |
update(opencv_core.UMat image) |
address, 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 MultiTracker_Alt(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public MultiTracker_Alt(long size)
Pointer.position(long).public MultiTracker_Alt()
public opencv_tracking.MultiTracker_Alt position(long position)
position in class org.bytedeco.javacpp.Pointer@Cast(value="bool")
public boolean addTarget(@ByVal
opencv_core.Mat image,
@Const @ByRef
opencv_core.Rect2d boundingBox,
@opencv_core.Ptr @ByVal
opencv_tracking.Tracker tracker_algorithm)
image - The initial frameboundingBox - The initial bounding box of targettracker_algorithm - Multi-tracker algorithm
@Cast(value="bool")
public boolean addTarget(@ByVal
opencv_core.UMat image,
@Const @ByRef
opencv_core.Rect2d boundingBox,
@opencv_core.Ptr @ByVal
opencv_tracking.Tracker tracker_algorithm)
@Cast(value="bool")
public boolean addTarget(@ByVal
opencv_core.GpuMat image,
@Const @ByRef
opencv_core.Rect2d boundingBox,
@opencv_core.Ptr @ByVal
opencv_tracking.Tracker tracker_algorithm)
@Cast(value="bool")
public boolean update(@ByVal
opencv_core.Mat image)
image - The current frame
@Cast(value="bool")
public boolean update(@ByVal
opencv_core.UMat image)
@Cast(value="bool")
public boolean update(@ByVal
opencv_core.GpuMat image)
public int targetNum()
public opencv_tracking.MultiTracker_Alt targetNum(int targetNum)
@ByRef public opencv_tracking.TrackerVector trackers()
public opencv_tracking.MultiTracker_Alt trackers(opencv_tracking.TrackerVector trackers)
@ByRef public opencv_core.Rect2dVector boundingBoxes()
public opencv_tracking.MultiTracker_Alt boundingBoxes(opencv_core.Rect2dVector boundingBoxes)
@ByRef public opencv_core.ScalarVector colors()
public opencv_tracking.MultiTracker_Alt colors(opencv_core.ScalarVector colors)
Copyright © 2018. All rights reserved.