yan chuanli há 2 anos atrás
pai
commit
dc5912fdd0
2 ficheiros alterados com 2 adições e 2 exclusões
  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]