@Namespace(value="dai") @NoOffset @Properties(inherit=depthai.class) public class Pipeline extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
Pipeline()
Constructs a new pipeline
|
Pipeline(long size)
Native array allocator.
|
Pipeline(PipelineImpl pimpl) |
Pipeline(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Pipeline |
clone()
Clone the pipeline (Creates a copy)
|
AprilTagNode |
createAprilTag() |
ColorCamera |
createColorCamera() |
DetectionParser |
createDetectionParser() |
ImageManip |
createImageManip() |
IMU |
createIMU()
Adds a node to pipeline.
|
MobileNetDetectionNetwork |
createMobileNetDetectionNetwork() |
MobileNetSpatialDetectionNetwork |
createMobileNetSpatialDetectionNetwork() |
MonoCamera |
createMonoCamera() |
NeuralNetwork |
createNeuralNetwork() |
ObjectTracker |
createObjectTracker() |
SpatialLocationCalculator |
createSpatialLocationCalculator() |
SPIOut |
createSPIOut() |
StereoDepth |
createStereoDepth() |
SystemLogger |
createSystemLogger() |
VideoEncoder |
createVideoEncoder() |
Warp |
createWarp() |
XLinkIn |
createXLinkIn() |
XLinkOut |
createXLinkOut() |
YoloDetectionNetwork |
createYoloDetectionNetwork() |
YoloSpatialDetectionNetwork |
createYoloSpatialDetectionNetwork() |
NodeVector |
getAllNodes()
Get a vector of all nodes
|
AssetManager |
getAssetManager()
Get pipelines AssetManager as reference
|
BoardConfig |
getBoardConfig()
Gets board configuration
|
CalibrationHandler |
getCalibrationData()
gets the calibration data which is set through pipeline
|
NodeIdConnectionSetMap |
getConnectionMap()
Get a reference to internal connection representation
|
Node.Connection |
getConnections()
Get all connections
|
DeviceBase.Config |
getDeviceConfig()
Get device configuration needed for this pipeline
|
GlobalProperties |
getGlobalProperties() |
Node |
getNode(long id)
Get node with id if it exists, nullptr otherwise
|
NodeIdNodeMap |
getNodeMap()
Get a reference to internal node map
|
int |
getOpenVINOVersion()
Get possible OpenVINO version to run this pipeline
|
PipelineSchema |
getPipelineSchema() |
PipelineSchema |
getPipelineSchema(depthai.SerializationType type) |
PipelineSchema |
getPipelineSchema(int type) |
Pipeline |
getPointer(long i) |
IntOptional |
getRequiredOpenVINOVersion()
Get required OpenVINO version to run this pipeline.
|
boolean |
isOpenVINOVersionCompatible(int version)
Checks whether a given OpenVINO version is compatible with the pipeline
|
void |
link(Node.Output out,
Node.Input in)
Link output to an input.
|
Pipeline |
position(long position) |
void |
remove(Node node)
Removes a node from pipeline
|
void |
serialize(PipelineSchema schema,
Assets assets,
byte[] assetStorage) |
void |
serialize(PipelineSchema schema,
Assets assets,
ByteBuffer assetStorage) |
void |
serialize(PipelineSchema schema,
Assets assets,
BytePointer assetStorage) |
Pointer |
serializeToJson()
Returns whole pipeline represented as JSON
|
void |
setBoardConfig(BoardConfig board)
Sets board configuration
|
void |
setCalibrationData(CalibrationHandler calibrationDataHandler)
Sets the calibration in pipeline which overrides the calibration data in eeprom
|
void |
setCameraTuningBlobPath(Path path)
Set a camera IQ (Image Quality) tuning blob, used for all cameras
|
void |
setOpenVINOVersion(int version)
Set a specific OpenVINO version to use with this pipeline
|
void |
setSippBufferSize(int sizeBytes)
SIPP (Signal Image Processing Pipeline) internal memory pool.
|
void |
setSippDmaBufferSize(int sizeBytes)
SIPP (Signal Image Processing Pipeline) internal DMA memory pool.
|
void |
setXLinkChunkSize(int sizeBytes)
Set chunk size for splitting device-sent XLink packets, in bytes.
|
void |
unlink(Node.Output out,
Node.Input in)
Unlink output from an input.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic Pipeline(Pointer p)
Pointer(Pointer).public Pipeline(long size)
Pointer.position(long).public Pipeline()
public Pipeline(@SharedPtr PipelineImpl pimpl)
public Pipeline getPointer(long i)
getPointer in class Pointer@ByVal public GlobalProperties getGlobalProperties()
@ByVal public PipelineSchema getPipelineSchema(depthai.SerializationType type)
@ByVal public PipelineSchema getPipelineSchema()
@ByVal public PipelineSchema getPipelineSchema(@Cast(value="dai::SerializationType") int type)
public void serialize(@ByRef PipelineSchema schema, @ByRef Assets assets, @Cast(value="std::uint8_t*") @StdVector BytePointer assetStorage)
public void serialize(@ByRef PipelineSchema schema, @ByRef Assets assets, @Cast(value="std::uint8_t*") @StdVector ByteBuffer assetStorage)
public void serialize(@ByRef PipelineSchema schema, @ByRef Assets assets, @Cast(value="std::uint8_t*") @StdVector byte[] assetStorage)
@ByVal @Cast(value="nlohmann::json*") public Pointer serializeToJson()
@Name(value="create<dai::node::IMU>") @SharedPtr public IMU createIMU()
@Name(value="create<dai::node::AprilTag>") @SharedPtr public AprilTagNode createAprilTag()
@Name(value="create<dai::node::ColorCamera>") @SharedPtr public ColorCamera createColorCamera()
@Name(value="create<dai::node::ImageManip>") @SharedPtr public ImageManip createImageManip()
@Name(value="create<dai::node::MonoCamera>") @SharedPtr public MonoCamera createMonoCamera()
@Name(value="create<dai::node::NeuralNetwork>") @SharedPtr public NeuralNetwork createNeuralNetwork()
@Name(value="create<dai::node::DetectionParser>") @SharedPtr public DetectionParser createDetectionParser()
@Name(value="create<dai::node::MobileNetDetectionNetwork>") @SharedPtr public MobileNetDetectionNetwork createMobileNetDetectionNetwork()
@Name(value="create<dai::node::YoloDetectionNetwork>") @SharedPtr public YoloDetectionNetwork createYoloDetectionNetwork()
@Name(value="create<dai::node::ObjectTracker>") @SharedPtr public ObjectTracker createObjectTracker()
@Name(value="create<dai::node::SPIOut>") @SharedPtr public SPIOut createSPIOut()
@Name(value="create<dai::node::MobileNetSpatialDetectionNetwork>") @SharedPtr public MobileNetSpatialDetectionNetwork createMobileNetSpatialDetectionNetwork()
@Name(value="create<dai::node::YoloSpatialDetectionNetwork>") @SharedPtr public YoloSpatialDetectionNetwork createYoloSpatialDetectionNetwork()
@Name(value="create<dai::node::SpatialLocationCalculator>") @SharedPtr public SpatialLocationCalculator createSpatialLocationCalculator()
@Name(value="create<dai::node::StereoDepth>") @SharedPtr public StereoDepth createStereoDepth()
@Name(value="create<dai::node::SystemLogger>") @SharedPtr public SystemLogger createSystemLogger()
@Name(value="create<dai::node::VideoEncoder>") @SharedPtr public VideoEncoder createVideoEncoder()
@Name(value="create<dai::node::Warp>") @SharedPtr public Warp createWarp()
@Name(value="create<dai::node::XLinkIn>") @SharedPtr public XLinkIn createXLinkIn()
@Name(value="create<dai::node::XLinkOut>") @SharedPtr public XLinkOut createXLinkOut()
public void remove(@SharedPtr @ByVal Node node)
@ByVal public NodeVector getAllNodes()
@SharedPtr @ByVal public Node getNode(@Cast(value="dai::Node::Id") long id)
@StdVector public Node.Connection getConnections()
@Cast(value="const dai::Pipeline::NodeConnectionMap*") @ByRef public NodeIdConnectionSetMap getConnectionMap()
@Cast(value="const dai::Pipeline::NodeMap*") @ByRef public NodeIdNodeMap getNodeMap()
public void link(@Const @ByRef Node.Output out, @Const @ByRef Node.Input in)
out - Nodes output to connect fromin - Nodes input to connect topublic void unlink(@Const @ByRef Node.Output out, @Const @ByRef Node.Input in)
out - Nodes output to unlink fromin - Nodes input to unlink to@ByRef public AssetManager getAssetManager()
public void setOpenVINOVersion(@Cast(value="dai::OpenVINO::Version") int version)
public void setCalibrationData(@ByVal CalibrationHandler calibrationDataHandler)
calibrationDataHandler - CalibrationHandler object which is loaded with calibration information.@ByVal public CalibrationHandler getCalibrationData()
@Cast(value="dai::OpenVINO::Version") public int getOpenVINOVersion()
@ByVal @Cast(value="tl::optional<dai::OpenVINO::Version>*") public IntOptional getRequiredOpenVINOVersion()
public void setCameraTuningBlobPath(@Const @ByRef Path path)
public void setXLinkChunkSize(int sizeBytes)
public void setSippBufferSize(int sizeBytes)
public void setSippDmaBufferSize(int sizeBytes)
@Cast(value="bool") public boolean isOpenVINOVersionCompatible(@Cast(value="dai::OpenVINO::Version") int version)
public void setBoardConfig(@ByVal BoardConfig board)
@ByVal public BoardConfig getBoardConfig()
@ByVal public DeviceBase.Config getDeviceConfig()
Copyright © 2023. All rights reserved.