2017-01-15 10:12:02 -0600 | commented question | Can you capture screen and run a filter on Android? I discovered that shaders do not support glreadpixels and in regards to NDK most companies do not support OpenGL ES 3.0 at the hardware level so libglesv3.so needed to link to at runtime can not be found on the device. |
2017-01-14 13:00:51 -0600 | commented question | Can you capture screen and run a filter on Android? I am also looking at using the NDK right now. What I was hoping is to use OpenCV to do all these things already in a highly efficient manner rather than me learning how to design/implement/test it over a longer period of time. Since I need real-time processing of each frame you seem to indicate that is what OpenCV is not designed to do. No problem, I will look for a different library that is optimized for real-time processing. |
2017-01-14 12:36:20 -0600 | commented question | Can you capture screen and run a filter on Android? I am using Renderscript already for the filters so do not need shaders. I will look into them to do the other things I do so thanks for the advice. |
2017-01-14 12:05:22 -0600 | commented question | Can you capture screen and run a filter on Android? Hi Berak, Thanks for the feedback but OpenCV has image manipulation example for the Android and I was thinking of Sharpness, Contrast simple filters. Also, OpenCV was recommended on StackOverflow to use by someone else. I was concerned it might be too big and slow for what I wanted and you confirmed my concerns. -Tony |
2017-01-13 21:11:26 -0600 | received badge | ● Editor (source) |
2017-01-13 21:11:07 -0600 | asked a question | Can you capture screen and run a filter on Android? Hi, I have written my Android app (java) so it can capture my Android app screen (framebuffer) put it in a bitmap then run a filter on the bitmap then put it back into a resultant bitmap to display as a texture overlay. I am using glreadpixels for opengl es 3.0 to get the image. It is slower than I like it to be and was looking at using the NDK but was wondering if OpenCV can do that. If so what example(s) should I look at to accomplish that goal? So basically the steps are that I am doing now:
I want to do steps 1-4 faster using OpenCV. Step 1 is taking me around 60ms, step 2 around 200ms I have not measured the other steps yet. The steps are all done right now using java and GLES30 outside of NDK. If I can do all easily and quick using NDK with OpenCV that is good but most of the examples I have seen use a camera and save to a file. So not sure I can use OpenCV to do what I need. Thanks for the help! -Tony |