{"repo":"arcships/light-ocr","free":true,"listed":false,"github":"https://github.com/arcships/light-ocr","clone":"git clone https://github.com/arcships/light-ocr.git","description":"Fast, offline OCR for Node.js & C++. PP-OCRv6 with Core ML / WebGPU hardware acceleration — recognize text in images with confidence scores & coordinates. npm: @arcships/light-ocr","language":"C++","stars":480,"topics":["apple-silicon","computer-vision","coreml","cpp17","d3d12","image-processing","machine-learning","napi","native-addon","nodejs"],"license":"Apache-2.0","category":"machine-learning","readme_excerpt":"light-ocr English 简体中文 Fast, offline OCR for Node.js and C++. Recognize text in PDF, JPEG, PNG, or raw image data directly on your machine. light-ocr returns lines in reading order with confidence scores and quadrilateral coordinates. The Node.js package includes PP-OCRv6 Small, PDFium, a Chinese fallback font, and prebuilt components for macOS, Linux, and Windows—without postinstall or first-run downloads. --- --- Best for local OCR in Node.js apps, CLIs, desktop software, and native C++ integrations Inputs JPEG, PNG, PDF, encoded bytes, or decoded pixel buffers Outputs text, confidence, quadrilateral boxes, page metadata, and timing Distribution one npm install; CommonJS, ESM, TypeScript, and six prebuilt platforms Quick start Node.js 22 and 24 are supported. createEngine() automatically chooses the right execution mode for the current platform. If your application already decodes images, recognize() also accepts GRAY8 , RGB8 , BGR8 , and RGBA8 pixel data. PDF pages use the same package: CommonJS uses the same exports through require(\"@arcships/light-ocr\") . CLI The light-ocr command is available after install — no extra setup: Image commands are recognize (default), detect (boxes only), info (version diagnostics), and doctor (system diagnostics). A .pdf path routes directly to document OCR; document handles explicit multi-source jobs. Output uses a versioned schemaVersion: 1 contract. EXIF orientation is corrected automatically. See the CLI design and npm package README fo","default_branch":null,"files":null,"tree":[],"storefront":"/r/arcships","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/arcships/light-ocr/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}