如何检测物体在Android的增强现实? [英] How to Detect Physical object in Android Augmented Reality?

查看:157
本文介绍了如何检测物体在Android的增强现实?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现有很多的方法来检测不同shapes.But你倒霉的时候,我去为物理对象。当我读到这使一个模式文件,我们应该有大约images.If黑色边框我遵循这一理念,并生成模式,那么它检测到的图像上printout.But当我去的物理对象,然后它是没有必要的对象有黑色边框方形周围。

I found many way to detect different shapes.But hard luck when i am going for physical object. As i read that to make a pattern file we should have black border around images.If i follow this concept and generate pattern then it detect images on printout.But when i go for the physical object then it is not necessary that Object has black border square shape around it.

更新

虽然我接受的答案,但我的问题仍然unsolved.As有用于检测物理对象至今无解。

Although i accept answer but my question remain unsolved.As there is no solution for detecting physical object till now.

任何进一步的研究和链接的欢迎。

推荐答案

坏消息是,你不能使用ANDAR检测物体。 ANDAR是基于一个基准标记的方法,其中,所述标记是由两部分组成:固体边界和内部的模式。图案连接codeS,可用于处理一个特定的模式来呈现上的标记,并且在边界可以很容易地确定所述标记的设备的相对方向的值。显然,这仅仅是平面图像识别。

The bad news is, you can't use AndAR to detect physical objects. AndAR is based on a fiducial marker approach, where the marker is made of two components: a solid border and an interior pattern. The pattern encodes a value that can be used to address a particular model to render on the marker, and the border makes it easy to determine the relative orientation of the marker to the device. Clearly this is just planar image recognition.

要做到在3D物体物体识别是一个比较复杂的问题,我不知道,能提供交钥匙解决方案的任何Android的库,但承认只有一个目标可能是在移动设备上是可行的。

To do object recognition on a 3D object is a more complicated problem, and I don't know of any Android libraries that provide a turn-key solution, but recognizing just one object is probably feasible on a mobile device.

一种可能性是,调查现有的Andr​​oid AR工具包(拉亚,Junaio,高通公司AR SDK),它现在都支持一些图像识别。这可能是通过把你的茶壶的照片在不同的旋转和使用这些作为图像,你希望你的应用程序,以匹配你可能会得到这样的解决方案的工作,但要记住它们只是为了做影像的平面匹配,不真正的3D对象,这样的表现可能不会很大。 (嗯,Metaio移动SDK临做三维识别与跟踪,但它是非常昂贵的)。

One possibility might be to investigate the available Android AR toolkits (Layar, Junaio, Qualcomm AR SDK) which all now support some image recognition. It may be that by taking images of your teapot at various rotations and using those as the images you want your app to match against that you might get this solution working, but keep in mind they are only designed to do planar matching on images, not real 3D objects, so the performance might not be great. (Well, the Metaio Mobile SDK Pro does 3D recognition and tracking, but it's very expensive).

在物体识别也许是最好的与要识别物体的图像对比摄像机帧(或从其中pre计算的图像特征等相机帧对比图像特征)来实现,跟踪是另一回事。如果你想准确地跟踪在三维空间中的3D对象,你就真的需要有或建立它的三维模型,并为每一帧确定摄像机的图像和跟踪3D对象之间的对应点。真正的无辅助(即无深度摄像头)3D跟踪是很难的。

While object recognition is perhaps best done by comparing camera frames with images of the object you wish to recognize (or by comparing image features from the camera frames with pre-computed image features etc), tracking is a different matter. If you want to accurately track your 3D object in 3D space you'll really need to have or build a 3D model of it, and for each frame determine point correspondences between the camera image and the 3D object for tracking. True unassisted (i.e. no depth-camera) 3D tracking is hard.

我希望这给你一些背景,你可以用它来评估你的下一个步骤。

I hope this gives you some background you can use to evaluate your next steps.

更新: 高通的Vuforia SDK允许你跟踪多目标,这是一组平面跟踪的表面有一个固定的空间关系的对象。如果你犯了一个魔方不同的照片你的对象(茶壶)的可能有些工作6个侧面。 https://ar.qualcomm.at/qdevnet/developer_guide/Trackables

Update: Qualcomm's Vuforia SDK allows you to track "multi targets", which are objects with a set of planar tracking surfaces with a fixed spatial relationship. If you made a "cube" different photos of the 6 sides of your object (teapot) that might work somewhat. https://ar.qualcomm.at/qdevnet/developer_guide/Trackables

2013年底更新的:

我与这些没有经验,但是:

I have no experience with these, but:

Metaio现在提供的CAD模型的3D跟踪: https://dev.metaio.com/sdk/tutorials/3d-tracking-based-on-cad-data/

Metaio now offer 3D tracking of CAD models: https://dev.metaio.com/sdk/tutorials/3d-tracking-based-on-cad-data/

ARLab.com的LinkAR承诺目标匹配。 http://www.arlab.com/objecttracking

ARLab.com's LinkAR promises object matching. http://www.arlab.com/objecttracking

我要指出,用的是匹配的 - 我想用这里的情况是,你知道你要覆盖的对象(玩具箱和发动机等)。多个3D对象之间的区别可能是完全超出范围。

I would note the use of the word "matching" - I think the use case here is you know the object you want to overlay (a toy-box, and engine etc). Differentiating between multiple 3D objects may be entirely out of scope.

这篇关于如何检测物体在Android的增强现实?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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