通过相机进行形状识别的 iPhone 库 [英] An iPhone library for shape recognition via the camera

查看:24
本文介绍了通过相机进行形状识别的 iPhone 库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望这属于编程问题"类别.我对计算机视觉"主题的谷歌搜索(并阅读此处关于该主题的所有帖子)感到头晕目眩,但我变得更加困惑而不是开明.

I hope this falls within the "programming question" category. Im all lightheaded from Googling (and reading every post in here on the subject) on the subject "Computer Vision", but Im getting more confused than enlightened.

我在一张纸上打印了 6 个抽象形状,我想让 iPhone 上的摄像头识别这些形状(从不同的角度、闪电等).

I have 6 abstract shapes printed on a piece of paper and I would like to have the camera on the iPhone identify these shapes (from different angles, lightning etc.).

我曾经使用过 OpenCV(Java),并查看了那里的其他库.需要注意的是,它们似乎要么依赖于越狱的 iPhone,要么它们具有实验性且难以使用,以至于我最终可能会使用几天的学习库来发现它们不起作用.

I have used OpenCV a while back(Java) and I looked at other libraries out there. The caveat is that it seems that either they rely on a jail broken iPhone or they are so experimental and hard to use that I would probably end up using days learning libraries only to figure out they didn't work.

我曾想过为我的形状拍摄 +1000 张图像并训练一个 Haar 过滤器.但又一次如果有什么更容易使用的东西,我会非常感谢有经验的人的建议和建议.

I have thought of taking +1000 images of my shapes and training a Haar filter. But again if there is anything out there that is a bit easier to work with I would really appreciate the advise, suggestion of people with a bit of experience.

感谢您提出的任何建议或建议:)

Thank you for any suggestion or pieces of advise you might have:)

推荐答案

看看 OpenCV 的 SURF 特征提取(他们也有一个使用它来检测对象的演示).Surf 特征是显着的图像特征,它对旋转和比例是不变的.许多算法通过从图像中提取此类特征来检测对象,然后使用简单的词袋"分类(将提取的图像特征集与您的形状"特征进行比较.即使不参考它们的空间对齐方式,您也可以获得良好的如果您只有 6 个形状,则检测率).

Have a look at at OpenCV's SURF feature extraction (they also have a demo which uses it to detect objects). Surf features are salient image features which are invariant to rotation and scale. Many algorithms detect objects by extracting such features from an image, and then use simple "bag of words" classification (comparing the set of extracted image features to the features of your "shapes". Even without referring to their spacial alignment you can have good detection rates if you only have 6 shapes).

这篇关于通过相机进行形状识别的 iPhone 库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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