mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
filter-graph: add ONNX plugin
It uses the onnxruntime library to parse the onnx file and construct a neural network. It uses the label field to setup the plugin and how to map the various tensors of the model to input, output, control and notify ports. Add an example config for how to use the silero VAD ONNX model with the noise gate.
This commit is contained in:
parent
b3dddfed6a
commit
6605caa39e
6 changed files with 986 additions and 0 deletions
|
|
@ -147,6 +147,9 @@ if get_option('spa-plugins').allowed()
|
|||
|
||||
summary({'ffmpeg': avfilter_dep.found()}, bool_yn: true, section: 'filter-graph')
|
||||
|
||||
onnxruntime_dep = dependency('onnxruntime', required: get_option('onnxruntime'))
|
||||
summary({'onnxruntime': onnxruntime_dep.found()}, bool_yn: true, section: 'filter-graph')
|
||||
|
||||
cdata.set('HAVE_SPA_PLUGINS', true)
|
||||
subdir('plugins')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue