Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/source/samples/NeuralNetwork/concat_multi_input.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ Source code

.. tab:: Python

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

.. literalinclude:: ../../../../examples/NeuralNetwork/concat_multi_input.py
:language: python
:linenos:

.. tab:: C++

Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/concat_multiple_input.cpp>`__
Also `available on GitHub <https://github.com/luxonis/depthai-core/tree/main/examples/NeuralNetwork/concat_multiple_input.cpp>`__

.. literalinclude:: ../../../../depthai-core/examples/NeuralNetwork/concat_multi_input.cpp
:language: cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ Source code

.. tab:: Python

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

.. literalinclude:: ../../../../examples/NeuralNetwork/normalization_multi_input.py
:language: python
:linenos:

.. tab:: C++

Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/normalization_multiple_input.cpp>`__
Also `available on GitHub <https://github.com/luxonis/depthai-core/tree/main/examples/NeuralNetwork/normalization_multiple_input.cpp>`__

.. literalinclude:: ../../../../depthai-core/examples/NeuralNetwork/normalization_multi_input.cpp
:language: cpp
Expand Down
7 changes: 5 additions & 2 deletions docs/source/tutorials/maximize_fov.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ Change aspect ratio

Use :code:`camRgb.setPreviewKeepAspectRatio(False)`. This means the aspect ratio will not be preserved and the image
will be "stretched". This might be problematic for some off-the-shelf NN models, so model fine-tuning it might be required.
`Usage example here <https://github.com/luxonis/depthai-python/blob/main/examples/rgb_mobilenet_4k.py#L42>`__.
`Usage example here <https://github.com/luxonis/depthai-experiments/blob/master/gen2-lossless-zooming/main.py#L19>`__.

.. image:: https://user-images.githubusercontent.com/18037362/144095838-d082040a-9716-4f8e-90e5-15bcb23115f9.gif
:target: https://youtu.be/8X0IcnkeIf8

Letterboxing
************
Expand All @@ -26,7 +29,7 @@ the size of the image and apply "black bars" above and below the image, so the a
achieve this by using :ref:`ImageManip` with :code:`manip.setResizeThumbnail(x,y)` (for Mobilenet :code:`x=300,y=300`).
The downside of using this method is that your actual image will be smaller, so some features might not be preserved,
which can mean the NN accuracy could decrease.
`Usage example here <https://github.com/luxonis/depthai-python/blob/main/examples/object_tracker_video.py#L44>`__.
`Usage example here <https://github.com/luxonis/depthai-experiments/blob/master/gen2-full-fov-nn/main.py#L28>`__.

.. image:: /_static/images/tutorials/fov.jpeg

3 changes: 1 addition & 2 deletions docs/source/tutorials/multiple.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ on different DepthAI/uAI models.
Specifying POE device to be used
********************************

You can specify the POE device to be used by the IP address as well. Here's the `code snippet <https://docs.luxonis.com/en/latest/pages/tutorials/getting-started-with-poe/#manually-specify-device-ip>`__.

You can specify the POE device to be used by the IP address as well. Here's the `code snippet <https://docs.luxonis.com/projects/hardware/en/latest/pages/guides/getting-started-with-poe.html#manually-specify-device-ip>`__.

Now use as many DepthAI devices as you need!

Expand Down