Skip to content

Commit 994e192

Browse files
committed
Update low latency docs, added usb comparisons
1 parent 125cbfe commit 994e192

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

docs/source/tutorials/low-latency.rst

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ Low Latency
44
These tables show what performance you can expect from **USB 3.2** Gen 1 (5 Gbps) connection with an OAK camera. XLink chunking was
55
disabled for these tests (:code:`pipeline.setXLinkChunkSize(0)`). For an example code, see :ref:`Latency measurement`.
66

7-
.. list-table::
7+
.. list-table:: USB 5gbps latency
88
:header-rows: 1
99

1010
* - What
1111
- Resolution
1212
- FPS
1313
- FPS set
14-
- Time-to-Host [ms]
14+
- Latency [ms]
1515
- Bandwidth
1616
- Histogram
1717
* - Color (isp)
@@ -43,9 +43,9 @@ disabled for these tests (:code:`pipeline.setXLinkChunkSize(0)`). For an example
4343
- 246 Mbps
4444
- `link <https://user-images.githubusercontent.com/18037362/162675393-e3fb08fb-0f17-49d0-85d0-31ae7b5af0f9.png>`__
4545

46-
Below are the same tests, but with **OAK PoE** camera, which uses Gigabit ethernet link. The camera was connected directly to the computer,
46+
Below are the same tests, but also with **OAK PoE** camera, which uses Gigabit ethernet link. The camera was connected directly to the computer,
4747
without any switches or routers in between. Power was supplied via M8 connector. `oak_bandwidth_test.py <https://github.com/luxonis/depthai-experiments/tree/master/random-scripts#oak-bandwidth-test>`__ results: 797 mbps downlink, 264 mbps uplink.
48-
`oak_latency_test.py <https://github.com/luxonis/depthai-experiments/tree/master/random-scripts#oak-latency-test>`__ results: Average: 5.2 ms, Std: 6.2
48+
`oak_latency_test.py <https://github.com/luxonis/depthai-experiments/tree/master/random-scripts#oak-latency-test>`__ results: Average: 5.2 ms, Std: 6.2.
4949

5050
.. list-table::
5151
:header-rows: 1
@@ -54,41 +54,49 @@ without any switches or routers in between. Power was supplied via M8 connector.
5454
- Resolution
5555
- FPS
5656
- FPS set
57-
- Time-to-Host [ms]
57+
- PoE Latency [ms]
58+
- USB Latency [ms]
5859
- Bandwidth
5960
* - Color (isp)
6061
- 1080P
6162
- 25
6263
- 25
6364
- 51
65+
- 19.2 Std: 0.25
6466
- 622 Mbps
6567
* - Color (isp)
6668
- 4K
6769
- 8
6870
- 8
6971
- 148
72+
- 19.4 Std: 0.6
7073
- 530 Mbps
7174
* - Color (isp)
7275
- 4K
7376
- 8.5
7477
- 10
7578
- 530
79+
- 19.4 Std: 0.6
7680
- 663 Mbps
7781
* - Mono
7882
- 400P
7983
- 90
8084
- 90
81-
- Avrg: 12 (Std: 5.0)
85+
- 12 Std: 5.0
86+
- 8 Std: 0.47
8287
- 184 Mbps
8388
* - Mono
8489
- 400P
8590
- 110
8691
- 110
87-
- Avrg: 16 (Std: 9.4)
92+
- 16 Std: 9.4
93+
- 8 Std: 0.45
8894
- 225 Mbps
8995

96+
We set lower FPS for the POE measurements due to bandwidth constraints. For example, 4K 8 FPS was 150ms latency, while
97+
4K 10FPS had 530ms latency, as link was saturated.
9098

91-
- **Time-to-Host** is measured time between frame timestamp (:code:`imgFrame.getTimestamp()`) and host timestamp when the frame is received (:code:`dai.Clock.now()`).
99+
- **Latency** is measured time between frame timestamp (:code:`imgFrame.getTimestamp()`) and host timestamp when the frame is received (:code:`dai.Clock.now()`).
92100
- **Histogram** shows how much Time-to-Host varies frame to frame. Y axis represents number of frame that occurred at that time while the X axis represents microseconds.
93101
- **Bandwidth** is calculated bandwidth required to stream specified frames at specified FPS.
94102

0 commit comments

Comments
 (0)