Calibration Reader
==================

This example shows how to read calibration data stored on device over XLink. This example will print camera extrinsic and instrinsic parameters, along with other calibration values written on device (EEPROM).

.. rubric:: Similar samples:

- :ref:`Calibration Flash v5`
- :ref:`Calibration Flash`
- :ref:`Calibration Load`

Setup
#####

.. include::  /includes/install_from_pypi.rst

Source code
###########

.. tabs::

    .. tab:: Python

        Also `available on GitHub <https://github.com/luxonis/depthai-python/blob/main/examples/calibration/calibration_reader.py>`__

        .. literalinclude:: ../../../../examples/calibration/calibration_reader.py
           :language: python
           :linenos:

    .. tab:: C++

        Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/calibration/calibration_reader.cpp>`__

        .. literalinclude:: ../../../../depthai-core/examples/calibration/calibration_reader.cpp
           :language: cpp
           :linenos:

.. include::  /includes/footer-short.rst
