pdf-contract-redactor
Installation
SKILL.md
PDF Contract Redactor
Redact sensitive values from scanned PDF contracts while preserving field names.
What It Does
- OCR Recognition: Uses Alibaba Cloud OCR to extract text and positions from scanned PDFs
- Field-Value Matching: Finds field names (e.g., "合同金额") and their corresponding values (e.g., "45640元")
- Selective Redaction: Covers only the values with black boxes, keeping field names readable
Workflow
Step 1: PDF to Images
Convert PDF pages to high-resolution PNG images (200 DPI) for OCR.