DepthAI Nodes
🌟 Overview
DepthAI Nodes provides reusable nodes and helpers for DepthAI v3 pipelines, including neural network post-processing, image utilities, message handling, and runtime integrations. Inference helpers support both native DepthAI parsers and Python host parsers.
For complete Python API documentation, see the DepthAINodes documentation and API reference.
📜 Table of Contents
🛠️ Installation
Install from PyPI:
pip install depthai-nodes
Or install from source:
git clone https://github.com/luxonis/depthai-nodes.git
cd depthai-nodes
pip install .
📦 Content
📨 Message
The message module provides Collection, GatheredData, and SnapData
messages, plus creator functions for native DepthAI parser messages. Creators
cover detections, segmentation, classification, keypoints, maps, and other model
outputs. See the message package documentation for the available
types and their roles.
🧩 Node
The node module provides parsers and pipeline helpers:
- Parser nodes handle model post-processing for architectures such as YOLO, MediaPipe, and YuNet.
- Inference helpers, including
ParsingNeuralNetworkandParserGenerator, create and connect inference and parser nodes. - Utility nodes handle detection filtering, image overlays, colormaps, and message collection.
ParsingNeuralNetwork and ParserGenerator use native DepthAI parsers by default. Use HostParsingNeuralNetwork or pass hostOnly=True to ParserGenerator.build() to select this package's host parsers.
See the node package documentation for available nodes and examples.
Runtime
The runtime module contains runtime integrations. Its OAK4 QNN helper
creates ONNX Runtime sessions on the Hexagon DSP when used with the
onnxruntime variant of the oakapp-base image:
from depthai_nodes.runtime import onnx_qnn_session
session = onnx_qnn_session("model.onnx")
🤝 Contributing
See CONTRIBUTING.md for development setup, parser guidelines, and testing instructions. Feedback and bug reports are welcome in GitHub issues.
Metadata
Release files for depthai-nodes 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| depthai_nodes-0.7.0.tar.gz | 197.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| depthai_nodes-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 488.4 kB
Release files / depthai_nodes-0.7.0.tar.gz
| Download URL | depthai_nodes-0.7.0.tar.gz |
|---|---|
| Size | 197.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f2850ddf547384eea5b82c9cfd797524ec5a069f285a940057aa190f37640fc
|
|
BLAKE2b-256 checksum How to use checksums |
926b02c316817e8d13f53e7537afa96d6dc98e2c74fc6ec2158f17eba22667e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / depthai_nodes-0.7.0-py3-none-any.whl
| Download URL | depthai_nodes-0.7.0-py3-none-any.whl |
|---|---|
| Size | 290.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c8e6a21467ddffde4169da81c4f26dfe284482aa097d46ef10571c978ee4fe0
|
|
BLAKE2b-256 checksum How to use checksums |
8ca2f75bab71324dd51be79bc28f0598422fde3e4acd56403e9f34c7297f4fe1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|