返回顶部
t

taxi_expense

识别滴滴打车订单截图,OCR识别文字+坐标,马赛克脱敏目的地,按月生成报销Excel

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.0
安全检测
已通过
99
下载量
0
收藏
概述
安装方式
版本历史

taxi_expense

When user sends taxi order screenshots: ## Setup (first time only) ```bash bash ~/.openclaw/workspace/skills/taxi_expense/scripts/setup.sh ``` ## Process Screenshots ```bash node ~/.openclaw/workspace/skills/taxi_expense/scripts/process.js <image1> [image2] ... ``` The script will: 1. OCR each image with Tesseract.js v4 (uses coordinates to detect text positions) 2. Parse orders: date, time, start/end point, amount 3. Smart amount extraction: handles OCR misreads (¥→%, missing ¥, missing decimal) 4. Filter: only **weekday evening rides (after 21:00)** qualify for reimbursement 5. Auto-exclude closed/cancelled orders (amount = ¥0) 6. White block desensitization on destination address in screenshots (keeps first/last char visible) 7. Desensitize destination text in Excel (e.g. 古*****门) 8. Save screenshots to `~/.openclaw/workspace/taxi_expense/screenshots/` 9. Update `~/.openclaw/workspace/taxi_expense/taxi_data.json` (auto-dedup by date+amount) 10. Generate monthly Excel: `~/.openclaw/workspace/taxi_expense/YYYY-MM-taxi_expense.xlsx` ## Excel Columns 序号 | 日期 | 星期 | 时间 | 起点 | 终点(脱敏) | 金额 | 备注 Sheet 2 contains mosaiced order screenshots. ## Output Tell user: - How many new orders were added - Monthly totals (reimbursable orders only) - Any skipped orders and why (weekend, before 21:00, closed, ¥0) ## Send Preview (only if user asks) The script saves desensitized screenshots to the `screenshots/` directory. Send via: ```bash openclaw message send --channel telegram --target <chat_id> --message "msg" --media <file.xlsx> ``` ## Known Issues - Tesseract Chinese quality is imperfect ("点"→"炭", "轻享"→"轻亭") - Uses regex `/终[点炭]/` for tolerant matching - Amount recognition: ¥ may be misread as % or lost entirely - Amount > 500 is auto-corrected (missing decimal: 1970→19.70) - Source images must be ORIGINAL screenshots (not previously processed/cropped) - Multiple images supported: `node process.js img1 img2 img3`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 taxi-expense-1775936677 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 taxi-expense-1775936677 技能

通过命令行安装

skillhub install taxi-expense-1775936677

下载 Zip 包

⬇ 下载 taxi_expense v1.1.0

文件大小: 23.3 KB | 发布时间: 2026-4-12 11:37

v1.1.0 最新 2026-4-12 11:37
Fix: multi-image support, OCR amount tolerance (%¥, missing ¥, missing decimal), weekday 21:00+ filter, exclude closed orders, white block desensitization, Excel destination masking, weekday column

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部