frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

4•martinald•9mo ago
I've got very used to using the "big" LLMs for analysing PDFs

Now llama.cpp has vision support; I tried out PDFs with it locally (via LM Studio) but the results weren't as good as I hoped for. One time it insisted it couldn't do "OCR", but gave me an example of what the data _could_ look like - which was the data.

The other major problem is sometimes PDFs are actually made up of images; and it got super confused on those as well.

Given this is so new I'm struggling to find any tools which make this easier.

Comments

raymond_goo•9mo ago
Try something like this

  !pip install pytesseract pdf2image pillow
  !apt install poppler-utils
  #!apt install tesseract-ocr
  from pdf2image import convert_from_path
  import pytesseract

  pages = convert_from_path('k.pdf', dpi=300)

  all_text = ""
  for page_num, img in enumerate(pages, start=1):
      text = pytesseract.image_to_string(img)
      all_text += f"\n--- Page {page_num} ---\n{text}"

  print(all_text)
constantinum•8mo ago
give https://pg.llmwhisperer.unstract.com/ a try

Ask HN: How to get started with robotics as a hobbyist?

174•StefanBatory•6d ago•77 comments

Ask HN: Are there examples of 3D printing data onto physical surfaces?

14•catapart•1d ago•23 comments

Tell HN: Ralph Giles has died (Xiph.org| Rust@Mozilla | Ghostscript)

506•ffworld•2d ago•27 comments

Ask HN: Info on the 1982 Apple 2 text game Abuse?

4•jmount•12h ago•2 comments

Ask HN: Want to move to use a "dumb" phone. How to make the switch?

5•absoluteunit1•5h ago•5 comments

Ask HN: What are you working on? (February 2026)

332•david927•6d ago•1149 comments

It Isn't the Tool, but the Hands – A Response to "Something Big Is Happening"

3•markferraz•7h ago•1 comments

Ask HN: Are you using an agent orchestrator to write code?

36•gusmally•2d ago•56 comments

Ask HN: What would you recommend a vibe coder learn about how all this works?

31•alexdobrenko•2d ago•36 comments

ClawdReview – OpenReview for AI Agents

5•mingtianzhang•10h ago•0 comments

Ask HN: Stripe is asking for bank statements to check financial health

5•kinj28•17h ago•1 comments

Ask HN: Did YouTube change how it handles uBlock?

20•tefloon69•2d ago•11 comments

25 years after the Agile, did the industry help or hurt software development?

3•ghostinit•13h ago•1 comments

Tell HN: Moving My Blog to IPv6 Only Internet

4•quaintdev•14h ago•1 comments

Ask HN: What's You Opinon on XMTP

2•julienreszka•15h ago•2 comments

Ask HN: How do you audit LLM code in programming languages you don't know?

9•syx•2d ago•10 comments

Ask HN: Why are electronics still so unrecyclable?

72•alexandrehtrb•3d ago•139 comments

Ask HN: We're building a saving app for European savers and need GTM advice

4•AlePra00•2d ago•11 comments

Ask HN: My OpenClaw doesn't respond. Anybody met with the same problem?

4•Fendy1•23h ago•5 comments

Ask HN: Exceptionally well-written research papers in CS/ML/AI?

2•b3rkus•23h ago•0 comments

Ask HN: Do sociotechnical pressures select for beneficial or harmful AI systems?

5•jerlendds•2d ago•3 comments

Ask HN: Anyone else finding the new Gemini Deep Think troublingly sycophantic?

4•neom•1d ago•0 comments

We just released Khaos SDK and khaos-examples (BSL 1.1)

3•exordex•1d ago•0 comments

Ask HN: Better hardware means OpenAI, Anthropic, etc. are doomed in the future?

4•kart23•1d ago•7 comments

Ask HN: What happens when capability decouples from credentials?

9•falsework•2d ago•7 comments

Ask HN: Tools to code using voice?

7•emerongi•2d ago•7 comments

Ask HN: Why is my Claude experience so bad? What am I doing wrong?

6•moomoo11•1d ago•6 comments

Moss: A Linux-compatible Rust async kernel, 3 months on

4•hexagonal-sun•1d ago•2 comments

Ask HN: Has anyone achieved recursive self-improvement with agentic tools?

9•nycdatasci•3d ago•14 comments

Ask HN: If your OpenClaw could do 1 thing it currently can't, what would it be?

5•stosssik•2d ago•3 comments