@Namespace(value="dai::node") @NoOffset @Properties(inherit=depthai.class) public class DetectionNetwork extends NeuralNetwork
Node.Connection, Node.DatatypeHierarchy, Node.Input, Node.OutputPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
DetectionNetwork(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BytePointer |
getName()
Retrieves nodes name
|
Node.Input |
input()
Input message with data to be infered upon
Default queue is blocking with size 5
|
Node.Output |
out()
Outputs ImgDetections message that carries parsed detection results.
|
Node.Output |
passthrough()
Passthrough message on which the inference was performed.
|
void |
setConfidenceThreshold(float thresh)
Specifies confidence threshold at which to filter the rest of the detections.
|
getNumInferenceThreads, 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 DetectionNetwork(Pointer p)
Pointer(Pointer).@StdString public BytePointer getName()
NodegetName in class NeuralNetwork@MemberGetter @ByRef public Node.Input input()
input in class NeuralNetwork@MemberGetter @ByRef public Node.Output out()
out in class NeuralNetwork@MemberGetter @ByRef public Node.Output passthrough()
passthrough in class NeuralNetworkpublic void setConfidenceThreshold(float thresh)
thresh - Detection confidence must be greater than specified threshold to be added to the listCopyright © 2021. All rights reserved.