Skip to content

Commit b8d942f

Browse files
author
SzabolcsGergely
committed
Merge remote-tracking branch 'origin/main' into HEAD
2 parents 3c68da8 + b9f3fb6 commit b8d942f

File tree

133 files changed

+1424
-650
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+1424
-650
lines changed

depthai-core

Submodule depthai-core updated 64 files
14.6 KB
Loading
671 KB
Loading
414 KB
Loading
230 KB
Loading

docs/source/components/messages/img_detections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Examples of functionality
99

1010
- :ref:`RGB & MobilenetSSD`
1111
- :ref:`Mono & MobilenetSSD`
12-
- :ref:`RGB & TinyYoloV4 decoding on device`
12+
- :ref:`RGB & Tiny YOLO`
1313

1414
Reference
1515
#########

docs/source/components/nodes/feature_tracker.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ Usage
7575
// You have to use Feature tracker in combination with
7676
// an image frame source - mono/color camera or xlinkIn node
7777

78+
Examples of functionality
79+
#########################
80+
81+
- :ref:`Feature Detector`
82+
- :ref:`Feature Tracker`
83+
7884
Reference
7985
#########
8086

docs/source/components/nodes/script.rst

Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,72 @@ depthai messages and assign data to it, for example:
136136
137137
imgFrame = ImgFrame(300*300*3) # Buffer with 300x300x3 bytes
138138
139+
Available modules and libraries
140+
###############################
141+
142+
.. tabs::
143+
144+
.. tab:: **Modules**
145+
146+
.. code-block::
147+
148+
"posix", "errno", "pwd", "_sre", "_codecs", "_weakref", "_functools", "_operator",
149+
"_collections", "_abc", "itertools", "atexit", "_stat", "time", "_datetime", "math",
150+
"_thread", "_io", "_symtable", "marshal", "_ast", "gc", "_warnings", "_string", "_struct"
151+
152+
.. tab:: **Modules** for **LEON_CSS**
153+
154+
.. code-block::
155+
156+
"binascii", "_random", "_socket", "_md5", "_sha1", "_sha256", "_sha512", "select",
157+
"array", "unicodedata"
158+
159+
.. tab:: **Libraries**
160+
161+
.. code-block::
162+
163+
"__main__", "_collections_abc", "_frozen_importlib", "_frozen_importlib_external",
164+
"_sitebuiltins", "abc", "codecs", "datetime", "encodings", "encodings.aliases",
165+
"encodings.ascii", "encodings.latin_1", "encodings.mbcs", "encodings.utf_8", "genericpath",
166+
"io", "os", "posixpath", "site", "stat", "threading", "types", "struct", "copyreg",
167+
"reprlib", "operator", "keyword", "heapq", "collections", "functools", "sre_constants",
168+
"sre_parse", "sre_compile", "enum", "re", "json", "json.decoder", "json.encoder",
169+
"json.scanner", "textwrap"
170+
171+
.. tab:: **Libraries** for **LEON_CSS**
172+
173+
.. code-block::
174+
175+
"http", "http.client", "http.server", "html", "mimetypes", "copy", "shutil", "fnmatch",
176+
"socketserver", "contextlib", "email", "email._encoded_words", "email._header_value_parser",
177+
"email._parseaddr", "email._policybase", "email.base64mime", "email.charset",
178+
"email.contentmanager", "email.encoders", "email.errors", "email.feedparser",
179+
"email.generator", "email.header", "email.headerregistry", "email.iterators", "email.message",
180+
"email.parser", "email.policy", "email.quoprimime", "email.utils", "string", "base64",
181+
"quopri", "random", "warnings", "bisect", "hashlib", "logging", "traceback", "linecache",
182+
"socket", "token", "tokenize", "weakref", "_weakrefset", "collections.abc", "selectors",
183+
"urllib", "urllib.parse", "calendar", "locale", "uu", "encodings.idna", "stringprep"
184+
185+
The **difference between module and library** is that module is a precompiled C source with Python bindings, whereas library is Python source code
186+
packed into a library and precompiled into Python bytecode (before loaded into our Firmware).
187+
188+
**Networking/protocol modules/libraries** that are available on the LEON_CSS **can only be used on** `OAK POE device <https://docs.luxonis.com/projects/hardware/en/latest/#poe-designs>`__.
189+
You can specify on which processor the script will run, eg. for LEON_CSS:
190+
191+
.. code-block:: python
192+
193+
script = pipeline.create(dai.node.Script)
194+
script.setProcessor(dai.ProcessorType.LEON_CSS)
139195
140196
Examples of functionality
141197
#########################
142198

