@Namespace(value="dai::node") @NoOffset @Properties(inherit=depthai.class) public class ObjectTracker extends Node
Node.Connection, Node.DatatypeHierarchy, Node.Input, Node.OutputPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ObjectTracker(PipelineImpl par,
long nodeId) |
ObjectTracker(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BytePointer |
getName()
Retrieves nodes name
|
Node.Input |
inputDetectionFrame()
Input ImgFrame message on which object detection was performed.
|
Node.Input |
inputDetections()
Input message with image detection from neural network.
|
Node.Input |
inputTrackerFrame()
Input ImgFrame message on which tracking will be performed.
|
Node.Output |
out()
Outputs Tracklets message that carries object tracking results.
|
Node.Output |
passthroughDetectionFrame()
Passthrough ImgFrame message on which object detection was performed.
|
Node.Output |
passthroughDetections()
Passthrough image detections message from neural nework output.
|
Node.Output |
passthroughTrackerFrame()
Passthrough ImgFrame message on which tracking was performed.
|
void |
setDetectionLabelsToTrack(int[] labels) |
void |
setDetectionLabelsToTrack(IntBuffer labels) |
void |
setDetectionLabelsToTrack(IntPointer labels)
Specify detection labels to track.
|
void |
setMaxObjectsToTrack(int maxObjectsToTrack)
Specify maximum number of object to track.
|
void |
setTrackerIdAssigmentPolicy(depthai.TrackerIdAssigmentPolicy type)
Specify tracker ID assigment policy.
|
void |
setTrackerIdAssigmentPolicy(int type) |
void |
setTrackerThreshold(float threshold)
Specify tracker threshold.
|
void |
setTrackerType(depthai.TrackerType type)
Specify tracker type algorithm.
|
void |
setTrackerType(int type) |
assetManager, clone, getAssets, getInputRefs, getInputs, getOutputRefs, getOutputs, getParentPipeline, getProperties, getRequiredOpenVINOVersion, id, inputs, outputsaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic ObjectTracker(Pointer p)
Pointer(Pointer).public ObjectTracker(@SharedPtr PipelineImpl par, @Cast(value="int64_t") long nodeId)
@StdString public BytePointer getName()
Node@MemberGetter @ByRef public Node.Input inputTrackerFrame()
@MemberGetter @ByRef public Node.Input inputDetectionFrame()
@MemberGetter @ByRef public Node.Input inputDetections()
@MemberGetter @ByRef public Node.Output out()
@MemberGetter @ByRef public Node.Output passthroughTrackerFrame()
@MemberGetter @ByRef public Node.Output passthroughDetectionFrame()
@MemberGetter @ByRef public Node.Output passthroughDetections()
public void setTrackerThreshold(float threshold)
threshold - Above this threshold the detected objects will be tracked. Default 0, all image detections are tracked.public void setMaxObjectsToTrack(@Cast(value="std::int32_t") int maxObjectsToTrack)
maxObjectsToTrack - Maximum number of object to track. Maximum 60.public void setDetectionLabelsToTrack(@Cast(value="std::uint32_t*") @StdVector IntPointer labels)
labels - Detection labels to track. Default every label is tracked from image detection network output.public void setDetectionLabelsToTrack(@Cast(value="std::uint32_t*") @StdVector IntBuffer labels)
public void setDetectionLabelsToTrack(@Cast(value="std::uint32_t*") @StdVector int[] labels)
public void setTrackerType(depthai.TrackerType type)
type - Tracker type.public void setTrackerIdAssigmentPolicy(depthai.TrackerIdAssigmentPolicy type)
type - Tracker ID assigment policy.Copyright © 2021. All rights reserved.