Juliusz Chroboczek
0a14b78d67
Move MediaPipe initialisation to filter init.
...
We used to initialise MediaPipe at worker start, which prevented
us from handling errors. We now do it at filter init, and stop
the stream with an error message if initialisation fails.
2024-12-14 14:53:23 +01:00
Juliusz Chroboczek
bf46a9d6c1
Close the image segmenter result.
...
This doesn't currently do anything useful, since we're running
tflite on the CPU, but might avoid bugs if we get GPU support.
2024-12-13 22:59:53 +01:00
Juliusz Chroboczek
39c063a9d5
Use ImageBitmap.close when no longer needed.
...
This should free the underlying textures without waiting
for a GC to happen.
2024-12-13 15:54:52 +01:00
Juliusz Chroboczek
a00b77fc8f
Add predicate support to filters.
2024-12-13 11:27:16 +01:00
Juliusz Chroboczek
a70a9a13ed
Implement background blur.
2024-12-13 11:27:16 +01:00