public class Tracker extends Algorithm
| Modifier | Constructor and Description |
|---|---|
protected |
Tracker(long addr) |
| Modifier and Type | Method and Description |
|---|---|
static Tracker |
__fromPtr__(long addr) |
protected void |
finalize() |
boolean |
init(Mat image,
Rect2d boundingBox)
Initialize the tracker with a known bounding box that surrounded the target
|
boolean |
update(Mat image,
Rect2d boundingBox)
Update the tracker, find the new most likely bounding box for the target
|
clear, empty, getDefaultName, getNativeObjAddr, savepublic static Tracker __fromPtr__(long addr)
public boolean init(Mat image, Rect2d boundingBox)
image - The initial frameboundingBox - The initial bounding boxpublic boolean update(Mat image, Rect2d boundingBox)
image - The current frameboundingBox - The bounding box that represent the new target location, if true was returned, not
modified otherwiseCopyright © 2020. All rights reserved.