halcon識別二維碼

QuincyYi發表於2024-10-02

read_image (Image, '1.jpg')
gen_rectangle1 (Rectangle_1, 1457, 99, 1801, 473)
crop_rectangle1 (Image, ImagePart, 1457, 99, 1801, 473)
create_data_code_2d_model ('QR Code', [], [], DataCodeHandle)
find_data_code_2d (ImagePart, SymbolXLDs, DataCodeHandle, [], [], \
ResultHandles, DecodedDataStrings)

相關文章