Skip to content

Commit 345dd9e

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

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

CONTRIBUTING.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
### 更新日志
2-
#### DatasetToolsV1.1.2 - 2023-08-30
3-
* 输出最大文本检框数量
2+
3+
#### DatasetToolsV1.1.3 - 2023-09-27
4+
* 降低箱型校验标准
45
---
56

7+
68
<details onclose>
79
<summary>查看更多更新日志</summary>
810

11+
#### DatasetToolsV1.1.2 - 2023-08-30
12+
* 输出最大文本检框数量
13+
---
14+
15+
916
#### DatasetToolsV1.1.1 - 2023-08-23
1017
* 制作文本检测数据集时需要判断txt文件存不存在
1118
---

dataset_tools/jade_create_paddle_ocr_datasets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ 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",
101+
self.model_list = ["G", "V", "B", "S", "R", "H", "U", "P", "T", "A","D"
102102
"K"] ##箱型校验规则,一共四位数,第三位为英文字母满足一定规则,第1位为0-9的数字
103103
try:
104-
if conta_model[2] in self.model_list and conta_model[0].isdigit():
104+
if conta_model[2] in self.model_list:
105105
return True
106106
else:
107107
return False

0 commit comments

Comments
 (0)