yan chuanli 2 年之前
父节点
当前提交
dc5912fdd0
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      tools/convert_json.py
  2. 1 1
      tools/suffix.py

+ 1 - 1
tools/convert_json.py

@@ -6,7 +6,7 @@ import base64
 from itertools import chain
 
 url = 'http://192.168.199.27:18040'
-imgs_path = '../户口本筛选后样本集0927'
+imgs_path = '../img'
 
 def send_request(img_path, image_type = 0):
     with open(img_path, 'rb') as f:

+ 1 - 1
tools/suffix.py

@@ -4,7 +4,7 @@ from itertools import chain
 import sys
 
 # conf
-target_path = '../户口本筛选后样本集0927'
+target_path = '../户口本/0'
 #suffix = sys.argv[2]
 suffix = 'jpg' if len(sys.argv) != 3 else sys.argv[2]