This is an example of a custom processing block, which you can load in the Edge Impulse studio. See the docs: Building custom processing blocks.
edgeimpulse/example-custom-processing-block-python
Example of a custom processing block in Python
PythonApache-2.0