Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
62db8e0
Adding micropython.
Feb 19, 2021
f1c4b9c
Merge branch 'gen2_develop' into gen2_micropython
themarpe Feb 21, 2021
423b72c
Pipeline::create and dai.node submodule capability
themarpe Feb 22, 2021
0d5ecd3
Added Node::InputMap and Node::OutputMap
themarpe Feb 22, 2021
57fdd1c
Checking in micropython asset changes.
Mar 30, 2021
5a59aae
Adding load method for assetManager.
Mar 31, 2021
f47c954
Renaming MicroPython node to LxScript.
Mar 31, 2021
27c061c
Merge branch 'develop' into gen2_micropython
themarpe Apr 3, 2021
49112fb
Improved documentation resolvment and 'pipeline.create'
themarpe Apr 3, 2021
9b77f1b
Added a simple scripting example
themarpe Apr 4, 2021
0f0c284
Updated core
themarpe Apr 4, 2021
dee4947
Renamed node 'LxScript' to 'Script' and deprecated pipeline.create[No…
themarpe Apr 4, 2021
be5c18d
Releasing GIL on long function calls
themarpe Apr 6, 2021
9873cee
Updating firmware and adding a check to raw PoBuf parsing.
Apr 7, 2021
32b38e5
Update firmware (bug with multiple scripting nodes).
Apr 9, 2021
8c8e756
Updated core
themarpe Apr 13, 2021
8c9d95e
Updating firmware (Fixing datetime on ImgFrame::getTimestamp)
Apr 14, 2021
ee51e73
Changes to get SPIIn working (WIP)
Apr 28, 2021
4b6f3a1
Merge branch 'develop' into gen2_scripting
themarpe May 11, 2021
fb07a12
Merge branch 'develop' into develop_spi_in
themarpe May 17, 2021
06de59f
Fixed some SPIIn documentation
themarpe May 18, 2021
850ca14
CI fix for docstring build
themarpe May 18, 2021
f315eff
Removed temporary development settings
themarpe May 18, 2021
64ef69c
Reverted CI docstring changes
themarpe May 18, 2021
c90abbb
Updated core
themarpe Jun 11, 2021
efb992b
Merge branch 'develop' into gen2_scripting
themarpe Jun 24, 2021
761d5e6
Updated core
themarpe Jun 24, 2021
7baf504
Update core
SzabolcsGergely Jun 25, 2021
c30993d
Updated core with Script improvements
themarpe Jun 26, 2021
c116e8b
Merge branch 'gen2_scripting' of github.com:luxonis/depthai-python in…
themarpe Jun 26, 2021
5cdb746
Merge remote-tracking branch 'origin/develop' into gen2_scripting
alex-luxonis Jun 30, 2021
80374c0
Merge branch 'develop' into gen2_scripting
themarpe Jul 15, 2021
2fcf18a
Updated core
themarpe Jul 15, 2021
eb25094
Updated core
themarpe Jul 16, 2021
4ad4bd8
Updated core
themarpe Jul 16, 2021
b5e69c4
Merge branch 'develop' into gen2_scripting
themarpe Jul 19, 2021
2068884
Updated EdgeDetector docs
themarpe Jul 19, 2021
6c55249
Updated core
themarpe Jul 19, 2021
b6eeee5
Merge branch 'develop' into gen2_scripting
themarpe Jul 20, 2021
62faa23
Updated pybind11 to 2.7.0, modifed example and fixed some bindings
themarpe Jul 21, 2021
eba4870
Added script node docs
Erol444 Jul 22, 2021
c140095
Added demo gif
Erol444 Jul 22, 2021
44131ec
Merge branch 'develop' into develop_spi_in
themarpe Jul 22, 2021
061b47d
Added bindings for properties
themarpe Jul 23, 2021
d7861f0
Merge branch 'develop_spi_in' into develop
themarpe Jul 23, 2021
af473de
Merge branch 'develop' of github.com:luxonis/depthai-python into develop
themarpe Jul 23, 2021
73551d0
Merge branch 'develop' into gen2_scripting
themarpe Jul 23, 2021
bfd8922
Updated script node docs - PR review suggestions
Erol444 Jul 23, 2021
4aa7235
Merge remote-tracking branch 'origin/scripting_docs' into gen2_scripting
themarpe Jul 23, 2021
9b04a43
Merge branch 'gen2_scripting' into develop
themarpe Jul 23, 2021
f945b2f
Added a callstack and refactored all bindings to use two stage binding
themarpe Jul 23, 2021
4f8b66e
Merge branch 'two_stage_bindings' into develop
themarpe Jul 24, 2021
eb60e7f
Added documentation for bootloader_version example
themarpe Jul 27, 2021
eb35106
Added C++14 flag for pybind11_mkdoc
themarpe Jul 28, 2021
d320303
Added demo output to the bootloader docs
Erol444 Jul 29, 2021
0303619
Merge remote-tracking branch 'origin/bootloader_version_docs' into de…
themarpe Jul 29, 2021
0c18901
Merge branch 'main' into develop
themarpe Aug 6, 2021
6f7a58e
Added Script Properties alias
themarpe Aug 6, 2021
1c39286
Updated core
themarpe Aug 6, 2021
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
8 changes: 4 additions & 4 deletions cmake/Hunter/config.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Temporary pybind11 2.6.3dev1 chrono bindings patch
# Pybind11 2.7.0
hunter_config(
pybind11
VERSION "2.6.3dev1"
URL "https://github.com/pybind/pybind11/archive/54430436fee2afc4f8443691075a6208f9ea8eba.tar.gz"
SHA1 "c8550f7d77e92045c996d17f1d214223d1e2e620"
VERSION "2.7.0"
URL "https://github.com/pybind/pybind11/archive/refs/tags/v2.7.0.tar.gz"
SHA1 "3a7010e5952c56e08c8f9b7d6fb458a173fd585a"
)
2 changes: 2 additions & 0 deletions cmake/pybind11-mkdoc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ function(pybind11_mkdoc_setup_internal target output_path mkdoc_headers enforce)
# Docstring wrap width
-w 80
-o "${output_path}"
# C++ standard
-std=c++14
# List of include directories
"-I$<JOIN:$<TARGET_PROPERTY:${target},INTERFACE_INCLUDE_DIRECTORIES>,;-I>"
# List of compiler definitions
Expand Down
2 changes: 1 addition & 1 deletion depthai-core
Submodule depthai-core updated 37 files
+2 −0 CMakeLists.txt
+1 −1 cmake/Depthai/DepthaiDeviceSideConfig.cmake
+14 −3 cmake/Hunter/config.cmake
+28 −19 examples/CMakeLists.txt
+0 −1 examples/src/calibration_flash.cpp
+0 −1 examples/src/calibration_flash_v5.cpp
+6 −5 examples/src/depth_crop_control.cpp
+1 −1 examples/src/image_manip_example.cpp
+65 −0 examples/src/image_manip_rotate.cpp
+57 −0 examples/src/image_manip_tiling.cpp
+3 −3 examples/src/object_tracker_video.cpp
+45 −0 examples/src/script_camera_control.cpp
+1 −1 include/depthai/device/CalibrationHandler.hpp
+1 −1 include/depthai/device/DeviceBootloader.hpp
+24 −12 include/depthai/pipeline/AssetManager.hpp
+48 −29 include/depthai/pipeline/Node.hpp
+0 −6 include/depthai/pipeline/Pipeline.hpp
+0 −6 include/depthai/pipeline/node/NeuralNetwork.hpp
+70 −0 include/depthai/pipeline/node/SPIIn.hpp
+9 −5 include/depthai/pipeline/node/SPIOut.hpp
+86 −0 include/depthai/pipeline/node/Script.hpp
+3 −1 include/depthai/pipeline/nodes.hpp
+1 −0 include/depthai/utility/LockingQueue.hpp
+1 −1 shared/depthai-shared
+1 −1 src/device/Device.cpp
+1 −1 src/device/DeviceBootloader.cpp
+46 −17 src/pipeline/AssetManager.cpp
+91 −4 src/pipeline/Node.cpp
+19 −46 src/pipeline/Pipeline.cpp
+10 −5 src/pipeline/datatype/ImageManipConfig.cpp
+8 −2 src/pipeline/datatype/StreamPacketParser.cpp
+3 −0 src/pipeline/node/DetectionNetwork.cpp
+7 −34 src/pipeline/node/NeuralNetwork.cpp
+58 −0 src/pipeline/node/SPIIn.cpp
+79 −0 src/pipeline/node/Script.cpp
+2 −4 src/pipeline/node/StereoDepth.cpp
+3 −3 src/utility/Initialization.cpp
2 changes: 2 additions & 0 deletions docs/source/components/bootloader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ or update the bootloader itself.
progressCb parameter takes a callback function, which will be called each time an progress update occurs (rate limited to 1 second). This is mainly
used to inform the user of the current flashing progress.

You can also check the version of the current bootloader by using the :ref:`Bootloader Version` example.

DepthAI Application Package (.dap)
##################################

Expand Down
6 changes: 3 additions & 3 deletions docs/source/components/nodes/color_camera.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ How to place it
.. code-tab:: py

pipeline = dai.Pipeline()
cam = pipeline.createColorCamera()
cam = pipeline.create(dai.node.ColorCamera)

.. code-tab:: c++

Expand Down Expand Up @@ -67,7 +67,7 @@ Usage
.. code-tab:: py

pipeline = dai.Pipeline()
cam = pipeline.createColorCamera()
cam = pipeline.create(dai.node.ColorCamera)
cam.setPreviewSize(300, 300)
cam.setBoardSocket(dai.CameraBoardSocket.RGB)
cam.setResolution(dai.ColorCameraProperties.SensorResolution.THE_1080_P)
Expand Down Expand Up @@ -98,7 +98,7 @@ Reference

.. tab:: Python

.. autoclass:: depthai.ColorCamera
.. autoclass:: depthai.node.ColorCamera
:members:
:inherited-members:
:noindex:
Expand Down
6 changes: 3 additions & 3 deletions docs/source/components/nodes/edge_detector.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ How to place it
.. code-tab:: py

pipeline = dai.Pipeline()
edgeDetector = pipeline.createEdgeDetector()
edgeDetector = pipeline.create(dai.node.EdgeDetector)

.. code-tab:: c++

Expand Down Expand Up @@ -48,7 +48,7 @@ Usage
.. code-tab:: py

pipeline = dai.Pipeline()
edgeDetector = pipeline.createEdgeDetector()
edgeDetector = pipeline.create(dai.node.EdgeDetector)

sobelHorizontalKernel = [[1, 0, -1], [2, 0, -2], [1, 0, -1]]
sobelVerticalKernel = [[1, 2, 1], [0, 0, 0], [-1, -2, -1]]
Expand All @@ -75,7 +75,7 @@ Reference

.. tab:: Python

.. autoclass:: depthai.EdgeDetector
.. autoclass:: depthai.node.EdgeDetector
:members:
:inherited-members:
:noindex:
Expand Down
6 changes: 3 additions & 3 deletions docs/source/components/nodes/image_manip.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ How to place it
.. code-tab:: py

pipeline = dai.Pipeline()
manip = pipeline.createImageManip()
manip = pipeline.create(dai.node.ImageManip)

.. code-tab:: c++

Expand Down Expand Up @@ -52,7 +52,7 @@ Usage
.. code-tab:: py

pipeline = dai.Pipeline()
manip = pipeline.createImageManip()
manip = pipeline.create(dai.node.ImageManip)

manip.initialConfig.setResize(300, 300)
manip.initialConfig.setFrameType(dai.ImgFrame.Type.BGR888p)
Expand Down Expand Up @@ -95,7 +95,7 @@ Reference

.. tab:: Python

.. autoclass:: depthai.ImageManip
.. autoclass:: depthai.node.ImageManip
:members:
:inherited-members:
:noindex:
Expand Down
6 changes: 3 additions & 3 deletions docs/source/components/nodes/mobilenet_detection_network.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ How to place it
.. code-tab:: py

pipeline = dai.Pipeline()
mobilenetDet = pipeline.createMobileNetDetectionNetwork()
mobilenetDet = pipeline.create(dai.node.MobileNetDetectionNetwork)

.. code-tab:: c++

Expand Down Expand Up @@ -50,7 +50,7 @@ Usage
.. code-tab:: py

pipeline = dai.Pipeline()
mobilenetDet = pipeline.createMobileNetDetectionNetwork()
mobilenetDet = pipeline.create(dai.node.MobileNetDetectionNetwork)

mobilenetDet.setConfidenceThreshold(0.5)
mobilenetDet.setBlobPath(nnBlobPath)
Expand Down Expand Up @@ -81,7 +81,7 @@ Reference

.. tab:: Python

.. autoclass:: depthai.MobileNetDetectionNetwork
.. autoclass:: depthai.node.MobileNetDetectionNetwork
:members:
:inherited-members:
:noindex:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ How to place it
.. code-tab:: py

pipeline = dai.Pipeline()
mobilenetSpatial = pipeline.createMobileNetSpatialDetectionNetwork()
mobilenetSpatial = pipeline.create(dai.node.MobileNetSpatialDetectionNetwork)

.. code-tab:: c++

Expand Down Expand Up @@ -52,7 +52,7 @@ Usage
.. code-tab:: py

pipeline = dai.Pipeline()
mobilenetSpatial = pipeline.createMobileNetSpatialDetectionNetwork()
mobilenetSpatial = pipeline.create(dai.node.MobileNetSpatialDetectionNetwork)

mobilenetSpatial.setBlobPath(nnBlobPath)
# Will ingore all detections whose confidence is below 50%
Expand Down Expand Up @@ -98,7 +98,7 @@ Reference

.. tab:: Python

.. autoclass:: depthai.MobileNetSpatialDetectionNetwork
.. autoclass:: depthai.node.MobileNetSpatialDetectionNetwork
:members:
:inherited-members:
:noindex:
Expand Down
6 changes: 3 additions & 3 deletions docs/source/components/nodes/mono_camera.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ How to place it
.. code-tab:: py

pipeline = dai.Pipeline()
mono = pipeline.createMonoCamera()
mono = pipeline.create(dai.node.MonoCamera)

.. code-tab:: c++

Expand Down Expand Up @@ -48,7 +48,7 @@ Usage
.. code-tab:: py

pipeline = dai.Pipeline()
mono = pipeline.createMonoCamera()
mono = pipeline.create(dai.node.MonoCamera)
mono.setBoardSocket(dai.CameraBoardSocket.RIGHT)
mono.setResolution(dai.MonoCameraProperties.SensorResolution.THE_720_P)

Expand All @@ -73,7 +73,7 @@ Reference

.. tab:: Python

.. autoclass:: depthai.MonoCamera
.. autoclass:: depthai.node.MonoCamera
:members:
:inherited-members:
:noindex:
Expand Down
8 changes: 4 additions & 4 deletions docs/source/components/nodes/neural_network.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ How to place it
.. code-tab:: py

pipeline = dai.Pipeline()
nn = pipeline.createNeuralNetwork()
nn = pipeline.create(dai.node.NeuralNetwork)

.. code-tab:: c++

Expand Down Expand Up @@ -60,12 +60,12 @@ Usage
.. code-tab:: py

pipeline = dai.Pipeline()
nn = pipeline.createNeuralNetwork()
nn = pipeline.create(dai.node.NeuralNetwork)
nn.setBlobPath(bbBlobPath)
cam.out.link(nn.input)

# Send NN out to the host via XLink
nnXout = pipeline.createXLinkOut()
nnXout = pipeline.create(dai.node.XLinkOut)
nnXout.setStreamName("nn")
nn.out.link(nnXout.input)

Expand Down Expand Up @@ -124,7 +124,7 @@ Reference

.. tab:: Python

.. autoclass:: depthai.NeuralNetwork
.. autoclass:: depthai.node.NeuralNetwork
:members:
:inherited-members:
:noindex:
Expand Down
6 changes: 3 additions & 3 deletions docs/source/components/nodes/object_tracker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ How to place it
.. code-tab:: py

pipeline = dai.Pipeline()
objectTracker = pipeline.createObjectTracker()
objectTracker = pipeline.create(dai.node.ObjectTracker)

.. code-tab:: c++

Expand Down Expand Up @@ -53,7 +53,7 @@ Usage
.. code-tab:: py

pipeline = dai.Pipeline()
objectTracker = pipeline.createObjectTracker()
objectTracker = pipeline.create(dai.node.ObjectTracker)

objectTracker.setDetectionLabelsToTrack([15]) # Track only person
# Possible tracking types: ZERO_TERM_COLOR_HISTOGRAM, ZERO_TERM_IMAGELESS
Expand Down Expand Up @@ -92,7 +92,7 @@ Reference

.. tab:: Python

.. autoclass:: depthai.ObjectTracker
.. autoclass:: depthai.node.ObjectTracker
:members:
:inherited-members:
:noindex:
Expand Down
Loading