yan chuanli il y a 2 ans
Parent
commit
dc5912fdd0
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  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]