9 comments

  • Koffiepoeder 1 hour ago
    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:
    • ybkshaw 1 hour ago
      I'm very interested in what this pipeline looks like - care to share more about this process? I ask because I'm interested in doing document scanning for my family and my small business and ultimately I want to be able to keep an OCR'd, searchable-text archive of anything that comes in, and have an LLM auto categorize and input things like medical expenses into a tax deduction section of my document management app.
      • deanc 1 hour ago
        Comment below me mentioned paperless-ngx. It has built in OCR (not sure which lib) but it's quite excellent and does a good enough job getting most of the text out. The main thing is getting most of the keywords indexable so you can find them later - not necessarily getting a perfect transcription. It also does auto classification of sends and tags and such. It's pretty good.
      • ArtRichards 1 hour ago
        i have a stack for this built around paperless-ngx. Been thinking about open sourcing it. Interested?
        • kevsamuel 1 hour ago
          Very much. OCR is solved, good open source OCR is not, and the alternative is to pay for an expensive 3rd party service.

          I would love to have an internal stack.

          Speed and cost are an issue right now.

    • troupo 1 hour ago
      Why not just use PaddleOCR? I get excellent results from it.
  • kingcauchy 2 hours ago
    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

    • Youden 53 minutes ago
      I have a DGX Spark with Qwen3.8-Flash-Next hooked up to Paperless as the OCR engine, it works really well. I even had it (Qwen) build some kind of abomination combining Qwen's ability to recognize and nicely format text with Tesseract's ability to produce word positions so that the PDFs have selectable text.
    • janalsncm 56 minutes ago
      Honestly I’d be curious to see how this stacks up against something like qwen vl. The small quants can run on a laptop.
  • datadrivenangel 3 hours ago
    Very excited for Extraction models to catch on, as decision models helped remind developers that not everything needs to be agentic LLM calls.
    • reddmachine 3 hours ago
      Exactly this. Intelligence needs to be right-sized.
  • wiradikusuma 2 hours ago
    From the model page https://developers.cloudflare.com/workers-ai/models/clairic/... it seems it works for predefined templates? I.e. not usable for general-purpose "invoice OCR"?

    Does anyone know similiar model that works best for general-purpose?

    • bob1029 1 hour ago
      The best model I'm aware of for media (vision) is GPT6.x and it's not even close.

      I can open multiple PDFs on my screen, take a picture of it with my phone and then ask it to analyze all documents visible. I've never had it not handle something a human would be expected to.

    • fumeux_fume 1 hour ago
      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.
    • gHA5 1 hour ago
      What makes you think that? The `fields` part of the Usage section? Those look like example field identifiers to me.
      • wiradikusuma 18 minutes ago
        Yes, and they mentioned "system one" (like Jev). If it works "for any kind of printed document", they should make it explicit/clear in the documentation.
    • kingcauchy 2 hours ago
      LightOnOcr is a great one and basically the same backbone 0.8B and 4B and larger varieties
    • ArtRichards 1 hour ago
      ive had good luck with unlimited-ocr. Havent tried paddle yet.
    • hizlikovboy27 38 minutes ago
      [dead]
    • charan345 1 hour ago
      [dead]
  • puppycodes 4 hours ago
    keyword stuffing the term "superintelligence" like its gonna catch on is hilarious. Yay for open weights though :)
    • pupppet 4 hours ago
      Why do these companies feel the need to legitimize him. He’ll be gone in two years, but you’ll still want me as a customer.
      • vlovich123 2 hours ago
        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).

      • dc396 4 hours ago
        Because he can sic the Treasury, SEC or DOJ on you, regardless of merit, whereas you can't?
        • greggsy 3 hours ago
          He can’t sic them on to all tech companies at once
        • mullingitover 3 hours ago
          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.

          • literalAardvark 1 hour ago
            Well, let's work through it:

            - it sells better

            - AI means a lot of things, half of them antiquated symbolic systems

            - SI is just as aspirational a moniker as AI is

            - it's a completely different class of systems from old AI, and the capabilities are certainly super, if not actually intelligent

            Idk. I hate the term but it could be due to my TDS which is a certainty.

  • pcthrowaway 4 hours ago
    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.

    • reddmachine 4 hours ago
      It's great for g tickets, communication, email and other general extraction tasks. Would make more sense if they supported images and video.
      • selcuka 4 hours ago
        > Would make more sense if they supported images and video.

        It supports images, but not video.

        • reddmachine 3 hours ago
          Oh nice, I should try it out. Image segmentation would be dope.
  • visionwei 1 hour ago
    [dead]
  • emscb 53 minutes ago
    [dead]
  • vanshiglobal 2 hours ago
    [dead]