码迷,mamicode.com
首页 > 其他好文 > 详细

Halcon二维码识别

时间:2020-02-25 20:16:48      阅读:198      评论:0      收藏:0      [点我收藏+]

标签:can   app   nal   stand   automatic   not   should   ongl   process   

Stack Code: PDF417

Matrix Code: Data Matrix ECC200,QR Code,Micro QR Code,Aztec Code

3种识别模式:standard mode,enhanced mode,maximum recognition mode

create_data_code_2d_model (SymbolType[Index], ‘default_parameters‘, ‘standard_recognition‘, DataCodeHandleStandard)
create_data_code_2d_model (SymbolType[Index], ‘default_parameters‘, ‘enhanced_recognition‘, DataCodeHandleEnhanced)
create_data_code_2d_model (SymbolType[Index], ‘default_parameters‘, ‘maximum_recognition‘, DataCodeHandleMaximum)

  It is strongly recommended to use the standard mode and additionally adjust the parameters either by applying an automatic training (see next section) or by setting specific parameters manually. But note that if your symbols cannot be decoded in enhanced or maximum mode, apart from a few exceptions, a further adaptation of the model will not work either. In such a case, you should enhance the quality of your images. This can be done either during the image acquisition (pay attention,e.g., to the lighting conditions), which is recommended, or by a preprocessing.

query_data_code_2d_params (DataCodeHandle, ‘get_model_params‘, GenParamName) //获取模型参数
get_data_code_2d_param (DataCodeHandle, GenParamName, ModelBeforeTraining) //获取参数值

 

Halcon二维码识别

标签:can   app   nal   stand   automatic   not   should   ongl   process   

原文地址:https://www.cnblogs.com/larry-xia/p/12363059.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!