-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I apply this to live camera screen #12
Comments
Hi, you can use a SurfaceView to draw the camera live picture, then you can get the pixels buffer in the SurfaceView, in the class NativeFilterFunc, you can pass the pixels buffer to these native function, it return the pixels after process, in RGB format, but you need you load libAndroidImageFilter manually |
Hi, On 29 August 2014 19:58, RagnarokStack notifications@github.com wrote:
|
may be you need to includes the libs I generated in your project:https://github.com/ragnraok/android-image-filter/tree/master/library/libs, but remember that the pixels pass to the functions defined in NativeFilterFunc are in RGB format, so you may need some conversion after you get the byte array of the SurfaceView |
I would like to do the same as kholczhauser but I dont have any experience with surface view.can you explain the whole procedure in more detail?....or can u send me sample running application which apply just one filter to live image.so that i can understand.Thanks in advance. |
I would like to kindly ask you, what is the way, to apply a filterto live camera picture ? As I know, you had showd examples where you are applying the filter on an already created picture. I would like to do the same on live picture.
Thx, K
The text was updated successfully, but these errors were encountered: