修正变量没有同步修改的问题

This commit is contained in:
2024-07-25 16:23:54 +08:00
parent b02d93a473
commit 0c2bfb4d0f

View File

@@ -151,7 +151,7 @@ def get_mask_layout(image, name, id_card_num):
for m in match_list:
if m in layout[1]:
boxes += find_boxes(m, layout, offset=len(m), length=key["length"])
if matches:
if match_list:
break
return boxes