android-gpuimage-plus icon indicating copy to clipboard operation
android-gpuimage-plus copied to clipboard

How to get every frame of video

Open technicalhunt opened this issue 5 years ago • 3 comments

Hi, I am working on the Live Makeup app like Youcam, currently, I am using Opencv JavaCameraView. But when I am processing every frame my camera is lagging. Can you please tell me how can I get every frame of the camera so I can process every frame and add makeup options on the face for Realtime Live Makeup.

technicalhunt avatar Aug 19 '20 08:08 technicalhunt

You can get every frame of opengl texture in the demo. Please see the camera filter demo.

wysaid avatar Aug 19 '20 10:08 wysaid

Hi, Thanks for your response, but can you please specify the Class Name and method name, also can you please tell me how can I process that frame (Add makeup) and return it to surface view for preview?

technicalhunt avatar Aug 19 '20 11:08 technicalhunt

https://github.com/wysaid/android-gpuimage-plus/blob/master/library/src/main/java/org/wysaid/view/CameraGLSurfaceViewWithTexture.java#L182

wysaid avatar Aug 20 '20 11:08 wysaid