143-
- :ref:`Script camera control`
199+
- :ref:`Script camera control` - Controlling the camera
200+
- :ref:`Script get local IP` - Get local IP
201+
- :ref:`Script HTTP client` - Send HTTP request
202+
- :ref:`Script HTTP server` - still image over HTTP
203+
- :ref:`Script MJPEG server` - MJPEG video stream over HTTP
204+
- :ref:`Script NNData example` - Constructs :ref:`NNData`
144205
- `Triangulation experiment <https://github.com/luxonis/depthai-experiments/blob/master/gen2-triangulation/main.py>`__
145206
- `Movenet decoding (edge mode) <https://github.com/geaxgx/depthai_movenet/blob/main/template_processing_script.py>`__ - A bit more complex example by geaxgx
146207

docs/source/components/nodes/yolo_detection_network.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ Usage
7878
Examples of functionality
7979
#########################
8080

81-
- :ref:`RGB & TinyYoloV3 decoding on device`
82-
- :ref:`RGB & TinyYoloV4 decoding on device`
81+
- :ref:`RGB & Tiny YOLO`
8382

8483
Reference
8584
#########

docs/source/install.rst

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Platform Instructions Support
2121
======================== ============================================== ================================================================================
2222
Windows 10 :ref:`Platform dependencies <Windows 10>` `Discord <https://discord.com/channels/790680891252932659/798284448323731456>`__
2323
macOS :ref:`Platform dependencies <macOS>` `Discord <https://discord.com/channels/790680891252932659/798283911989690368>`__
24-
Ubuntu & Jetson/Xavier :ref:`Platform dependencies <Ubuntu>` `Discord <https://discord.com/channels/790680891252932659/798302162160451594>`__
24+
Ubuntu :ref:`Platform dependencies <Ubuntu>` `Discord <https://discord.com/channels/790680891252932659/798302162160451594>`__
2525
Raspberry Pi OS :ref:`Platform dependencies <Raspberry Pi OS>` `Discord <https://discord.com/channels/790680891252932659/798302708070350859>`__
26-
Jestson Nano :ref:`Platform dependencies <Jetson Nano>` `Discord <https://discord.com/channels/790680891252932659/795742008119132250>`__
26+
Jestson Nano/Xavier :ref:`Platform dependencies <Jetson>` `Discord <https://discord.com/channels/790680891252932659/795742008119132250>`__
2727
======================== ============================================== ================================================================================
2828

2929
And the following platforms are also supported by a combination of the community and Luxonis.
@@ -63,8 +63,6 @@ See the `Video preview window fails to appear on macOS <https://discuss.luxonis.
6363
Ubuntu
6464
******
6565

66-
These Ubuntu instructions also work for the **Jetson** and **Xavier** series.
67-
6866
.. code-block:: bash
6967
7068
sudo wget -qO- http://docs.luxonis.com/_static/install_dependencies.sh | bash
@@ -86,11 +84,11 @@ Raspberry Pi OS
8684
sudo curl -fL http://docs.luxonis.com/_static/install_dependencies.sh | bash
8785
8886
89-
Jetson Nano
90-
***********
87+
Jetson
88+
******
9189

92-
To install DepthAI on Jetson Nano, perform the following steps, after completing a fresh install and setup. On the first log in,
93-
**do not** immediately run updates.
90+
To install DepthAI on `Jetson Nano <https://developer.nvidia.com/embedded/jetson-nano-developer-kit>`__ or `Jetson Xavier <https://developer.nvidia.com/embedded/jetson-xavier-nx-devkit>`__,
91+
perform the following steps, after completing a fresh install and setup. On the first log in, **do not** immediately run updates.
9492

9593
This first step is optional: go to the *Software* (App Store) and delete the apps or software that you probably will not use.
9694

@@ -101,7 +99,7 @@ Open a terminal window and run the following commands:
10199
sudo apt update && sudo apt upgrade
102100
sudo reboot now
103101
104-
Change the size of your SWAP. These instructions come from the `Getting Started with AI on Jetson Nano <https://developer.nvidia.com/embedded/learn/jetson-ai-certification-programs>`__ from nvidia:
102+
Change the size of your SWAP. These instructions come from the `Getting Started with AI on Jetson <https://developer.nvidia.com/embedded/learn/jetson-ai-certification-programs>`__ from Nvidia:
105103

106104
.. code-block:: bash
107105

0 commit comments

Comments
 (0)