本文介绍了我可以将OCR文本控制为有限的字符集吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


   我正在开发一个利用OCR的应用程序。图片只包含有限的字符集(例如,只有6个大写的英文字符和10个数字,而不是26x2或特殊字符)。我发现
的准确度与预期不符,我想如果我可以输入字符集信息作为优化,那么它可以帮助算法识别文本。该提议附于belwo。


POST vision / v1 / ocr?language = zh-Hans& detectOrientation = true

主持人:api .projectoxford.ai

Ocp-Apim-Subscription-Key:•••••••••••••••••••••••••••••• ••

内容长度:236

内容类型:application / json



{" Url ": http://contoso.com/images/test1.jpg,

解决方案


Hi,

    I'm developing an application that leverages OCR. The image only contains limited character set (e.g. only 6 English characters in upper case and 10 digits, not 26x2 or special characters). I found the accuracy is not as expected, and I think if I can input the character set information as optimization, then it may helps the algorithm to recognize the text. The proposal is attached belwo.

POST vision/v1/ocr?language=zh-Hans&detectOrientation =true
Host: api.projectoxford.ai
Ocp-Apim-Subscription-Key: ••••••••••••••••••••••••••••••••
Content-Length: 236
Content-Type: application/json

{ "Url": http://contoso.com/images/test1.jpg,"CharacterSet": "0123456789ABCDEF"}

解决方案


这篇关于我可以将OCR文本控制为有限的字符集吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 03:48