绿屏/色度键iOS [英] Green screen / chroma key iOS

查看:140
本文介绍了绿屏/色度键iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图在iOS上实时进行绿屏减法。我在我的项目中包含了openCV,我可以使用本教程从相机中获取原始数据: http://www.benjaminloulier.com/articles/ios4-and-direct-access-to-the-camera
然后我从CGImageRef转换为IplImage。
我坚持的是,使用openCV,我该如何进行绿屏减法?或者是否有一个更简单的图像库我可以用于iOS来实现这个目标?

I am trying to do green screen subtraction in real time on iOS. I have included openCV in my project and I can get the raw data from the camera using this tutorial: http://www.benjaminloulier.com/articles/ios4-and-direct-access-to-the-camera Then after I convert from CGImageRef to IplImage. What I am stuck at is, using openCV, how can I do this green screen subtraction? Or is there a simpler image library I can use for iOS to achieve this?

谢谢

推荐答案

对于那些寻找答案的人,我最终使用了openCV。它的效果很棒(适用于iPhone应用)。请查看此视频说明中的源代码: http://www.youtube.com / watch?v = aE0F4F5WIuI

For those looking for an answer to this, I ended up using openCV. It's works great (for an iPhone app). Take a look at the source code in the description of this video: http://www.youtube.com/watch?v=aE0F4F5WIuI

这篇关于绿屏/色度键iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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