简体   繁体   English

如何在相机中应用自定义滤镜[Surfaceview预览] ......?

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

Guys i am developing Camera Application and this is my first android Application. 伙计们我正在开发Camera Application,这是我的第一个Android应用程序。

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. 我如何将这种类型的视图设计成XML部分。

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]. 表示选定的滤镜是预览应用到相机[Surfaceview预览]。 Please provide any type of Material link example.etc 请提供任何类型的材料链接example.etc

guys please help me.any type of help will be appreciated..): 伙计们,请帮助我。任何类型的帮助将不胜感激..):

Thanks in advance 提前致谢

All these manipulations can be performed with OpenCV. 所有这些操作都可以使用OpenCV执行。 Download their basic Android example, and you can add your logic to onCameraFrame() callback. 下载他们的基本Android示例,您可以将您的逻辑添加到onCameraFrame()回调中。

From the images, it's from a app called Geak Camera. 从图像中,它来自一个名为Geak Camera的应用程序。 Actually, I developed this app, and I used the GLSurfaceView not the surfaceview. 实际上,我开发了这个应用程序,我使用的是GLSurfaceView而不是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". 我更新了名为“U camera”的应用程序。在“U camera”中改进了缩放动画。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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