|
|
@@ -8,21 +8,21 @@ from datetime import datetime
|
|
|
|
|
|
# --- 配置区域 ---
|
|
|
# 1. 服务 URL
|
|
|
-INFERENCE_SERVICE_URL = "http://127.0.0.1:7744"
|
|
|
-STORAGE_SERVICE_URL = "http://127.0.0.1:7745"
|
|
|
+# INFERENCE_SERVICE_URL = "http://127.0.0.1:7744"
|
|
|
+# STORAGE_SERVICE_URL = "http://127.0.0.1:7745"
|
|
|
|
|
|
-# INFERENCE_SERVICE_URL = "http://192.168.31.243:7744"
|
|
|
-# STORAGE_SERVICE_URL = "http://192.168.31.243:7745"
|
|
|
+INFERENCE_SERVICE_URL = "http://192.168.31.243:7744"
|
|
|
+STORAGE_SERVICE_URL = "http://192.168.31.243:7745"
|
|
|
|
|
|
# 2. 要处理的卡片信息
|
|
|
formate_time = datetime.now().strftime("%Y-%m-%d_%H:%M")
|
|
|
CARD_NAME = f"卡 {formate_time}"
|
|
|
|
|
|
# 3. 四张卡片图片的本地路径
|
|
|
-front_face_img_path = r"C:\Code\ML\Image\Card\_250915_many_capture_img\_250919_1500_no_reflect_nature_defect\15_front_coaxial_1_0.jpg"
|
|
|
-front_edge_img_path = r"C:\Code\ML\Image\Card\_250915_many_capture_img\_250919_1500_no_reflect_nature_defect\15_front_ring_0_1.jpg"
|
|
|
-back_face_img_path = r"C:\Code\ML\Image\Card\_250915_many_capture_img\_250919_1500_no_reflect_nature_defect\15_back_coaxial_1_0.jpg"
|
|
|
-back_edge_img_path = r"C:\Code\ML\Image\Card\_250915_many_capture_img\_250919_1500_no_reflect_nature_defect\15_back_ring_0_1.jpg"
|
|
|
+front_face_img_path = r"C:\Code\ML\Image\Card\_250915_many_capture_img\_250915_1643_no_reflect_hand_defect\7_front_coaxial_1_0.jpg"
|
|
|
+front_edge_img_path = r"C:\Code\ML\Image\Card\_250915_many_capture_img\_250915_1643_no_reflect_hand_defect\7_front_ring_0_1.jpg"
|
|
|
+back_face_img_path = r"C:\Code\ML\Image\Card\_250915_many_capture_img\_250915_1643_no_reflect_hand_defect\7_back_coaxial_1_0.jpg"
|
|
|
+back_edge_img_path = r"C:\Code\ML\Image\Card\_250915_many_capture_img\_250915_1643_no_reflect_hand_defect\7_back_ring_0_1.jpg"
|
|
|
IMAGE_PATHS = [
|
|
|
front_edge_img_path,
|
|
|
front_face_img_path,
|