【开篇】先开个篇,后期逐步更新...
Halcon22.05版本的deep ocr功能很好用,就是速度慢了些,识别准确率几乎无敌。
只识别数字,可以设置如下:
create_deep_ocr ('mode', 'recognition', DeepOcrHandle) set_deep_ocr_param (DeepOcrHandle, 'recognition_alphabet', ['0','1','2','3','4','5','6','7','8','9'])
查看默认识别的字符
get_deep_ocr_param (DeepOcrHandle, 'recognition_alphabet', GenParamValue) get_deep_ocr_param (DeepOcrHandle, 'recognition_alphabet_internal', GenParamValue1) get_deep_ocr_param (DeepOcrHandle, 'recognition_alphabet_mapping', GenParamValue2)
【参考博客】
Deep_OCR_workflow - Edmund2053 - 博客园 (cnblogs.com)
标签:OCR,alphabet,DeepOcrHandle,deep,Halcon,param,ocr,recognition From: https://www.cnblogs.com/xixixing/p/16768377.html