Skip to content

DL Streamer Pipeline

Runs an Intel® DL Streamer pipeline in Docker containers and finds the largest number of concurrent video streams that keep the target frame rate on each device.

Test suite test_dlstreamer (src/esq/suites/ai/vision/test_dlstreamer.py)
Integration type Type 1: generic suite. The pipeline, models, and videos come from the profile.
Key metric streams_max (streams), per device as streams_max_<device>
Devices CPU, iGPU, dGPU, NPU, or several stages on different devices

How It Works

  1. Download the profile's assets (videos and models) and build the analyzer images.
  2. Run a baseline on each device to estimate how many streams it can carry.
  3. Search for the highest stream count whose per-stream FPS stays at or above target_fps, starting from the baseline.
  4. Run all qualified devices together and report the total and per-device streams_max.

Parameters

Parameter Default Description
pipeline required GStreamer pipeline. Placeholders such as ${DEVICE_ID}, ${RENDER_DEVICE}, and keys of pipeline_params are filled per device.
pipeline_params {} Named pipeline fragments, each with a default and optional per-device values (cpu, igpu, dgpu, npu)
target_fps 14.5 Lowest per-stream FPS a stream count must keep
devices [] Device categories to test
assets [] Videos and models to download, see Asset Management
multi_stage_single_pipeline false Treat the pipeline as one unit whose stages run on different devices
max_streams_above_baseline 1 How far above the baseline the search may go
consecutive_timeout_threshold 4 Timeouts in a row before the search stops
pipeline_timeout 180 Seconds per pipeline run
timeout 300 Seconds for the whole test case
kpi_refs, kpi_validation_mode [], all KPIs to validate (qualification profiles)
keep_original_videos false Keep downloaded videos before conversion

Adding a Workload

Describe the application's ingredients in a profile instead of running the application. For example, the Pallet Defect Detection app becomes video and model assets, a pipeline, and pipeline_params in verticals/manufacturing.yml:

test_dlstreamer:
  params:
    - test_id: "MFG-PDD-001"
      display_name: "Pallet Defect Detection - multi-stream 480p30 H.264 gvadetect YOLOX-TINY INT8 (CPU)"
      target_fps: 29.5
      pipeline: |
        filesrc location=./videos/warehouse_30fps.avi
          ! ${PDD_DECODE_ELEMENTS}
          ! gvadetect model=./models/pallet_defect_detection_int8/deployment/Detection/model/model.xml device=CPU ${PDD_INFERENCE_ELEMENTS}
          ! queue
      devices: [cpu]
      kpi_refs: [streams_max]

Profiles

Profile Type Test cases
profile.qualification.ai-edge-system Qualification 1
profile.vertical.manufacturing Vertical 9
profile.vertical.retail-asc Vertical 4
profile.vertical.retail-lp Vertical 4
profile.horizontal.ai.vision-light Horizontal 5
profile.horizontal.ai.vision-vrb Horizontal 5

Expand a profile to see the test cases it runs with this suite.

