ToF depth ========= This is a sample code that showcases how to use the ToF sensor. The :ref:`ToF node ` converts raw data from the ToF sensor into a depth map. Demo #### This demo was recorded using the `OAK-D SR PoE `__, that's why we selected CAM_A port on the ToF sensor. .. raw:: html
Setup ##### .. include:: /includes/install_from_pypi.rst Source code ########### .. tabs:: .. tab:: Python Also `available on GitHub `__ .. literalinclude:: ../../../../examples/ToF/tof_depth.py :language: python :linenos: .. tab:: C++ .. Also `available on GitHub `__ .. literalinclude:: ../../../../depthai-core/examples/ToF/tof_depth.cpp :language: cpp :linenos: .. include:: /includes/footer-short.rst