Skip to main content

Community on-host nodes for DepthAI.

Project description

DepthAI Nodes

License

CI codecov

Ruff Docformatter Black

🌟 Overview

DepthAI Nodes is a Python "contrib" library designed to simplify host-side development with a growing collection of modular, high-level nodes. These cover a range of common needs - from neural network post-processing and I/O patterns to utility nodes for faster prototyping. With just a few lines of code, you can scaffold sophisticated pipelines, saving time and reducing boilerplate. In order to use these nodes you need to have your pipeline written with DepthAIv3.

NOTE: We are always listening to the community so feel free to report and feedback, issues or contribute to the library with our own host nodes.

📜 Table of Contents

🛠️ Installation

The depthai_nodes package is hosted on PyPI, so you can install it with pip.

To install the package, run:

pip install depthai-nodes

Manual installation

If you want to manually install the package from the GitHub repository you can run:

git clone git@github.com:luxonis/depthai-nodes.git

and then inside the directory run:

pip install .

📦 Content

This library is organized into two primary modules, each focused on a specific aspect of working with DepthAI on the host side:

  • message - Custom message types
  • node - High-level, modular host-side nodes

📨 Message

The message module defines a set of extended message types designed to simplify working with outputs from various neural networks. These go beyond the standard DepthAI messages and include richer data structures for tasks such as object detection, segmentation, classification, pose estimation, and more.

These enhanced messages aim to reduce the boilerplate code needed for parsing and interpreting NN outputs, making it easier to plug them into visualization or processing pipelines. You can learn more about each message type in the dedicated README.

🧩 Node

The node module provides a collection of ready-to-use host-side nodes that abstract common processing patterns and tasks. These nodes fall into three main categories:

  • Parser nodes - Handle post-processing for specific model architectures such as YOLO, MediaPipe, YuNet, etc.
  • Helper nodes - Like ParsingNeuralNetwork and ParserGenerator which help manage simple or complex model outputs more efficiently.
  • Utility nodes – Perform common operations like detection filtering, drawing overlays, applying segmentation colormaps, and more—all in just a few lines of code.

This modular approach allows you to rapidly prototype and scale complex applications with less effort while keeping your code clean and maintainable.

To read more about the nodes and see simple examples, please refer to the nodes documentation.

🤝 Contributing

If you want to contribute to this project, read the instructions in CONTRIBUTING.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

depthai_nodes-0.3.3.tar.gz (162.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

depthai_nodes-0.3.3-py3-none-any.whl (237.5 kB view details)

Uploaded Python 3

File details

Details for the file depthai_nodes-0.3.3.tar.gz.

File metadata

  • Download URL: depthai_nodes-0.3.3.tar.gz
  • Upload date:
  • Size: 162.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for depthai_nodes-0.3.3.tar.gz
Algorithm Hash digest
SHA256 09c93f2f6e0fed34c9d6a3fd4a3a140fcb190c8885cc0e4df65a185dea8e96eb
MD5 f6ab46d27c699c78aff2cf16d5088ba9
BLAKE2b-256 95a7740a0d3218ea20c6d420519929c8d77995bb70395d04f5a79ee43fd09c73

See more details on using hashes here.

File details

Details for the file depthai_nodes-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: depthai_nodes-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 237.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for depthai_nodes-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 26a6ce7c0019098e966f51ab95b5364bf3c18a1beba2b23e5e422f242927c5a6
MD5 5e35f1269050ec123299055f178bf6db
BLAKE2b-256 9a56cd007ce840642fb0c8976385f1af6e83215cca5b86b4d86767d0263d969e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page