frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

4•martinald•10mo 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•10mo 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•10mo ago
give https://pg.llmwhisperer.unstract.com/ a try

Ask HN: What Are You Working On? (April 2026)

306•david927•1d ago•1026 comments

Tell HN: Docker pull fails in Spain due to football Cloudflare block

1092•littlecranky67•1d ago•399 comments

Ask HN: What makes it so hard to keep LLMs online?

3•realberkeaslan•4h ago•4 comments

Tell HN: Another Monday, Another Claude Outage

5•ericol•4h ago•1 comments

Ask HN: What's the best AI model for system design nowadays?

2•jcremona•4h ago•2 comments

Tell HN: OpenAI silently removed Study Mode from ChatGPT

172•smokel•1d ago•74 comments

How do you validate your GTM Efforts?

2•pranaywankhede•9h ago•3 comments

Ask HN: Are you negatively affected by the recent economic stagnation?

4•adinhitlore•9h ago•3 comments

Ask HN: Is Codex really on Par with Claude Code?

6•shivang2607•9h ago•13 comments

Ask HN: What are you building that's not AI related?

148•meander_water•4d ago•207 comments

Tell HN: Reddit now demands to know why you won't use their app

17•josephcsible•17h ago•23 comments

Ask HN: Do you trust AI agents with API keys / private keys?

15•devendra116•1d ago•28 comments

Ask HN: Anyone using Nostr as a lightweight back end/DB for rapid prototyping?

6•wasimsk•1d ago•0 comments

Ask HN: Hiring in the age of AI-assisted coding: what works?

26•nitramm•3d ago•17 comments

Antigravity Is Down

3•samroar04•7h ago•3 comments

Ask HN: Best books on building a programming language

17•ezzato•2d ago•9 comments

Ask HN: What's your experience with PoW captchas against form spam?

5•pentacent_hq•1d ago•9 comments

Any Open Source projects in need of documentation writer?

21•tree666•3d ago•13 comments

Ask HN: What should I do with my app? 130 downloads 3 real subscribers

3•oyaa52•1d ago•13 comments

Ask HN: Why Databases Instead of Filesystem?

14•uticus•3d ago•20 comments

Ask HN: Former grok-code-fast-1 users, what coding model are you using now?

2•whycombinetor•1d ago•3 comments

Ask HN: Agentic Permutation of Testing Paths In A System

4•davidajackson•1d ago•0 comments

Ask HN: Should AI credits be refunded on mistakes?

20•ed_elliott_asc•5d ago•21 comments

Tor Browser on Android leaks IP in desktop mode

13•shchess•2d ago•2 comments

Ask HN: Has anyone reconsidered Antivirus software after recent security news?

6•pants2•1d ago•6 comments

Do founders' political views affect how you see a product?

4•rishikeshs•2d ago•5 comments

Ask HN: How do you manage your digital legacy for after you die?

15•orbanlevi•5d ago•16 comments

I collected startup ideas. It changed how I think about ideas completely

10•vibecoder21•2d ago•11 comments

Ask HN: Local-first meetings recorder and transcriber?

7•dandaka•4d ago•1 comments

Is VC the new PMF strategy?

3•networkOne•2d ago•5 comments