Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
add common install file
  • Loading branch information
VanDavv committed Mar 16, 2021
commit 8d236782f627727e71dfafd118e304881655a4ea
11 changes: 11 additions & 0 deletions docs/source/includes/install_from_pypi.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U pip
python3 -m pip install opencv-python
python3 -m pip install -U --force-reinstall depthai


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
10 changes: 1 addition & 9 deletions docs/source/samples/01_rgb_preview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

Source code
###########
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/02_mono_preview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

Source code
###########
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/03_depth_preview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

Source code
###########
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/04_rgb_encoding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

Source code
###########
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/05_rgb_mono_encoding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

Source code
###########
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/06_rgb_full_resolution_saver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

Source code
###########
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/07_mono_full_resolution_saver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

Source code
###########
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/08_rgb_mobilenet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

This example also requires MobilenetSDD blob (:code:`mobilenet.blob` file) to work - you can download it from
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_6shave.blob>`__
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/09_mono_mobilenet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

This example also requires MobilenetSDD blob (:code:`mobilenet.blob` file) to work - you can download it from
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_6shave.blob>`__
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/10_mono_depth_mobilenetssd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

This example also requires MobilenetSDD blob (:code:`mobilenet.blob` file) to work - you can download it from
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_6shave.blob>`__
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/11_rgb_encoding_mono_mobilenet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

This example also requires MobilenetSDD blob (:code:`mobilenet.blob` file) to work - you can download it from
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_6shave.blob>`__
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/12_rgb_encoding_mono_mobilenet_depth.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

This example also requires MobilenetSDD blob (:code:`mobilenet.blob` file) to work - you can download it from
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_6shave.blob>`__
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/13_encoding_max_limit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

Source code
###########
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/14_color_camera_control.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

Source code
###########
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/15_rgb_mobilenet_4k.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

This example also requires MobilenetSDD blob (:code:`mobilenet.blob` file) to work - you can download it from
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_5shave.blob>`__
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/16_device_queue_event.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

Source code
###########
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/17_video_mobilenet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

This example also requires MobilenetSDD blob (:code:`mobilenet.blob` file) and prerecorded video
(:code:`construction_vest.mp4` file) to work - you can download them
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/18_rgb_encoding_mobilenet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

This example also requires MobilenetSDD blob (:code:`mobilenet.blob` file) to work - you can download it from
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_6shave.blob>`__
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/21_mobilenet_decoding_on_device.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

This example also requires MobilenetSDD blob (:code:`mobilenet.blob` file) to work - you can download it from
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_6shave.blob>`__
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/22_tiny_tolo_v3_decoding_on_device.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

This example also requires MobilenetSDD blob (:code:`mobilenet.blob` file) to work - you can download it from
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/tiny-yolo-v3_openvino_2021.2_6shave.blob>`__
Expand Down
10 changes: 1 addition & 9 deletions docs/source/samples/23_autoexposure_roi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,7 @@ Demo
Setup
#####

Please run the following command to install the required dependencies

.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

This example also requires MobilenetSDD blob (:code:`mobilenet.blob` file) to work - you can download it from
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet.blob>`__
Expand Down
11 changes: 1 addition & 10 deletions docs/source/samples/24_opencv_support.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@ Both are displayed using functions `getFrame` and `getCvFrame`.
Setup
#####

Please run the following command to install the required dependencies


.. code-block:: python
:substitutions:

python3 -m pip install -U depthai opencv-python


For additional information, please follow :ref:`Python API installation guide <Installation - Python>`
.. include:: /includes/install_from_pypi.rst

This example also requires MobilenetSDD blob (:code:`mobilenet.blob` file) to work - you can download it from
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet.blob>`__
Expand Down