在 iPhoneSDK 中检测文档的边缘
我正在寻找类似于附图的内容,我如何在 iPhoneSDK 中实现它。
任何人都可以建议我一些开源 API 或算法代码来检测捕获的文档图像的角点。
不知怎么的,我得到了一个名为OpenCV的开源API,它可以识别人脸 非常好。如果可能的话,我想使用相同的 API。现在的问题是如何根据我扫描文档边缘的要求对这些静态库进行更改。 或者,
如何检测捕获图像中的正方形/矩形对象?
I am looking something like attached image, How can I implement this in iPhoneSDK.
Can anybody suggest me some open source API or Algorithm Code to detect the corners of captured image of a document.
Some How, I got an open source API called OpenCV which recognize the Human Face very well. I want to use the same API if possible.Now the problem Is how can I make the changes in those static libraries according to my requirement to Scan the Document edges.
Alternatively,
how to detect for the square/rectangle object in the captured image ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您已经使用 openCV 时,您可能知道参考手册:
http://www.sciweavers.org/books/opencv-open-source-computer-vision-reference-manual
第 10-6 页上有一组轮廓检测函数的参考:
我希望这有帮助。
当您的问题的目标是如何在 ios/iPhone 上使用 OpenCV 时,您可以查看以下站点。用于 iOS 项目的现成 XCode 项目文件:
http://www .eosgarden.com/en/opensource/opencv-ios/overview/
另一篇包含非常有价值信息的 StackOverflow 帖子可以在这里找到:
iPhone 和 OpenCV
When you are already using openCV you might know the Reference Manual:
http://www.sciweavers.org/books/opencv-open-source-computer-vision-reference-manual
On page 10-6 there is a reference to the set of contour detection functions:
I hope that helps.
When the target of your question was, how to use OpenCV on ios/iPhone then you can have a look at the following Sites. Ready made XCode project files for use in an iOS project:
http://www.eosgarden.com/en/opensource/opencv-ios/overview/
Another StackOverflow post with very valuable information can be found here:
iPhone and OpenCV