원클릭으로
test-ocr
Run Tesseract OCR on an image and test the Shopee package parser
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run Tesseract OCR on an image and test the Shopee package parser
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Build and deploy the Life Manager app via Docker Compose
Scaffold a new Life Manager module (model, API, page, route)
Add a new table or column to the SQLite database schema
Compile Tailwind CSS from input.css to assets/main.css
| name | test-ocr |
| description | Run Tesseract OCR on an image and test the Shopee package parser |
| allowed-tools | Bash, Read, Write, Glob, Grep |
Test the Shopee OCR parsing pipeline on a local image.
Provide a path to a Shopee screenshot image (PNG/JPG).
Run Tesseract on the image:
tesseract <image_path> stdout -l chi_tra+eng --psm 3
Save the raw OCR output to /tmp/ocr_raw.txt
Run the normalization + parser test by compiling and executing a temporary Rust program that:
/tmp/ocr_raw.txtnormalize_ocr_text() (copy the function from src/api/shopee.rs)find_store_headers(), extract_title_from_section(), extract_store_from_section(), extract_code_from_section(), extract_due_date()Report:
Use this to iterate on OCR parsing improvements. The parser source is in src/api/shopee.rs (functions after line 66).