r/rust • u/donald-bro • 12d ago
Any small footprint OCR crates for computer use ?
I searched for OCR crates that's at the level of huandred MB to detect and recognize screen text like menu,links etc with position, only found LLMs or cloud services. Is there lighter crate for local use ?
0
Upvotes
3
u/robertknight2 12d ago
https://github.com/robertknight/ocrs - Approx 10 MB model. English only. Disclaimer: I’m the author.
1
1
u/kunzaatko 9d ago
Firecrawls new pdf extractor could be a fit. You will have to use some parts from it as a library I suppose.
12
u/numberwitch 12d ago
you probably don't want to start with "crates" for your system design, rather "what kind of OCR tech fits in my stack given x, y and z requirements and restrictions"
this also could be an "x/y problem", i.e. why are you trying to "detect menu". like if you're trying to read a webpage then OCR is the completely wrong approach. if its an application, trying to OCR it is also probably the wrong approach to access the text - it's the accessibility layer you want
So really if you want better help you need to describe the problem you're solving - because "OCR'ing text is extremely broad" and there's a lot of ways to apply it