Giter Site home page Giter Site logo

win-ocr-rs's Introduction

win-ocr

win_ocr at crates.io win_ocr at docs.rs Build Fmt Clippy

A library for Rust to do OCR on Windows.

Usage

use win_ocr::ocr;

let ocr_text: String = ocr("/path/to/file.png").unwrap();
assert_eq!(ocr_text, "OCR Text");

win-ocr-rs's People

Contributors

jichoup avatar

Stargazers

Mayo avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

win-ocr-rs's Issues

OCR from Dynamic Image

Is your feature request related to a problem? Please describe.
rsAutoGUI saves a screenshot as a dynamicimage so I need to save the screenshot to disk just to read it from the disk

Describe the solution you'd like
Having a function that reads the image from a dynamic image type

Describe alternatives you've considered
Saving image to disk and reading it. Doing this is fine, but it feels like a bit of a burden to drives if you need to do this multiple times a second.
Converting the dynamic image to a SoftwareBitmap. Doesn't seem viable

Additional context
Hi, thanks for a simple OCR library that doesn't require the end user to download a model which is also easy to use. Hope you can guide me on either working around the issue or adding the feature.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.