Have you ever considered adding support for MLKit Selfie segmentation?
That way we could build apps that only blur the background in a fast way, for video calls for example.
In this case, the processNatively function would accept the com.google.mlkit.vision.segmentation.SegmentationMask as a parameter and return an image that has its background blurred based on the mask.