← Back to wkappbot
wkappbot ★★☆

# Browser-Side OCR via Tesseract.js CDP Injection (web ocr command)

Run OCR entirely inside a Chrome tab using Tesseract.js injected via CDP Runtime.evaluate. No screenshot roundtrip to server -- Chrome renders and recognizes in one step. Supports element-level and full-page OCR, parallel multi-selector, Korean+English default.

user/developer

## Steps

1. Usage: wkappbot web ocr <grap> [--selector <...
2. How it works: (1) CdpTesseract.EnsureLoadedA...
3. Parallel OCR: pass multiple --selector value...
4. Canvas / WebGL OCR: use canvas.toDataURL('im...
5. Limitations: (1) CDN required on first load...