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)

200•david927•15h ago•604 comments

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

807•littlecranky67•19h ago•300 comments

Tell HN: OpenAI silently removed Study Mode from ChatGPT

169•smokel•18h ago•70 comments

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

13•josephcsible•5h ago•16 comments

Ask HN: What are all the bad things that AI companies have done which we forgot

6•Imustaskforhelp•17h ago•1 comments

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

12•devendra116•1d ago•23 comments

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

6•wasimsk•1d ago•0 comments

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

148•meander_water•3d ago•202 comments

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

4•pentacent_hq•17h ago•7 comments

Is the pitch deck culture making founders worse at building businesses?

17•chinhqtran•1d ago•6 comments

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

26•nitramm•2d ago•17 comments

Ask HN: Best books on building a programming language

17•ezzato•2d ago•8 comments

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

3•oyaa52•1d ago•6 comments

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

2•whycombinetor•1d ago•3 comments

Any Open Source projects in need of documentation writer?

21•tree666•3d ago•13 comments

Ask HN: Why Databases Instead of Filesystem?

12•uticus•2d ago•20 comments

Ask HN: Agentic Permutation of Testing Paths In A System

4•davidajackson•1d ago•0 comments

Tor Browser on Android leaks IP in desktop mode

13•shchess•1d ago•2 comments

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

6•pants2•1d ago•5 comments

Ask HN: Should AI credits be refunded on mistakes?

19•ed_elliott_asc•4d ago•20 comments

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

4•rishikeshs•1d ago•3 comments

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

10•vibecoder21•2d ago•11 comments

Is VC the new PMF strategy?

3•networkOne•2d ago•5 comments

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

15•orbanlevi•4d ago•15 comments

Ask HN: Local-first meetings recorder and transcriber?

7•dandaka•3d ago•1 comments

Open Source card game cuttle.cards has its world championship Saturday at 1pm ET

4•aleph_one•2d ago•0 comments

Is it just me, or Opus 4.6 is sounding bit dumb lately

7•rambrrest•2d ago•3 comments

Ask HN: Are you encountering AI-related questions in the hiring market?

7•somthingwrong•2d ago•2 comments

You've reached the end!