Android Camera Live Filter
Asked Answered
I

1

7

What is the best way for Camera Live filters. I am recently using GPUImage Library from Link: https://github.com/CyberAgent/android-gpuimagelibrary. Than I have found SurfaceView and GLSurfaceView.

Problem is: How to apply live filter to camera using SurfaceView or GLSurfaceView.

Thanks in advance.

Ics answered 14/6, 2016 at 9:59 Comment(0)
B
2

This link uses Texture View

https://github.com/google/grafika/blob/master/app/src/main/java/com/android/grafika/LiveCameraActivity.java

This uses surface view to play a movie..u can manipulate it for live camera

https://github.com/google/grafika/blob/master/app/src/main/java/com/android/grafika/PlayMovieSurfaceActivity.java

To choose on whether to use surfaceView or GLSurfaceView

take a look at this Difference between SurfaceView and GLSurfaceView in Android

Buroker answered 16/6, 2016 at 18:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.