profile.qualification.ai-edge-system
Test ID Test case
AES-VSN-001 Vision AI Analysis - multi-stream 1080p15 H.264 gvadetect YOLO11n INT8 gvatrack gvaclassify EfficientNet-B0 INT8
profile.vertical.manufacturing
Test ID Test case
MFG-PDD-001 Pallet Defect Detection - multi-stream 480p30 H.264 gvadetect YOLOX-TINY INT8 (CPU)
MFG-PDD-002 Pallet Defect Detection - multi-stream 480p30 H.264 gvadetect YOLOX-TINY INT8 (iGPU)
MFG-PDD-003 Pallet Defect Detection - multi-stream 480p30 H.264 gvadetect YOLOX-TINY INT8 (dGPU)
MFG-PDD-004 Pallet Defect Detection - multi-stream 480p30 H.264 gvadetect YOLOX-TINY FP32 (CPU)
MFG-PDD-005 Pallet Defect Detection - multi-stream 480p30 H.264 gvadetect YOLOX-TINY FP32 (iGPU)
MFG-PDD-006 Pallet Defect Detection - multi-stream 480p30 H.264 gvadetect YOLOX-TINY FP32 (dGPU)
MFG-PDD-007 Pallet Defect Detection - multi-stream 480p30 H.264 gvadetect YOLOX-TINY FP16 (CPU)
MFG-PDD-008 Pallet Defect Detection - multi-stream 480p30 H.264 gvadetect YOLOX-TINY FP16 (iGPU)
MFG-PDD-009 Pallet Defect Detection - multi-stream 480p30 H.264 gvadetect YOLOX-TINY FP16 (dGPU)
profile.vertical.retail-asc
Test ID Test case
RTL-ASC-001 Automated Self Checkout - multi-stream 1920p15 H.264 gvadetect YOLO11n INT8 (CPU)
RTL-ASC-002 Automated Self Checkout - multi-stream 1920p15 H.264 gvadetect YOLO11n INT8 (iGPU)
RTL-ASC-003 Automated Self Checkout - multi-stream 1920p15 H.264 gvadetect YOLO11n INT8 (dGPU)
RTL-ASC-004 Automated Self Checkout - multi-stream 1920p15 H.264 gvadetect YOLO11n INT8 (NPU)
profile.vertical.retail-lp
Test ID Test case
RTL-LPP-001 Loss Prevention - multi-stream 1080p15 Items-in-Basket H.264 gvadetect YOLO11n INT8 gvatrack gvaclassify EfficientNet-B0 INT8 (iGPU)
RTL-LPP-002 Loss Prevention - multi-stream 1080p15 Hidden-Items-Product-Switching H.264 gvadetect YOLO11n INT8 gvatrack gvaclassify EfficientNet-B0 INT8 (iGPU)
RTL-LPP-003 Loss Prevention - multi-stream 1080p15 Fake-Scan-Detection H.264 gvadetect YOLO11n INT8 gvatrack gvaclassify EfficientNet-B0 INT8 (iGPU)
RTL-LPP-004 Loss Prevention - multi-stream 1080p15 Multi-Product-Scans H.264 gvadetect YOLO11n INT8 gvatrack gvaclassify EfficientNet-B0 INT8 (iGPU)
profile.horizontal.ai.vision-light
Test ID Test case
VSN-LGT-001 DL Streamer Analysis - multi-stream 1080p30 H.265 gvadetect YOLO11n INT8 gvatrack gvaclassify ResNet50 INT8
VSN-LGT-002 DL Streamer Analysis - multi-stream 1080p30 H.265 gvadetect YOLO11n INT8 gvatrack gvaclassify ResNet50 INT8 (CPU)
VSN-LGT-003 DL Streamer Analysis - multi-stream 1080p30 H.265 gvadetect YOLO11n INT8 gvatrack gvaclassify ResNet50 INT8 (iGPU)
VSN-LGT-004 DL Streamer Analysis - multi-stream 1080p30 H.265 gvadetect YOLO11n INT8 gvatrack gvaclassify ResNet50 INT8 (dGPU)
VSN-LGT-005 DL Streamer Analysis - multi-stream 1080p30 H.265 gvadetect YOLO11n INT8 gvatrack gvaclassify ResNet50 INT8 (NPU)
profile.horizontal.ai.vision-vrb
Test ID Test case
VSN-VRB-001 DL Streamer Analysis - multi-stream 1080p15 H.264 gvadetect YOLO11n INT8 gvatrack gvaclassify EfficientNet-B0 INT8
VSN-VRB-002 DL Streamer Analysis - multi-stream 1080p15 H.264 gvadetect YOLO11n INT8 gvatrack gvaclassify EfficientNet-B0 INT8 (CPU)
VSN-VRB-003 DL Streamer Analysis - multi-stream 1080p15 H.264 gvadetect YOLO11n INT8 gvatrack gvaclassify EfficientNet-B0 INT8 (iGPU)
VSN-VRB-004 DL Streamer Analysis - multi-stream 1080p15 H.264 gvadetect YOLO11n INT8 gvatrack gvaclassify EfficientNet-B0 INT8 (dGPU)
VSN-VRB-005 DL Streamer Analysis - multi-stream 1080p15 H.264 gvadetect YOLO11n INT8 gvatrack gvaclassify EfficientNet-B0 INT8 (NPU)

Run

esq run --profile profile.vertical.manufacturing --filter test_id=MFG-PDD-001