@Namespace(value="dai::node") @NoOffset @Properties(inherit=depthai.class) public class SpatialDetectionNetwork extends DetectionNetwork
Node.Connection, Node.DatatypeHierarchy, Node.Input, Node.OutputPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
SpatialDetectionNetwork(PipelineImpl par,
long nodeId) |
SpatialDetectionNetwork(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Node.Output |
boundingBoxMapping()
Outputs mapping of detected bounding boxes relative to depth map
Suitable for when displaying remapped bounding boxes on depth frame
|
BytePointer |
getName()
Retrieves nodes name
|
Node.Input |
input()
Input message with data to be infered upon
Default queue is blocking with size 5
|
Node.Input |
inputDepth()
Input message with depth data used to retrieve spatial information about detected object
Default queue is non-blocking with size 4
|
Node.Output |
out()
Outputs ImgDetections message that carries parsed detection results.
|
Node.Output |
passthrough()
Passthrough message on which the inference was performed.
|
Node.Output |
passthroughDepth()
Passthrough message for depth frame on which the spatial location calculation was performed.
|
void |
setBoundingBoxScaleFactor(float scaleFactor)
Specifies scale factor for detected bounding boxes.
|
void |
setDepthLowerThreshold(int lowerThreshold)
Specifies lower threshold in milimeters for depth values which will used to calculate spatial data
|
void |
setDepthUpperThreshold(int upperThreshold)
Specifies upper threshold in milimeters for depth values which will used to calculate spatial data
|
setConfidenceThresholdgetNumInferenceThreads, setBlobPath, setBlobPath, setNumInferenceThreads, setNumNCEPerInferenceThread, setNumPoolFramesassetManager, 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 SpatialDetectionNetwork(Pointer p)
Pointer(Pointer).public SpatialDetectionNetwork(@SharedPtr PipelineImpl par, @Cast(value="int64_t") long nodeId)
@StdString public BytePointer getName()
NodegetName in class DetectionNetwork@MemberGetter @ByRef public Node.Input input()
input in class DetectionNetwork@MemberGetter @ByRef public Node.Input inputDepth()
@MemberGetter @ByRef public Node.Output out()
out in class DetectionNetwork@MemberGetter @ByRef public Node.Output boundingBoxMapping()
@MemberGetter @ByRef public Node.Output passthrough()
passthrough in class DetectionNetwork@MemberGetter @ByRef public Node.Output passthroughDepth()
public void setBoundingBoxScaleFactor(float scaleFactor)
scaleFactor - Scale factor must be in the interval (0,1].public void setDepthLowerThreshold(@Cast(value="uint32_t") int lowerThreshold)
lowerThreshold - LowerThreshold must be in the interval [0,upperThreshold] and less than upperThreshold.Copyright © 2021. All rights reserved.