Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 871 Bytes

SDK_custom_trigger.rst

File metadata and controls

36 lines (21 loc) · 871 Bytes

Custom Trigger

This example shows how to set custom trigger condition in DepthAI SDK. The trigger condition returns a boolean value if the condition is met. In this case the trigger will start a recording of disparity stream when all depth values are below 1 meter.

Setup

Pipeline

Pipeline graph

Source Code

Python

Also available on GitHub.

../../../../examples/trigger_action/custom_trigger.py