{"repo":"robertknight/ocrs","free":true,"listed":false,"github":"https://github.com/robertknight/ocrs","clone":"git clone https://github.com/robertknight/ocrs.git","description":"Rust library and CLI tool for OCR (extracting text from images)","language":"Rust","stars":1870,"topics":["computer-vision","machine-learning","ocr"],"license":"Apache-2.0","category":"machine-learning","readme_excerpt":"Ocrs ocrs is a Rust library and CLI tool for extracting text from images, also known as OCR (Optical Character Recognition). The goal is to create a modern OCR engine that: - Works well on a wide variety of images (scanned documents, photos containing text, screenshots etc.) with zero or much less preprocessing effort compared to earlier engines like [Tesseract][tesseract]. This is achieved by using machine learning more extensively in the pipeline. - Is easy to compile and run across a variety of platforms, including WebAssembly - Is trained on open and liberally licensed datasets - Has a codebase that is easy to understand and modify Under the hood, the library uses neural network models trained in [PyTorch][pytorch], which are then exported to [ONNX][onnx] and executed using the [RTen][rten] engine. See the models section for more details. [onnx]: https://onnx.ai [pytorch]: https://pytorch.org [rten]: https://github.com/robertknight/rten [tesseract]: https://github.com/tesseract-ocr/tesseract Status ocrs is currently in an early preview. Expect more errors than commercial OCR engines. Language Support ocrs currently recognizes the Latin alphabet only (eg. English). Support for more languages is planned. CLI installation To install the CLI tool, you will first need Rust and Cargo installed. Then run: To enable support for reading images from the system clipboard, add the clipboard feature: CLI usage To extract text from an image, run: When the tool is run for the first time","default_branch":null,"files":null,"tree":[],"storefront":"/r/robertknight","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/robertknight/ocrs/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."}