Tesseract.js
OCRmyPDF
Tesseract.js | OCRmyPDF | |
---|---|---|
32 | 77 | |
33,577 | 12,067 | |
1.9% | 2.7% | |
8.2 | 9.5 | |
7 days ago | 9 days ago | |
JavaScript | Python | |
Apache License 2.0 | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Tesseract.js
-
I am out of the loop. Is Next.js "the future" and something I should consider adding to my knowledge pool?
What do you have against tesseract.js?
-
Browser Based Document Recognition
Are you able to use a OCR library in the browser? Here is one I found
- Scanare și digitizare bonuri – n-ar trebui să meargă mai bine cu generația asta de AI?
-
what is the best package to read text content from a pdf in js?
But keep in mind, PDFs can be fully or partially made of images, and if you want text out of those, you will need to OCR them. There's tesseract.js for that.
-
Can anyone comment on the state of the tech or recommend a package that can convert an uploaded photo of handwriting into text ?
Tesseract.js
-
Extract information from image into JSON
YOu could try using tesseract.js to OCR the images. Though might be a challenge to figure out the times/days of the classes.
-
WebDev Recommendations to Mimic AWS Textract Demo Functionality
I've never used it - but Tesseract.js looks interesting. Perhaps you can use it as a foundation on which to build something like the AWS tool (which seems to work by overlaying an SVG over the top of the image, then manipulates that SVG when user clicks on a results tag to get the word/phrase's highlight box to display)?
- Can I use OCR to recognize text and then paste its contents elsewhere?
-
How to implement invoice OCR on React Native
I tried researching a little on this topic, so from what I understand to achieve this feature, I would need a library that supports Optical character Recognition (OCR) such as Tesseract.js or Google ML Kit to do it. However, I'm not too sure if these libraries will be supported on React Native apps.
-
Word Quake - write words, avoid the shakes, powered by Tesseract.js
It's definitely one of the best for on-the-fly OCR, but I think a server-based implementation using Google's Vision API would be way better. Definitely not mine, the AI used here is way beyond my skill level - link: https://tesseract.projectnaptha.com/
OCRmyPDF
-
TextSnatcher: Copy text from images, for the Linux Desktop
Try https://github.com/ocrmypdf/OCRmyPDF - it uses Tesseract behind the scenes and it absolutely brilliant.
- FLaNK Stack Weekly 19 Feb 2024
-
Calibre – New in Calibre 7.0
I recommend running any such PDFs through OCRmyPDF.
https://github.com/ocrmypdf/OCRmyPDF
-
A better document viewer
If by "like a photocopy" you mean the file contains images of text rather than text, the MacOS viewer presumably does OCR on the images. I don't know if there's a Linux document viewer with that capability built-in, but a quick search turned up the standalone tool OCRmyPDF.
- Gibts ein (CLI) tool, das Kontrast und Helligkeit von gescannten Textdokumenten dynamisch anpasst?
-
OCR for a full pdf on Neoreader
For anyone interested I solved the problem by first ocr files through the free and open source software ocrmypdf avaible here
-
ELI5: why is PDF such a widespread text format, instead of a format that's actually easier to edit?
ocrmypdf is nice for stuff like that.
- Donut: OCR-Free Document Understanding Transformer
-
massive crop and OCR newspaper
Use imagemagick to convert them to PDF and ocrmypdf to straighten and OCR. See this explanation.
-
OCR pdf and just keep the OCR text
Fair enough, maybe this might work for you, it should seperate the text from image anyway and if you have Adobe acrobat it should be able delete the background too with the edit function. It may already be able to do that if you haven't tried it
What are some alternatives?
PaddleOCR - Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)
Brain.js - Simple feed-forward neural network in JavaScript
pdfplumber - Plumb a PDF for detailed information about each char, rectangle, line, et cetera — and easily extract text and tables.
EasyOCR - Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
tesserocr - A Python wrapper for the tesseract-ocr API
Keras.js - Run Keras models in the browser, with GPU support using WebGL
Paperless-ng - A supercharged version of paperless: scan, index and archive all your physical documents
sharp - High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
invoice2data - Extract structured data from PDF invoices
ConvNetJS - Deep Learning in Javascript. Train Convolutional Neural Networks (or ordinary ones) in your browser.
pdfminer.six - Community maintained fork of pdfminer - we fathom PDF