Pipeline
- class savant.config.schema.Pipeline(source='???', elements=<factory>, draw_func=None, sink=<factory>)
Pipeline configuration template. Validates entries in a module config file under
pipeline
. For example,pipeline: source: element: uridecodebin properties: uri: file:///data/test.mp4 elements: # user-defined pipeline elements or element groups - element: nvinfer@detector - group: init_condition: expr: expression value: value elements: - element: nvinfer@detector sink: - element: console_sink
- source: PipelineElement = '???'
The source element of a pipeline.
- elements: List[Any]
Main Pipeline contents. Can include
PipelineElement
orElementGroup
nodes.
- sink: List[PipelineElement]
Sink elements of a pipeline.