django-pgtrigger
PaddleOCR
django-pgtrigger | PaddleOCR | |
---|---|---|
3 | 60 | |
511 | 38,704 | |
0.8% | 2.7% | |
6.6 | 8.7 | |
4 days ago | 6 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | Apache 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.
django-pgtrigger
-
How Postgres Triggers Can Simplify Your Back End Development
For Django there's https://github.com/Opus10/django-pgtrigger that makes it possible to define triggers right in your models, so you have everything in one place.
-
This Week in Python
django-pgtrigger – Write Postgres triggers for your Django models
-
A lightweight alternative to Celery for Django-PostgreSQL apps.
Note that have now ditched our post_save signal from the previous solution. As we pointed out, signals can easily be missed. Instead, we are using a Postgres trigger : defining the listener as it is above makes use of the django-pgtrigger library to write a Postgres trigger to our database, the job of which is to notify our channel whenever a Comment is inserted in to the database. Triggers are far more robust than signals for detecting database write events; application level triggers can easily be missed, whereas triggers will always be executed.
PaddleOCR
-
Leveraging GPT-4 for PDF Data Extraction: A Comprehensive Guide
PyTesseract Module [ Github ] EasyOCR Module [ Github ] PaddlePaddle OCR [ Github ]
-
What is the best repo for hand written text recognition?
My default recommendation for OCR is https://github.com/PaddlePaddle/PaddleOCR but most of the examples there are not handwritten - so I'm not sure how well it'll handle it this time.
-
Ask HN: Best way to perform complex OCR task in 2023?
Other than EasyOCR and Tesseract, PaddleOCR (https://github.com/PaddlePaddle/PaddleOCR) is probably the most well known open-source OCR solution.
What are you planning to do with the text after detecting / recognizing it? How fast does the detection / recognition need to be in order to be useful?
-
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
-
How would you go about driving contextual data from images?
For images with text, if you want to do visual qa, document classification, table/key information extraction, checkout https://huggingface.co/blog/document-ai https://github.com/philschmid/document-ai-transformers https://github.com/google-research/pix2struct https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.6/ppstructure/README.md
-
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).
-
Seeking Advice for Improving OCR Accuracy in a Code Snippet Reader Project
I think you can train tesseract with custom data if you have enough, or you can use deep learning models like https://pyimagesearch.com/2020/08/17/ocr-with-keras-tensorflow-and-deep-learning or https://www.google.com/amp/s/nanonets.com/blog/attention-ocr-for-text-recogntion/amp/ or try other existing tools like paddle-ocr https://github.com/PaddlePaddle/PaddleOCR
-
How do you parse tables in PDF with langchain? Especially, the context which is few lines above and below the table.
https://huggingface.co/blog/document-ai https://github.com/microsoft/table-transformer https://github.com/google-research/pix2struct https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.6/ppstructure/table/README.md
-
unable to install paddleocr on m1 mac
when following the installation commands present in the paddleocr repo(https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.6/doc/doc_en/quickstart_en.md) im still unable to install paddleocr. paddlepaddle is successfully installed on my m1 mac with python3.9.16 but while installing paddleocr im getting this error after long pip backtracking
-
Donut: OCR-Free Document Understanding Transformer
When I was evaluating options a few months ago I found https://github.com/PaddlePaddle/PaddleOCR to be a very strong contender for my use case (reading product labels), but you'll definitely want to put together some representative docs/images and test a bunch of solutions to see what works for you.
What are some alternatives?
psycopg2 - PostgreSQL database adapter for the Python programming language
EasyOCR - Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
queries - PostgreSQL database access simplified
tesseract-ocr - Tesseract Open Source OCR Engine (main repository)
txpostgres - Twisted wrapper for asynchronous PostgreSQL connections
mmocr - OpenMMLab Text Detection, Recognition and Understanding Toolbox
asyncpg - A fast PostgreSQL Database Client Library for Python/asyncio.
Tesseract.js - Pure Javascript OCR for more than 100 Languages 📖🎉🖥
Python PG Extras - Python PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more.
OCRmyPDF - OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched
awesome-mysql - A curated list of awesome MySQL software, libraries, tools and resources
keras-ocr - A packaged and flexible version of the CRAFT text detector and Keras CRNN recognition model.