.. Luxonis Docs documentation master file, created by sphinx-quickstart on Tue Nov 3 14:34:56 2020. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. DepthAI API Documentation ========================= .. .. image:: https://github.com/luxonis/depthai-python/workflows/Python%20Wheel%20CI/badge.svg?branch=gen2_develop :target: https://github.com/luxonis/depthai-python/actions?query=workflow%3A%22Python+Wheel+CI%22+branch%3A%22gen2_develop%22 DepthAI API allows users to connect to, configure and communicate with their OAK devices. We support both :ref:`Python API ` and :ref:`C++ API `. .. image:: /_static/images/api_diagram.png - **Host side** is a computer, like PC or RPi, to which an OAK device is connected. - **Device side** is the OAK device itself. If something is happening on the device side, it means that it's running on the Robotics Vision Core (`RVC `__). More :ref:`information here `. - **Pipeline** is a complete workflow on the device side, consisting of :ref:`nodes ` and connections between them. More :ref:`information here `. - **Node** is a single functionality of the DepthAI. :ref:`Nodes` have inputs or outputs, and have configurable properties (like resolution on the camera node). - **Connection** is a link between one node's output and another one's input. In order to define the pipeline dataflow, the connections define where to send :ref:`messages ` in order to achieve an expected result - **XLink** is a middleware that is capable to exchange data between device and host. :ref:`XLinkIn` node allows sending the data from the host to a device, while :ref:`XLinkOut` does the opposite. - **Messages** are transferred between nodes, as defined by a connection. More :ref:`information here `. .. image:: https://user-images.githubusercontent.com/18037362/179389982-16711c75-42f1-4a96-9259-7113802d0104.png Above there's a graph representation of a (more complex) 2-stage pipeline of the `age-gender recognition demo `__. Graph contains different :ref:`Nodes` connected (linked) to each other. `DepthAI Pipeline Graph `__ tool was used to generate this image. Getting started --------------- First, you need to `install the DepthAI `__ library and its dependencies. After installation, you can continue with an insightful :ref:`Hello World tutorial `, or with :ref:`code examples `, where different node functionalities are presented with code. .. include:: /includes/footer-short.rst .. toctree:: :maxdepth: 0 :hidden: :caption: Content: Home .. toctree:: :maxdepth: 1 :hidden: :caption: Components: components/device.rst components/bootloader.rst components/pipeline.rst components/nodes.rst components/messages.rst .. toctree:: :maxdepth: 1 :hidden: :caption: Code: tutorials/code_samples.rst Experiments (Gitee) .. toctree:: :maxdepth: 1 :hidden: :caption: Tutorials: tutorials/standalone_mode.rst tutorials/message_syncing.rst tutorials/configuring-stereo-depth.rst tutorials/multiple.rst tutorials/maximize_fov.rst tutorials/debugging.rst tutorials/ram_usage.rst tutorials/dispaying_detections.rst tutorials/image_quality.rst tutorials/low-latency.rst tutorials/hello_world.rst .. toctree:: :maxdepth: 1 :hidden: :caption: References: references/python.rst references/cpp.rst