Mono Preview ============ This example shows how to set up a pipeline that outputs the left and right grayscale camera images, connects over XLink to transfer these to the host real-time, and displays both using OpenCV. .. rubric:: Similar samples: - :ref:`RGB Preview` - :ref:`Depth Preview` Demo #### .. raw:: html
Setup ##### .. include:: /includes/install_from_pypi.rst Source code ########### .. tabs:: .. tab:: Python Also `available on GitHub `__ .. literalinclude:: ../../../../examples/MonoCamera/mono_preview.py :language: python :linenos: .. tab:: C++ Also `available on GitHub `__ .. literalinclude:: ../../../../depthai-core/examples/MonoCamera/mono_preview.cpp :language: cpp :linenos: .. include:: /includes/footer-short.rst