'commit'
This commit is contained in:
@@ -154,6 +154,8 @@ class ReadImageKit:
|
||||
- "name": 场站名称 (仅提取名称文字)
|
||||
- "address": 场站地址 (通常在名称下方,请完整提取地址文字)
|
||||
- "distance": 距离 (如 "1.2km", "800m" 等,如果存在请提取)
|
||||
- "total_piles": 总桩数 (如果存在请提取)
|
||||
- "free_piles": 空闲桩数 (如果存在请提取)
|
||||
- "is_valid": true/false (是否为真实的场站卡片)
|
||||
|
||||
注意:仅提取名称、地址和距离,不要包含价格。
|
||||
@@ -190,6 +192,8 @@ class ReadImageKit:
|
||||
"name": res.get("name"),
|
||||
"address": res.get("address"),
|
||||
"distance": res.get("distance"),
|
||||
"total_piles": res.get("total_piles"),
|
||||
"free_piles": res.get("free_piles"),
|
||||
"point": [(bbox[0] + bbox[2]) // 2, (bbox[1] + bbox[3]) // 2],
|
||||
"bbox": bbox
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user