doctr
scantailor-universal
doctr | scantailor-universal | |
---|---|---|
12 | 12 | |
3,075 | 170 | |
5.7% | - | |
8.9 | 4.1 | |
1 day ago | 9 months ago | |
Python | C++ | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
doctr
-
Show HN: How do you OCR on a Mac using the CLI or just Python for free
https://github.com/mindee/doctr/issues/1049
I am looking for something this polished and reliable for handwriting, does anyone have any pointers? I want to integrate it in a workflow with my eink tablet I take notes on. A few years ago, I tried various models, but they performed poorly (around 80% accuracy) on my handwriting, which I can read almost 90% of the time.
-
Show HN: BetterOCR combines and corrects multiple OCR engines with an LLM
Yup! But I'm still exploring options. (any recommendations would be welcomed!) Here are some candidates I'm considering:
- https://github.com/mindee/doctr
- https://github.com/open-mmlab/mmocr
- https://github.com/PaddlePaddle/PaddleOCR (honestly I don't know Mandarin so I'm a bit stuck)
- https://github.com/clovaai/donut - While it's primarily an "OCR-free document understanding transformer," I think it's worth experimenting with. Think I can sort this out by letting the LLM reason through it multiple times (although this will impact performance)
- yesterday got a suggestion to consider https://github.com/kakaobrain/pororo - I don't think development is still active but the results are pretty great on Korean text
-
OCR at Edge on Cloudflare Constellation
EasyOCR is a popular project if you are in an environment where you can use run Python and PyTorch (https://github.com/JaidedAI/EasyOCR). Other open source projects of note are PaddleOCR (https://github.com/PaddlePaddle/PaddleOCR) and docTR (https://github.com/mindee/doctr).
-
DeepDoctection
Last I checked I saw a grocery bill example using https://github.com/mindee/doctr and was fairly accurate. Bear in mind that was last year, hopefully it got even better or there are other libraries
-
Confidential Optical Character Recognition Service With Cape
For its OCR service, Cape uses the excellent Python docTR library. Some of the critical benefits of docTR are its ease of use, flexibility, and matching state-of-the-art performance. The OCR model consists of two steps: text detection and text recognition. Cape uses a pre-trained DB Resnet50 architecture for detection, and for recognition, it uses a MobileNetV3 Small architecture. To learn more about the level of OCR accuracy you can expect for your document, you can consult these benchmarks provided by docTR. As you will see, model performance is very competitive compared to other commercial services.
- 👋 Unstable Diffusion here, We're excited to announce our Kickstarter to create a sustainable, community-driven future.
-
Frog: OCR Tool for Linux
There's also DocTR which can do text detection and extraction out of the box.
It's command line driven but can display the detected text as an overlay of the document.
https://github.com/mindee/doctr
-
OCRmyPDF: Add an OCR text layer to scanned PDF file
If you want to OCR a document image, modern versions of Tesseract can work well. If you last used it a few years ago, the recognition has improved since due to a new text recognition algorithm that uses modern (deep learning) techniques. Browser demo using a modern version: https://robertknight.github.io/tesseract-wasm/.
OCR processing typically consist of two major steps: detecting/locating words or lines of text on the page, and recognizing lines of text.
Tesseract's text recognition uses modern methods, but the text detection phase is still based on classical methods involving a lot of heuristics, and you may need to experiment with various configuration variables to get the best results. As a result it can fail to detect text if you present it with something other than a reasonably clean document image.
Doctr (https://github.com/mindee/doctr) is a new package that uses modern methods for both text detection and recognition. It is pretty new however and I expect will take more time and effort to mature.
- DocTR: Open-Source OCR Based on TensorFlow or PyTorch
- DocTR: A seamless, high-performing and accessible library for OCR-related tasks
scantailor-universal
-
Looking for a website or tool that can enhance contrast and darken PDFs (like the magic effect of camscanner)
You could try ScanTailor: https://scantailor.org/
- Σκανάρισμα πανεπιστημιακών συγγραμμάτων
-
Z-Library to Let Users Share Physical Books
There's also https://scantailor.org/ (and a maintained fork at https://github.com/4lex4/scantailor-advanced ) which semi-automates unwarping and other corrective tasks in scanned books.
-
Is there a way to convert "photographed text" in to just "text" in a .pdf file?
Scantailor (https://scantailor.org) is the tool for self-scanned books that exist in images (png, jpg, etc). However, I usually use Irfanview with PDF plugin (https://irfanview.com - download both Irfanview and the Plugins from this home page) I have elsewhere in r/PDF shown how you can do batch splitting of two-page scans, clean up muddy pages (yellowed or browned) . In the Reddit search box, search for Irfanview in this subreddit. Irfanview has lots of commands, so the instructions are very specific, and which I did trial and error on before posting. This is because Irfanview is an image processor and viewer, and PDF transformations are recent to the last couple of years. Note that you will want to run OCR after Irfanview processing, as Irfanview treats PDFs as images (which is what you have now).
-
Is anyone backing up/reploading Archive.org's scanned books to Libgen, etc.?
Scantailor https://scantailor.org/ might be useful.
-
Where do you BUY your ebooks from?
scantailor is a good open source option that has a lot of features centered towards this process.
-
OCRmyPDF: Add an OCR text layer to scanned PDF file
I use OCRmyPDF on a regular basis to OCR journal articles my library sends me.
I've found it works great on English but (with appropriate language packs installed) works poorly on Greek and Hebrew. It also makes no effort to understand the layout of pages (e.g., tables).
The project is fantastic, though. I've often considered building a web frontend that cleans up PDFs and then OCRs them using OCRmyPDF.
For cleaning, check out https://scantailor.org/
- FOSS bottle label scanner
-
Tutorial on book digitization
Next is the cleanup. Scan Tailor is the best game in town for this, but it's a dead project. Instead, there are two forks that have picked up where the original developers left off. Scan Tailor Advanced is my current fork of choice, though Scan Tailor Universal tries to add new usability features. For whatever reason, only Advanced makes full use of my CPU, so it's several times faster than Universal for the time being.
- DIY Book Scanner
What are some alternatives?
EasyOCR - Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
scantailor-advanced - ScanTailor Advanced is the version that merges the features of the ScanTailor Featured and ScanTailor Enhanced versions, brings new ones and fixes.
tesserocr - A Python wrapper for the tesseract-ocr API
bookscan - Documentation and scripts for book scanning using free software tools
keras-ocr - A packaged and flexible version of the CRAFT text detector and Keras CRNN recognition model.
OpenCV - Open Source Computer Vision Library
mmocr - OpenMMLab Text Detection, Recognition and Understanding Toolbox
rtabmap - RTAB-Map library and standalone application
react-native-tesseract-ocr - Tesseract OCR wrapper for React Native
docus - Android application for scanning and managing documents.
deep-text-recognition-benchmark - Text recognition (optical character recognition) with deep learning methods, ICCV 2019
pi-scan - Pi Scan is a simple, robust capture appliance for book scanners. It runs on a Raspberry Pi 2.