Skip to content

Commit abfb475

Browse files
committed
Changed SLC docs
1 parent 9623e6a commit abfb475

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/source/components/nodes/spatial_location_calculator.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
SpatialLocationCalculator
22
=========================
33

4-
SpatialLocationCalculator will calculate the depth based on the :code:`depth` map from the :code:`inputDepth` and ROI (region-of-interest)
5-
provided from the :code:`inputConfig`. It will average the depth values in the ROI and remove the ones out of range.
4+
**SpatialLocationCalculator node** calculates the spatial coordinates of the ROI (region-of-interest) based on the
5+
:code:`depth` map from the :code:`inputDepth`. It will average the depth values in the ROI and remove the ones out of range.
6+
7+
You can also calculate spatial coordiantes on host side, `demo here <https://github.com/luxonis/depthai-experiments/tree/master/gen2-calc-spatials-on-host>`__.
8+
The demo also has the same logic that's performed on the device (:code:`calc.py` file).
9+
10+
.. image:: https://user-images.githubusercontent.com/18037362/146296930-9e7071f5-33b9-45f9-af21-cace7ffffc0f.gif
611

712
How to place it
813
###############

docs/source/samples/SpatialDetection/spatial_location_calculator.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Spatial location calculator
44
This example shows how to retrieve spatial location data (X,Y,Z) on a runtime configurable ROI. You can move the ROI using WASD keys.
55
X,Y,Z coordinates are relative to the center of depth map.
66

7-
setConfidenceThreshold - confidence threshold above which objects are detected
7+
You can also calculate spatial coordiantes on host side, `demo here <https://github.com/luxonis/depthai-experiments/tree/master/gen2-calc-spatials-on-host>`__.
88

99
.. rubric:: Similar samples:
1010

0 commit comments

Comments
 (0)