如何应用不同的动态效果Android相机? [英] How to apply different live effects to android Camera?

查看:174
本文介绍了如何应用不同的动态效果Android相机?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发一个 照相机2 类型的应用程序。所以我只是想知道如何应用动态效果Android相机。就是有针对任何Android库? plz帮助我解决这个问题。

I want to develop a Camera 2 kind of application. So i just wanted to know how to apply live effects to android Camera .Is there any android library for that? plz help me to solve the issue.

在此先感谢....

推荐答案

你尝试过什么?我想通过你的意思是在preVIEW显示实时效果。

What have you tried? I assume by live effects you mean shown on the preview.

您可以试试这里的答案 的建议是什么,但任何形式的在Java中实现复杂的过滤器要慢下来。为了获得良好的性能,你可能需要编写一些本地code来处理previews。好消息是,如果你正在写NDK code,你可以使用像 OpenCV的做筛选适合你。

You can try what the answer here suggested, but any sort of complicated filter implemented in java is going to slow things down. For good performance you'll probably have to write some native code to process the previews. The good news is, if you're writing NDK code you can make use of libraries like OpenCV to do the filtering for you.

这篇关于如何应用不同的动态效果Android相机?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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