AI Agent Hub
Back to skills
Multi-Ticket OCR Assistant icon

Multi-Ticket OCR Assistant

Knowledge Management Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_e7bc6b23/ticket-ocr-skill into the current AI assistant.

About this skill

Problem

Ticket recognition usually appears in reimbursement, itinerary archiving, and field entry. Movie tickets, train tickets, flight tickets, concert tickets, VAT electronic invoices, and PDFs have inconsistent layouts. Manual transcription can miss seats, train numbers, amounts, or invoice numbers. With multiple images or multi-page PDFs, opening each file and copying data into Markdown or JSON becomes tedious.

How It Works

This Skill uses Tesseract-OCR for text recognition and adds ticket-oriented field parsing.

  • Input: accepts ticket images and PDFs; PDFs are converted to images before OCR, with multi-page and mixed image/PDF batch processing supported.
  • Parsing: automatically infers ticket type, such as movie, train, flight, concert, or event tickets, then extracts relevant fields: title, venue, hall, seat, train number, stations, flight number, date, time, price, and invoice fields.
  • Output: produces Markdown, JSON, or --smartsheet smart-table output. The smart-table mode emits invoice number, issue date, total amount, and inferred invoice category for integration with WeCom smart sheets.

Boundaries

Accuracy depends on image clarity, complete ticket text, and language packs. Cropped, blurred, reflective, or low-resolution tickets may cause missing fields. Standard date formats are more stable. Custom ticket types may require parser extension. It is suitable for structured drafting and batch cleanup, not for formal financial audit or invoice verification.

Use Cases

  • Convert multiple e-invoice PDFs into invoice number, issue date, and total amount fields for reimbursement.
  • Batch process movie and train ticket screenshots to extract halls, seats, train numbers, and stations for itinerary logs.
  • Output invoice category, invoice number, issue date, and total amount via --smartsheet for WeCom smart sheets.
  • Extract event name, time, and location from ticket images and generate a Markdown summary report.

Best For

  • Finance or admin staff who need reimbursement receipts structured into invoice fields
  • Ops or project assistants archiving travel and event tickets into Markdown or JSON
  • Maintainers integrating invoice fields into WeCom smart sheets
  • Script developers extending ticket types or custom field extraction rules