EXTENSIONS
Classify Post Pdf
Read the key details off a scanned letter (PDF): sender, date, recipient and address, document type (bill, statement, invoice, reminder, notice or other), reference numbers and other facts. scan renders the top of a page in-process with PDFium (WebAssembly) and has an installed @zts/qianfan-ocr behavior read it, all on this machine. scanBatch reads many letters with one load of the model; listPdfs and the scan-mail workflow read a whole directory of post with it.
Qianfan Ocr
Run the Qianfan-OCR vision-language model (baidu/Qianfan-OCR) locally to read text or structured details from an image, with a prompt you give. install builds the Python environment with uv and downloads the model at a pinned revision ahead of time; extract reads one image and never downloads, so a run never stalls on a multi-GB fetch; extractBatch reads many images with one load of the model. Runs on Apple silicon (MPS), CUDA or CPU, and takes turns on the model across the machine. Needs uv.
Apple Vision Ocr
Read the text in local images with Apple's on-device Vision framework and their TIFF/IPTC copyright metadata, then flag images carrying copyright notices or watermarks (©, "all rights reserved", stock agencies, cartoon syndicates, meme generators). macOS only; nothing to install, no network.