简体   繁体   English

帮助Android增强现实

[英]Help with android augmented reality

i just need some guide on how to detect a marker and make an output text.. for ex: a marker with an image of a dog , when detected, i have an output text "DOG" in a textfield .. can someone help me with my idea? 我只需要一些有关如何检测标记并制作输出文本的指南。例如:带有狗图像的标记,当检测到时,我在文本字段中有一个输出文本“ DOG” ..有人可以帮助我吗有我的主意吗? oh, btw which one is more effective to use nyartoolkit or andar for my idea?thanks:) need help..! 哦,顺便说一句,使用nyartoolkit或andar可以更有效地实现我的想法?谢谢:)需要帮助。

What you're looking for isn't augmented reality, it's object recognition. 您要找的不是增强现实,而是对象识别。 AR is chiefly concerned with presenting data overlaid on the the real world, so computation is devoted each frame to determining the position relative to the camera of the object. AR主要关注呈现叠加在现实世界上的数据,因此计算专门用于确定每一帧相对于对象相机的位置。 If you don't intent to use this data, AR libraries may be an inefficient. 如果您不想使用此数据,AR库可能会效率很低。 That said... 那个...

AR marker tracking libraries usually find markers by prominent features like corners, and can distinguish markers by binary patters encoded inside the marker, or in the marker's borders. AR标记跟踪库通常通过诸如拐角之类的突出特征来查找标记,并可以通过在标记内部或标记边界内编码的二进制模式区分标记。 If you're happy with having the "dog" part encoded in the border of a marker, there are libraries you can use like Qualcomm's AR development kit . 如果您对将“ dog”部分编码在标记的边框中感到满意,那么可以使用诸如Qualcomm的AR开发工具包之类的库。 This library, and Metaio's Unifeye mobile can also do natural feature tracking on pre-defined images. 该库和Metaio的Unifeye mobile也可以对预定义的图像进行自然特征跟踪。 If you're happy with being able to recognize one specific image or images of dogs that you have defined in advance, either of these should be ok. 如果您对能够识别一张或多张预先定义的狗的图像感到满意,那么这些都可以。 You might have to manipulate your dog images to get good features they can identify and track. 您可能需要操纵狗的图像才能获得它们可以识别和跟踪的良好功能。 Natural objects can be problematic. 天然物体可能有问题。

General object recognition (being able to recognize a picture of any dog, not known beforehand) is still a research topic. 通用物体识别(能够识别任何狗的图片,事先未知)仍然是一个研究主题。 There are approaches, but they're mostly very computationally intensive, and most mobile solutions involve offloading the serious computation to a server. 有一些方法,但是它们大多数都是计算密集型的,大多数移动解决方案都涉及将大量的计算工作卸载到服务器上。 Recognition of simple outline sketches however is more tractable, there's a great paper called "Shape recognition and pose estimation for mobile augmented reality" (I can't find a copy online, but the IEEE link is here ) that uses contours to identify objects - this is light enough to run on a mobile (and it's pure genius). 但是,简单轮廓草图的识别更容易处理,有一篇很棒的论文叫做“用于移动增强现实的形状识别和姿势估计”(我在网上找不到副本,但是IEEE链接在这里 ),它使用轮廓来识别对象-它足够轻巧,可以在移动设备上运行(这真是天才)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM