forked from insight-platform/Savant
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodule.yml
More file actions
33 lines (30 loc) · 1.15 KB
/
module.yml
File metadata and controls
33 lines (30 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# module name, required
name: ${oc.env:MODULE_NAME, 'telemetry-demo'}
# base module parameters
parameters:
batch_size: 1
output_frame:
codec: ${oc.env:CODEC, 'h264'}
# We use the default telemetry parameters from `savant/config/default.yml`,
# which can be configured with environment variables in Docker compose manifests.
#
# Optionally, you can override them here.
# telemetry:
# tracing:
# # Sampling period in frames
# sampling_period: ${oc.decode:${oc.env:TRACING_SAMPLING_PERIOD, 100}}
# # Append frame metadata to telemetry span
# append_frame_meta_to_span: ${oc.decode:${oc.env:TRACING_APPEND_FRAME_META_TO_SPAN, False}}
# # Name for root span
# root_span_name: ${oc.decode:${oc.env:TRACING_ROOT_SPAN_NAME, null}}
# # Telemetry provider name
# provider: ${oc.decode:${oc.env:TRACING_PROVIDER, null}}
# # Parameters for telemetry provider
# provider_params: ${json:${oc.env:TRACING_PROVIDER_PARAMS, null}}
# pipeline definition
pipeline:
elements:
# simple pyfunc blurring frames
- element: pyfunc
module: samples.telemetry.blur
class_name: Blur