如何在相机中应用自定义滤镜[Surfaceview预览] ...? [英] How to Apply Custom Filters in a Camera [Surfaceview Preview]...?

查看:265
本文介绍了如何在相机中应用自定义滤镜[Surfaceview预览] ...?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计我正在开发Camera Application,这是我的第一个Android应用程序。

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

我正在添加我的应用程序截图我想要的。

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

第一次观看:

此处,点击右上角过滤器图标后,我想要一个下面的视图。

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

第二视图:

我不知道如何才能获得此类视图。我怎样才能将这种类型的视图设计成XML部分。

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.

表示选定的滤镜是预览应用到相机[Surfaceview预览]。
请提供任何类型的材料链接example.etc

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..):

提前致谢

推荐答案

所有这些操作都可以使用OpenCV执行。下载他们的基本Android示例,您可以将您的逻辑添加到 onCameraFrame()回调。

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

这篇关于如何在相机中应用自定义滤镜[Surfaceview预览] ...?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