VNDetectTextRectanglesRequest Not Working For Less Than 3 Digits

不问归期 提交于 2020-01-06 07:12:55

问题


I'm experimenting with Apple's Vision framework to detect the location of characters (letters, numbers, etc). Why can't I get the VisionBasics demo project to detect text in images with less than 3 digits?

I've already tried binarizing the image by reducing saturation and increasing contrast. I even tried inverting the black and white portions, but it didn't improve the results. The 2-digit images are approximately 28x24 pixels.

Link to Xcode Project:

https://docs-assets.developer.apple.com/published/422afa2a8c/DetectingObjectsInStillImages.zip

Please also see the unanswered question posted at: Vision, VNDetectTextRectanglesRequest - can't recognize single number as region

来源:https://stackoverflow.com/questions/54282757/vndetecttextrectanglesrequest-not-working-for-less-than-3-digits

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!