🌈
Sensor Stream Pipe
  • What is Sensor Stream Pipe?
  • Getting Started
  • Installation Linux
  • Installation Windows
  • Installation Mac
  • Installation iOS
  • Streaming a Video
  • Streaming with Azure Kinect DK
  • Streaming a Dataset
  • Streaming iOS ARKit RGB-D Data
  • Streaming an OAK-D using Xlink
  • Components Overview
    • Sensor Stream Server
    • Sensor Stream Client
    • Sensor Stream Tester
  • Sending Frames
    • IReaders
    • FrameStruct
    • Config File
    • IEncoders
  • Receiving Frames
    • Receiving Frames
  • How to Extend Sensor Stream Pipe
    • Add New Sensor Interface
Powered by GitBook
On this page

Was this helpful?

  1. Components Overview

Sensor Stream Tester

The Moetsi SSP has been designed to stream your sensor data in real-time. However, as streaming data in real-time is not reproducible, it is hard to test which parameters will work best for you. You need a way to "record results," so to speak. Thus, we built the Moetsi SSP Tester, which enables you to test how various settings and parameters affect latency, bandwidth and quality.

The SSP Tester runs the full encoding process for an existing video or image dataset, and returns metrics for MSE, PSNR, MSSIM. It uses the same configuration file format as the Moetsi ssp_server and supports the same input data and parameters to ensure that the results are comparable.

./bin/ssp_tester <configuration file> (<test time for live data>)

Here is an example of the output for a Kinect DK video (color and depth data) with 20x compression:

...
[statistics];[0]
    [time];[0];32.4667;seconds
    [original_size];[0];240544293;bytes
    [compressed_size];[0];14909024;bytes
    [original_bandwidth];[0];59.2717;Mbps
    [compressed_bandwidth];[0];3.67368;Mbps
    [compression ratio];[0];16.1341;x
    [latency];[0];10.2854;ms
    [PSNR];[0];39.1411
    [MSSIM];[0];0.938965;0.951397;0.93559;0.0
[statistics];[1]
    [time];[1];32.4667;seconds
    [original_size];[1];718110720;bytes
    [compressed_size];[1];51234739;bytes
    [original_bandwidth];[1];176.947;Mbps
    [compressed_bandwidth];[1];12.6246;Mbps
    [compression ratio];[1];14.0161;x
    [latency];[1];8.25051;ms
    [MSE];[1];2.0558
    [MSE_4096];[1];2.05479
...

The key results here are a PSNR of just 39 dB and latency of only 8.25 ms.

PreviousSensor Stream ClientNextIReaders

Last updated 4 years ago

Was this helpful?