Spatial Calculator Multi-ROI ============================ This example shows how one can use multiple ROIs with a single :ref:`SpatialLocationCalculator` node. A similar logic could be used as a simple depth line scanning camera for mobile robots. .. rubric:: Similar samples: - :ref:`Spatial location calculator` Demo #### .. image:: https://user-images.githubusercontent.com/18037362/231822498-6e3699a0-039e-424b-acb2-b246575e91ee.png Setup ##### .. include:: /includes/install_from_pypi.rst Source code ########### .. tabs:: .. tab:: Python Also `available on GitHub `__ .. literalinclude:: ../../../../examples/SpatialDetection/spatial_calculator_multi_roi.py :language: python :linenos: .. tab:: C++ Also `available on GitHub `__ .. literalinclude:: ../../../../depthai-core/examples/SpatialDetection/spatial_calculator_multi_roi.cpp :language: cpp :linenos: .. include:: /includes/footer-short.rst