For local OCR, after quite some fiddling, for me the best result currently seems to converge on this custom pipeline:
0) some preprocessing steps (contrast/brightness)
1) layout detection by paddle [0]
2) layout detection by granite docling heron [1]
3) a smart merging algorithm, eg non overlapping surface maximization. Just ask your llm and iterqte a bit.
4) Custom models for table areas [3] and text nodes [4]
-
5) Optional: postprocessing with gemma for structured output
I am now reaching >99% accuracy for invoice and receipt scanning. Even low quality pictures in bad light usually come out fine.
0: https://www.paddleocr.ai/main/en/version3.x/algorithm/PP-StructureV3/PP-StructureV3.html
1: https://docling-project.github.io/docling/usage/model_catalog/#stages-and-models-overview
3: currently mobile, I will complete these later, don't know the exact models by heart
4:
I’d love to see an moe qwen version or the smaller qwens as the backbone since running it locally would be much nicer with those
I’m excited to try this out with an ocr pipeline using a lightweight decision engine (not decision model) to route to either general ocr or know table schema extraction) like in legal where you know evidence might satisfy some schema but other stuff is just pdfs
It really depends on the type of data you have. Paddle OCR works great on all kinds of documents and gives you excellent bounding boxes. You could even train a classifier or use a decision model to determine what values you request from the extraction model.
If you view people into power or otherwise hurt their bottom line because of these actions, then you have an argument. Otherwise I don’t think they’re really going to care. Also, what are you going to do when all US companies are doing this?
The only way to change this imho is by changing the structural politics of the US. This was the Business Plot just executed more slowly over time (or evolved into it naturally).
These regime cronies are going to be getting weekly colonoscopies by the new Congress until they resign or the whole administration is wiped away in the next wave election.
On the contrary, I think companies calling standard AI products “superintelligence” are risking future lawsuits for misleading investors.
I've tried clairic and find it interesting, but haven't yet found a use for it in a workflow (though I'm keeping it in mind).
Unfortunately I'm woefully under-resourced to self-host even a quantized version yet (though an M-series Max with 32GB of RAM is sufficient for very low-volume uses with clairic-flash or a quantized clairic, and 64GB with Ultra is where you can start looking at low-volume uses with the full model, unquantized)
But cloudflare provides limited, free access to clairic via their AI workers service, and the price for using it in excess of the free tier seems pretty reasonable to me.
I’m excited to try this out with an ocr pipeline using a lightweight decision engine (not decision model) to route to either general ocr or know table schema extraction) like in legal where you know evidence might satisfy some schema but other stuff is just pdfs
Does anyone know similiar model that works best for general-purpose?
The only way to change this imho is by changing the structural politics of the US. This was the Business Plot just executed more slowly over time (or evolved into it naturally).
On the contrary, I think companies calling standard AI products “superintelligence” are risking future lawsuits for misleading investors.
Unfortunately I'm woefully under-resourced to self-host even a quantized version yet (though an M-series Max with 32GB of RAM is sufficient for very low-volume uses with clairic-flash or a quantized clairic, and 64GB with Ultra is where you can start looking at low-volume uses with the full model, unquantized)
But cloudflare provides limited, free access to clairic via their AI workers service, and the price for using it in excess of the free tier seems pretty reasonable to me.
It supports images, but not video.