How to Apply Custom Filters in a Camera [Surfaceview Preview]...?(如何在相机中应用自定义滤镜 [Surfaceview 预览]...?)
问题描述
伙计们,我正在开发相机应用程序,这是我的第一个 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 预览]...?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在相机中应用自定义滤镜 [Surfaceview 预览].
基础教程推荐
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- 从 python 访问 JVM 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 多个组件的复杂布局 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
