Android Camera运动模糊效果

Pav*_*oid -1 android android-camera android-gpuimageview

使用Android移动相机

想要对Android移动相机实现运动模糊效果.

这是在iOS中使用过滤器GPUImageLowPassFilter实现的.我想在android中替代它.

kul*_*ngh 7

执行此操作的最佳方法是拍摄控件的屏幕截图,对其应用模糊,然后在原始控件的顶部显示该图像.这是雅虎天气应用程序如何做到这一点以及它如何谷歌建议你做这样的事情.

渲染脚本快速模糊.我也有一些代码,但现在还没有.

这可能有所帮助:

http://blog.neteril.org/blog/2013/08/12/blurring-images-on-android http://docs.xamarin.com/recipes/android/other_ux/drawing/blur_an_image_with_renderscript/

我还读到Android中内置的方法可以做到这一点,但API不公开,所以我们不能使用它...这很糟糕.