@Namespace(value="dai::node") @NoOffset @Properties(inherit=depthai.class) public class DetectionParser extends DetectionParserPropertiesNode
Node.Connection, Node.DatatypeHierarchy, Node.Input, Node.InputMap, Node.Output, Node.OutputMapPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
DetectionParser(PipelineImpl par,
long nodeId) |
DetectionParser(PipelineImpl par,
long nodeId,
DetectionParserProperties props) |
DetectionParser(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
StringIntVectorMap |
getAnchorMasks()
Get anchor masks
|
FloatPointer |
getAnchors()
Get anchors
|
float |
getConfidenceThreshold()
Retrieves threshold at which to filter the rest of the detections.
|
int |
getCoordinateSize()
Get coordianate size
|
float |
getIouThreshold()
Get Iou threshold
|
depthai.DetectionNetworkType |
getNNFamily()
Gets NN Family to parse
|
int |
getNumClasses()
Get num classes
|
int |
getNumFramesPool()
Returns number of frames in pool
|
Node.Input |
input()
Input NN results with detection data to parse
Default queue is blocking with size 5
|
static BytePointer |
NAME() |
Node.Output |
out()
Outputs image frame with detected edges
|
void |
setAnchorMasks(StringIntVectorMap anchorMasks)
Set anchor masks
|
void |
setAnchors(float[] anchors) |
void |
setAnchors(FloatBuffer anchors) |
void |
setAnchors(FloatPointer anchors)
Set anchors
|
void |
setBlob(OpenVINO.Blob blob)
Retrieves some input tensor information from the blob
|
void |
setConfidenceThreshold(float thresh)
Specifies confidence threshold at which to filter the rest of the detections.
|
void |
setCoordinateSize(int coordinates)
Set coordianate size
|
void |
setIouThreshold(float thresh)
Set Iou threshold
|
void |
setNNFamily(depthai.DetectionNetworkType type)
Sets NN Family to parse
|
void |
setNNFamily(int type) |
void |
setNumClasses(int numClasses)
Set num classes
|
void |
setNumFramesPool(int numFramesPool)
Specify number of frames in pool.
|
clone, getName, properties, propertiesassetManager, getAssetManager, getInputRefs, getInputs, getOutputRefs, getOutputs, getParentPipeline, getProperties, getRequiredOpenVINOVersion, id, inputMapRefs, inputRefs, outputMapRefs, outputRefs, propertiesHolder, setInputMapRefs, setInputRefs, setOutputMapRefs, setOutputRefsaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic DetectionParser(Pointer p)
Pointer(Pointer).public DetectionParser(@SharedPtr PipelineImpl par, @Cast(value="int64_t") long nodeId)
public DetectionParser(@SharedPtr PipelineImpl par, @Cast(value="int64_t") long nodeId, @UniquePtr DetectionParserProperties props)
@MemberGetter @Cast(value="const char*") public static BytePointer NAME()
@MemberGetter @ByRef public Node.Input input()
@MemberGetter @ByRef public Node.Output out()
public void setNumFramesPool(int numFramesPool)
numFramesPool - How many frames should the pool havepublic int getNumFramesPool()
public void setBlob(@Const @ByRef OpenVINO.Blob blob)
blob - OpenVINO blob to retrieve the information frompublic void setNNFamily(depthai.DetectionNetworkType type)
public depthai.DetectionNetworkType getNNFamily()
public void setConfidenceThreshold(float thresh)
thresh - Detection confidence must be greater than specified threshold to be added to the listpublic float getConfidenceThreshold()
public void setNumClasses(int numClasses)
public void setCoordinateSize(int coordinates)
public void setAnchors(@StdVector FloatPointer anchors)
public void setAnchors(@StdVector FloatBuffer anchors)
public void setAnchors(@StdVector float[] anchors)
public void setAnchorMasks(@ByVal StringIntVectorMap anchorMasks)
public void setIouThreshold(float thresh)
public int getNumClasses()
public int getCoordinateSize()
@StdVector public FloatPointer getAnchors()
@ByVal public StringIntVectorMap getAnchorMasks()
public float getIouThreshold()
Copyright © 2023. All rights reserved.