增强现实通过网络摄像头检测手部心脏
是否可以?
我正在学习,我想要一些可以帮助我的提示和教程链接。
谢谢!
Is it possible?
I'm studying and I'd like tips and links to tutorials that can help me.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我刚刚使用 haarcascades 和 opencv 制作了一个类似的程序。我确信它可以很容易地绑定到 ARToolKit 中。看看我的教程。
http://danielscvtutorials.blogspot.com/p/impress-that -special-someone-with.html
我能够使用此代码将 ARToolKit 与 OpenCv 联系起来。由于某种原因 ARToolKit 希望使用 ARGB 而不是 BGR 或 RGBA。
I just made a similar program using haarcascades with opencv. I'm sure it could easily tied into ARToolKit. Check out my tutorial.
http://danielscvtutorials.blogspot.com/p/impress-that-special-someone-with.html
I was able to tie ARToolKit to OpenCv with this code. For some reason ARToolKit wanted to use ARGB instead of BGR or RGBA.
可以在这里找到一个非常简单的示例(尽管是在 Flash 中):
http://www.adobe.com/devnet/flash/articles/augmented_reality.html
它使用 papervision、flar 和 flex sdk 来完成您的需要。
如果您熟悉 ActionScript,则可以使用您的设备来启动并运行它
我在几个小时内获得了自己的图像和模型(更改需要检测的模式花了我大约 10 分钟来弄清楚如何进行)
此示例在黑白图像上使用模式识别,因此它应该也能够识别形状。
它捆绑了一个工具,可以从图像创建模式文件,
你需要做的就是从你发布的图片中剪出心形,
将其转换为黑/白并制作图案。
由于您的网络摄像头创建彩色视频,您可能需要将其转换为灰度
为了工作。
我认为主要需要进行大量调整才能使其正常工作,但这应该不是不可能的
A really simple example can be found here (in flash though):
http://www.adobe.com/devnet/flash/articles/augmented_reality.html
it uses papervision, flar and flex sdk to do what you need.
If you are familiar with actionscript you can have it up and running with your
own images and models in a couple of hours (changing the pattern that needs to be detected cost me about 10 mins to figure out how)
This example uses pattern recognition on black and white images so it should be able to recognize shapes also.
There is a tool bundled with it that can create a pattern file from an image,
all you need to do is cut the heart shape out of your posted image,
convert it to black / white and make a pattern.
Since your webcam creates color video you may need to convert this to greyscale
in order to work.
I think it mostly takes a lot of tweaking to get it to work, but it shouldn't be impossible
这可以通过 FLARToolKit 或 Flash 增强现实工具包来完成。
http://www.libspark.org/wiki/saqoosha/FLARToolKit/en
Adobe 与 John Mayer 合作开展了一个项目,您可以在此 YouTube 视频中观看该项目:
http://www.youtube.com/watch?v=CZtRHVMcZjI
...或使用网络摄像头实时打印图标和演示:
http://www.johnmayer.com/ar/
This can be accomplished with the FLARToolKit, or Flash Augmented Reality Toolkit.
http://www.libspark.org/wiki/saqoosha/FLARToolKit/en
Adobe teamed with John Mayer on a project, which can be seen at this YouTube video:
http://www.youtube.com/watch?v=CZtRHVMcZjI
...or print the icon and demo live with a web cam at:
http://www.johnmayer.com/ar/