'commit'
This commit is contained in:
@@ -161,7 +161,7 @@ class XinDianTuService:
|
||||
|
||||
async def process_station_list_hybrid(self, local_image_path: str, uploader, cdn_domain) -> list:
|
||||
"""
|
||||
混合模式处理场站列表 (图形学切片 + OCR)
|
||||
混合模式处理场站列表 (图形学切片 + VL)
|
||||
"""
|
||||
station_list = await ReadImageKit.parse_hybrid_image(local_image_path, uploader, cdn_domain)
|
||||
if not station_list:
|
||||
@@ -207,9 +207,10 @@ class XinDianTuService:
|
||||
"type": "未知",
|
||||
"power": "",
|
||||
"status_text": f"空闲{free}/总{total}",
|
||||
"remark": "混合模式解析"
|
||||
"remark": "列表页VL"
|
||||
})
|
||||
except: pass
|
||||
except:
|
||||
pass
|
||||
|
||||
price_str = station.get("price", "")
|
||||
current_price = None
|
||||
@@ -431,7 +432,7 @@ class XinDianTuService:
|
||||
"type": p_type,
|
||||
"power": "",
|
||||
"status_text": f"空闲{f_int}/总{t_int}",
|
||||
"remark": "列表页OCR"
|
||||
"remark": "列表页VL"
|
||||
})
|
||||
else:
|
||||
# 模式 2: 无类型,仅 "2/10"
|
||||
@@ -445,7 +446,7 @@ class XinDianTuService:
|
||||
"type": "未知",
|
||||
"power": "",
|
||||
"status_text": f"空闲{f_int}/总{t_int}",
|
||||
"remark": "列表页OCR"
|
||||
"remark": "列表页VL"
|
||||
})
|
||||
|
||||
if not standardized_piles:
|
||||
@@ -459,7 +460,7 @@ class XinDianTuService:
|
||||
"type": "未知",
|
||||
"power": "",
|
||||
"status_text": f"空闲{free}/总{total}",
|
||||
"remark": "列表页OCR兜底"
|
||||
"remark": "列表页VL兜底"
|
||||
})
|
||||
|
||||
# 解析价格
|
||||
|
||||
Reference in New Issue
Block a user