I am thinking two ways:
1. First create an OpenGL render that copies the camera input to the output Surface. You can take a look at the code here as your starting point. Then you need to update the render to take in the png, use it as a texture, and blend it with the input frames. This is the most challenging part. 2. Then wrap the renderer with a SurfaceProcessor interface. You can copy-paste most of the code here. 3. Build a CameraEffect with the SurfaceProcessor, and set it with UseCaseGroup.Builder#addEffect. This one should be straightforward.
--
You received this message because you are subscribed to the Google Groups "Android CameraX Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-develop...@android.com.
To view this discussion visit https://groups.google.com/a/android.com/d/msgid/camerax-developers/ee7f9fb7-c1d2-4e03-95fa-233dede1e3a9n%40android.com.