修正变量没有同步修改的问题
This commit is contained in:
@@ -151,7 +151,7 @@ def get_mask_layout(image, name, id_card_num):
|
|||||||
for m in match_list:
|
for m in match_list:
|
||||||
if m in layout[1]:
|
if m in layout[1]:
|
||||||
boxes += find_boxes(m, layout, offset=len(m), length=key["length"])
|
boxes += find_boxes(m, layout, offset=len(m), length=key["length"])
|
||||||
if matches:
|
if match_list:
|
||||||
break
|
break
|
||||||
return boxes
|
return boxes
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user