Integrate face filter into UE4

We have a face filter written in python/pytorch, which makes the face good-looking, just like
many other filters in the selfie app.
May we know how to apply this filter to the characters in UE4 (generated by metahuman)?
Since this face filter is a 2D filter originally, it’s OK that, this filter only works in the camera ahead of the center of the face.


@tonykcn You may want to consider scene capturing of MetaHuman character so you will have Texture2D to operate on (i.e. pixels). After that you simply apply your python code (or similar c++ code) to texture raw pixels and use the texture as as input somewhere.
Is that what you need?