Skip to content

Commit 3d86fe9

Browse files
authored
Merge pull request #580 from luxonis/docker_docs_fix
Updated docker run command
2 parents 4f7c2ed + 1960788 commit 3d86fe9

18 files changed

+21
-38
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This example script **requires external file(s) to run**. If you are using:
2+
3+
- depthai-python, run :code:`python3 examples/install_requirements.py` to download required file(s)
4+
- dephtai-core, required file(s) will get downloaded automatically when building the example

docs/source/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ Run the :code:`rgb_preview.py` example inside a Docker container on a Linux host
277277
-e DISPLAY=$DISPLAY \
278278
-v /tmp/.X11-unix:/tmp/.X11-unix \
279279
luxonis/depthai-library:latest \
280-
python3 /depthai-python/examples/rgb_preview.py
280+
python3 /depthai-python/examples/ColorCamera/rgb_preview.py
281281
282282
To allow the container to update X11 you may need to run :code:`xhost local:root` on the host.
283283

docs/source/samples/ColorCamera/autoexposure_roi.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ Setup
2727

2828
.. include:: /includes/install_from_pypi.rst
2929

30-
This example also requires MobilenetSDD blob (:code:`mobilenet-ssd_openvino_2021.2_5shave.blob` file) to work - you can download it from
31-
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_5shave.blob>`__
30+
.. include:: /includes/install_req.rst
3231

3332
Source code
3433
###########

docs/source/samples/MobileNet/mono_mobilenet.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ Setup
2525

2626
.. include:: /includes/install_from_pypi.rst
2727

28-
This example also requires MobilenetSDD blob (:code:`mobilenet-ssd_openvino_2021.2_6shave.blob` file) to work - you can download it from
29-
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_6shave.blob>`__
28+
.. include:: /includes/install_req.rst
3029

3130
Source code
3231
###########

docs/source/samples/MobileNet/rgb_mobilenet.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ Setup
2525

2626
.. include:: /includes/install_from_pypi.rst
2727

28-
This example also requires MobilenetSDD blob (:code:`mobilenet-ssd_openvino_2021.2_6shave.blob` file) to work - you can download it from
29-
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_6shave.blob>`__
28+
.. include:: /includes/install_req.rst
3029

3130
Source code
3231
###########

docs/source/samples/MobileNet/rgb_mobilenet_4k.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ Setup
2929

3030
.. include:: /includes/install_from_pypi.rst
3131

32-
This example also requires MobilenetSDD blob (:code:`mobilenet-ssd_openvino_2021.2_5shave.blob` file) to work - you can download it from
33-
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_5shave.blob>`__
32+
.. include:: /includes/install_req.rst
3433

3534
Source code
3635
###########

docs/source/samples/MobileNet/video_mobilenet.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ Setup
2727

2828
.. include:: /includes/install_from_pypi.rst
2929

30-
This example also requires MobilenetSDD blob (:code:`mobilenet-ssd_openvino_2021.2_8shave.blob` file) and prerecorded video
31-
(:code:`construction_vest.mp4` file) to work - you can download them
32-
here: `mobilenet-ssd_openvino_2021.2_8shave.blob <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_8shave.blob>`__
33-
and `construction_vest.mp4 <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/construction_vest.mp4>`__
30+
.. include:: /includes/install_req.rst
3431

3532
Source code
3633
###########

docs/source/samples/ObjectTracker/object_tracker.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ Setup
2424

2525
.. include:: /includes/install_from_pypi.rst
2626

27-
This example also requires MobilenetSDD blob (:code:`mobilenet.blob` file) to work - you can download it from
28-
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_6shave.blob>`__
27+
.. include:: /includes/install_req.rst
2928

3029
Source code
3130
###########

docs/source/samples/ObjectTracker/object_tracker_video.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ Setup
1717

1818
.. include:: /includes/install_from_pypi.rst
1919

20-
This example also requires MobilenetSDD based person-detection blob (:code:`person-detection-0201_openvino_2021.3_7shave.blob` file) to work - you can download it from
21-
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/person-detection-0201_openvino_2021.3_7shave.blob>`__
20+
.. include:: /includes/install_req.rst
2221

2322
Source code
2423
###########

docs/source/samples/ObjectTracker/spatial_object_tracker.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ Setup
1919

2020
.. include:: /includes/install_from_pypi.rst
2121

22-
This example also requires MobilenetSDD blob (:code:`mobilenet.blob` file) to work - you can download it from
23-
`here <https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_6shave.blob>`__
22+
.. include:: /includes/install_req.rst
2423

2524
Source code
2625
###########

0 commit comments

Comments
 (0)