The problem is that if I copy the code for implementing my own surface processor, I get an error (can only be called from within the same library group (referenced groupId=androidx.camera from groupId=Jetpack)). Can anyone tell me if the approach I am taking is correct and, if so, how I can fix/use the example?
Thanks in advance!