I want to implement lens blur function for camera preview (I am using 
surfaceview). In this function, there will be a circle at the point user 
clicked, inside circle is normal preview, and outside preview is blurred. 
Like Camera360

<https://lh3.googleusercontent.com/-spYjlcf-5FI/WHymndHrxOI/AAAAAAAAAu4/CxSfus-Q1iw5qSczyirmwMlWCp2huHnfgCLcB/s1600/Screenshot_20170116-160537.png>


All blur library on Github now is just applied for bitmap. There is only 
one library for camera preview

https://github.com/NateWickstrom/BlurryCamera

But this library use imageview to capture each frame of camera and then 
blur it and set to imageview. This way is so lag.

Does anyone know how to implement blur with circle transparent for camera 
preview preview, or at least blur camera preview ? (I will find someway to 
add circle transparent)

I really appreciate any help you can provide.

Thank you very much.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/2e3d485e-2c2a-401f-b563-c2911de5d636%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to