Skip to content

Commit 3d7dcfc

Browse files
committed
* 降低箱型校验标准
1 parent 345dd9e commit 3d7dcfc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

dataset_tools/jade_create_paddle_ocr_datasets.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ def check_well_conta(self, conta):
9898
return False
9999

100100
def check_well_model(self, conta_model):
101-
self.model_list = ["G", "V", "B", "S", "R", "H", "U", "P", "T", "A","D"
102-
"K"] ##箱型校验规则,一共四位数,第三位为英文字母满足一定规则,第1位为0-9的数字
101+
self.model_list = ["G", "V", "B", "S", "R", "H", "U", "P", "T", "A","K","0","1"] ##箱型校验规则,一共四位数,第三位为英文字母满足一定规则,第1位为0-9的数字
103102
try:
104103
if conta_model[2] in self.model_list:
105104
return True

0 commit comments

Comments
 (0)