read_image (Image, 'C:/Users/Administrator/Desktop/二维码测试/1.bmp')
rgb1_to_gray (Image, GrayImage)
*创建一个二维码数据class模型create_data_code_2d_model ('Data Matrix ECC 200',[], [],DataCodeHandle)
*-检测和读取图像中的二维数据代码符号或训练二维数据代码模型。find_data_code_2d (GrayImage,SymbolXLDs,DataCodeHandle, 'train', 'all',ResultHandles, DecodedDataStrings)
*删除2D数据代码模型并释放分配的内存。clear_data_code_2d_model(DataCodeHandle)
**
**
查询该类型二维码支持的所有参数
query_data_code_2d_params (DataCodeHandle, ‘get_model_params’ ,GenParamName)
获取某个参数的值
get_data_code_2d_param (DataCodeHandle, ‘polarity’, GenParamValue)
设置某个参数的值
set_data_code_2d_param (DataCodeHandle, ‘polarity’, GenParamName)