frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Agentic QA – Open-source middleware to fuzz-test agents for loops

36•Saurabh_Kumar_•1w ago•5 comments

Ask HN: Should "I asked $AI, and it said" replies be forbidden in HN guidelines?

939•embedding-shape•1d ago•453 comments

Why are "remote" jobs in late 2025 still limited to hiring in US/CA/UK/DE?

18•ftonato•21h ago•7 comments

Ask HN: How do small businesses handle phone calls?

3•duckkg5•9h ago•3 comments

Ask HN: Is there a "good" (non-privacy horror) aftermarket HUD for your car?

3•xrd•10h ago•2 comments

Ask HN: What Are You Working On? (December 2025)

18•mchaver•15h ago•33 comments

Ask HN: How can I learn smartphone repair online?

4•rishikeshs•11h ago•3 comments

Is any of you using LLMs to create full features in big enterprise apps?

6•not_that_d•18h ago•3 comments

Ask HN: Is it still worth learning a new programming language?

9•xparadigm•14h ago•13 comments

I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA

227•proberts•5d ago•303 comments

Ask HN: What are young technically minded people reading?

11•drdec•1d ago•14 comments

Ask HN: Who wants to be hired? (December 2025)

160•whoishiring•1w ago•429 comments

Ask HN: Quality of recent gens of Dell/Lenovo laptops worse than 10 years ago?

112•ferguess_k•1w ago•207 comments

Ask HN: Who is hiring? (December 2025)

314•whoishiring•1w ago•526 comments

2026: The Year the IDE Died (Steve Yegge and Gene Kim Talk AI Coding)

5•mikebiglan•8h ago•8 comments

Ask HN: Are there any viable Android phones for a power user to buy nowadays?

12•gooob•2d ago•7 comments

What's Next? Clippy Copilot?

6•johnnyballgame•1d ago•4 comments

Ask HN: Modern C# book for experienced developers?

30•Fire-Dragon-DoL•4d ago•7 comments

Cursor and Claude Opus 4.5 is a game changer

17•seinecle•3d ago•8 comments

Ask HN: Cloudflare WAF Alternatives?

28•rco8786•5d ago•15 comments

You've reached the end!

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

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