对象与来自网络摄像头的形状识别
我需要创建一个应用程序来从连接到计算机的网络摄像头或相机获取输入并检测某些 3D 对象。
我可以从 .3ds 文件或其他文件中执行此操作吗?我不太确定。
我很确定flash as3可以吗?我一直在研究 openCV 但我找不到任何此类事情的例子。
任何帮助都会很棒,如果您还有任何其他问题需要了解更多信息。请询问。
谢谢
弗兰克
编辑:哦,我需要这是一个基于网络的解决方案。所以我正在考虑 python、AS3 等类似的东西。
I need to create an application to get input from a webcam or camera connected to a computer and detect certain 3d objects.
I could do this from a .3ds file or something else? I'm not quite sure.
I am pretty sure it is possible with flash as3? I have been looking into openCV but i can't find any examples of this kind of thing.
Any help would be great, and if you have any further questions to understand more. please ask.
Thanks
Frank
EDIT: Ow and i need this to be a web based solution. so i was thinking of python, AS3 something along those lines.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
通过固有的 2D 介质(相机捕获的位图)检测“3D 对象”是一件非常复杂的事情,需要检测亮区和阴影区域以及它们相对于已知光源的移动方式。您可能想要做的(除非您可以访问具有深度缓冲区的硬件,例如 Kinect)是分析 2D 图像中的 2D 形状,即您正在寻找的对象的轮廓。
看看 ASFEAT 和 IN2AR,与ASSURF同为俄罗斯神童,但积极开发不使用专利算法。
OpenCV(Flash/AS3 的端口称为 Marilena)可能可以解决这个问题,但它没有针对 Flash 进行优化,并且需要相当复杂的描述符文件。我相信唯一可用的是面部检测。
To detect a "3D object" through an inherently 2D medium (a bitmap captured by a camera) is a very complex thing, and requires the detection of lit and shaded areas and how they move in respect to an often known light source. What you likely want to do instead (unless you have access to hardware with a depth buffer, e.g. the Kinect) is to analyze the 2D picture for 2D shapes, i.e. the silhouette of the object that you're looking for.
Have a look at ASFEAT and IN2AR, which are made by the same russian wunderkind as ASSURF, but actively developed an not using patented algorithms.
OpenCV (the port of which to Flash/AS3 is called Marilena) might do the trick, but it's not as optimized for Flash, and requires fairly complex descriptor files. I believe the only ones that are readily available are for face detection.
您最好的选择可能是 ASSURF,它不会检测 3D模型,但它会制作 2D 形状。
Your best bet is probably ASSURF, it won't do detection of 3D models but it will do 2D shapes.