Skip to content

Commit 4e9ae94

Browse files
authored
Merge branch 'main' into xavier_installation
2 parents 3fa9801 + 6679f92 commit 4e9ae94

File tree

132 files changed

+1417
-641
lines changed

Some content is hidden

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

132 files changed

+1417
-641
lines changed

depthai-core

Submodule depthai-core updated 63 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/samples/autoexposure_roi.rst renamed to docs/source/samples/ColorCamera/autoexposure_roi.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ Source code
3737

3838
.. tab:: Python
3939

40-
Also `available on GitHub <https://github.com/luxonis/depthai-python/blob/main/examples/rgb_preview.py>`__
40+
Also `available on GitHub <https://github.com/luxonis/depthai-python/blob/main/examples/ColorCamera/autoexposure_roi.py>`__
4141

42-
.. literalinclude:: ../../../examples/autoexposure_roi.py
42+
.. literalinclude:: ../../../../examples/ColorCamera/autoexposure_roi.py
4343
:language: python
4444
:linenos:
4545

0 commit comments

Comments
 (0)