Low Latency

These tables show what performance you can expect from USB 3.2 Gen 1 (5 Gbps) connection with an OAK camera. XLink chunking was disabled for these tests (pipeline.setXLinkChunkSize(0)).

What

Resolution

FPS

FPS set

Time-to-Host [ms]

Bandwidth

Histogram

Color (isp)

1080P

60

60

33

1.5 Gbps

link

Color (isp)

4K

28.5

30

150

2.8 Gbps

link

Mono

720P/800P

120

120

24.5

442/482 Mbps

link

Mono

400P

120

120

7.5

246 Mbps

link

  • Time-to-Host is measured time between frame timestamp (imgFrame.getTimestamp()) and host timestamp when the frame is received (dai.Clock.now()).

  • Histogram shows how much Time-to-Host varies frame to frame. Y axis represents number of frame that occured at that time while the X axis represents microseconds.

  • Bandwidth is calculated bandwidth required to stream specified frames at specified FPS.

Encoded frames

What

Resolution

FPS

FPS set

Time-to-Host [ms]

Histogram

Color video H.265

4K

28.5

30

210

link

Color video MJPEG

4K

30

30

71

link

Color video H.265

1080P

60

60

42

link

Color video MJPEG

1080P

60

60

31

link

Mono H.265

800P

60

60

23.5

link

Mono MJPEG

800P

60

60

22.5

link

Mono H.265

400P

120

120

7.5

link

Mono MJPEG

400P

120

120

7.5

link

You can also reduce frame latency by using Zero-Copy branch of the DepthAI.

Got questions?

We’re always happy to help with code or other questions you might have.