简体   繁体   中英

How to Apply Custom Filters in a Camera [Surfaceview Preview]…?

Guys i am developing Camera Application and this is my first android Application.

below i am Adding My App Screenshot for what i want.

First View :

在此输入图像描述

Here , after Clicking on a Top-Right Corner Filter icon i want a below View.

Second View :

在此输入图像描述

i don't know how can i get this type of a view. also how can i design this type of view into XML parts.

and i read more articles like how to Open a Multiple Surface-view Preview onto single screen but i did not get any much appreciate solution.

and Finally after selecting any of the Filter Preview i want a above Image type View.

means Selected Filter's is Preview apply onto Camera [Surfaceview Preview]. Please provide any type of Material link example.etc

guys please help me.any type of help will be appreciated..):

Thanks in advance

All these manipulations can be performed with OpenCV. Download their basic Android example, and you can add your logic to onCameraFrame() callback.

From the images, it's from a app called Geak Camera. Actually, I developed this app, and I used the GLSurfaceView not the surfaceview. And the app is not maintained now because I left that company. And I updated that app called "U camera".The scale animation was improved in "U camera".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM