Wikitude/AR SDK用于在3d空间中挑选对象

时间:2021-12-28 21:37:28

Wikitude/AR SDK用于在3d空间中挑选对象

Im looking at integrating an AR Kit into our iOS App so we can use the camera to scan a room or field of view for objects. Above is an example of what i mean, if you were to bring up the camera it would highlight the separate objects in the room and allow them to be clicked and "added" into the system.

我正在考虑将AR工具包集成到我们的iOS应用程序中,这样我们就可以用摄像头扫描房间或视野中的物体。上面是一个例子,我的意思是,如果你拿起相机,它会突出显示房间里的独立物体,让它们被点击并“添加”到系统中。

Does anyone know if this is achievable with the current AR kits or anything else out there? It all seems to be the fact that objects that you are looking for have to be pre-defined and loaded into a database so the app can find them. Im hoping it should be able to pick out the objects realtime. It doesnt need to actually know any details on the actual object just so that can be pulled off the base scenary.

有人知道这在现有的AR工具包或者其他什么东西上是可以实现的吗?这一切似乎都是你正在寻找的对象必须预先定义并加载到数据库中,以便应用程序能够找到它们。我希望它能实时地选出物体。它不需要知道实际对象的任何细节,这样就可以从基础场景中提取出来。

Any ideas?

什么好主意吗?

1 个解决方案

#1


1  

OpenCV library (iOS) contains many algorithms to compare different image blobs. If you want to match some simple template to find objects then try Viola & Jones algorithm and so called Haar cascades. OpenCV has trained collection of templates in XML files for detecting faces for example. OpenCV contains utility for training thus you are able to generate cascades for other kinds of objects.

OpenCV库(iOS)包含许多算法来比较不同的图像blob。如果您想要匹配一些简单的模板来查找对象,那么可以尝试使用Viola & Jones算法,也就是Haar cascades。OpenCV已经训练了XML文件中的模板集合,用于检测人脸。OpenCV包含用于训练的实用程序,因此您可以为其他类型的对象生成级联。

Some example projects:

一些示例项目:

https://github.com/alexmac/alcexamples/blob/master/OpenCV-2.4.2/doc/user_guide/ug_traincascade.rst Cascade Classifier Training https://github.com/lukagabric/iOS-OpenCV Example code for detecting Colors and Circle shapes https://github.com/BloodAxe/OpenCV-Tutorial Feature Detection (SURF, ORB, FREAK) https://github.com/foundry/OpenCVSquaresSL Square Detection using Pyramid scaling, Canny, contours, contour simpification

使用https://github.com/alexmac/alcexamples/blob/masterencv . 2.4.2/ doc/user_guide/ug_traincase.cadrst级联分类器训练https://github.com/lukagabric/ios-opencencv检测颜色和圆形的示例代码

#1


1  

OpenCV library (iOS) contains many algorithms to compare different image blobs. If you want to match some simple template to find objects then try Viola & Jones algorithm and so called Haar cascades. OpenCV has trained collection of templates in XML files for detecting faces for example. OpenCV contains utility for training thus you are able to generate cascades for other kinds of objects.

OpenCV库(iOS)包含许多算法来比较不同的图像blob。如果您想要匹配一些简单的模板来查找对象,那么可以尝试使用Viola & Jones算法,也就是Haar cascades。OpenCV已经训练了XML文件中的模板集合,用于检测人脸。OpenCV包含用于训练的实用程序,因此您可以为其他类型的对象生成级联。

Some example projects:

一些示例项目:

https://github.com/alexmac/alcexamples/blob/master/OpenCV-2.4.2/doc/user_guide/ug_traincascade.rst Cascade Classifier Training https://github.com/lukagabric/iOS-OpenCV Example code for detecting Colors and Circle shapes https://github.com/BloodAxe/OpenCV-Tutorial Feature Detection (SURF, ORB, FREAK) https://github.com/foundry/OpenCVSquaresSL Square Detection using Pyramid scaling, Canny, contours, contour simpification

使用https://github.com/alexmac/alcexamples/blob/masterencv . 2.4.2/ doc/user_guide/ug_traincase.cadrst级联分类器训练https://github.com/lukagabric/ios-opencencv检测颜色和圆形的示例代码