frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

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

Ask HN: Who wants to be hired? (January 2026)

153•whoishiring•1d ago•289 comments

Ask HN: What's the future of software testing and QA?

14•sjgeek•6h ago•6 comments

Ask HN: Reading list for being a better engineer?

26•drekipus•9h ago•11 comments

Ask HN: Who is hiring? (January 2026)

343•whoishiring•1d ago•217 comments

Ask HN: What did you learn in 2025?

11•kiernanmcgowan•11h ago•2 comments

It's 2026 now. Is Webpack 6.x going to happen?

3•narukeu•5h ago•3 comments

Android Tablet as Mac Display

6•jefferyabbott•6h ago•1 comments

Tell HN: Happy New Year

442•schappim•3d ago•206 comments

Ask HN: Expository/Succinct Books on Modern Physics

23•rramadass•1d ago•24 comments

Tell HN: I'm having the worst career winter of my life

86•mariogintili•1d ago•115 comments

Books Should Update as Software

5•fullstackragab•10h ago•5 comments

Ask HN: Who is using Nebula (mesh VPN)?

3•cdsl•12h ago•3 comments

Ask HN: What is your prediction for the price of computer parts in 2026?

2•wand3r•13h ago•1 comments

Ask HN: What do you think of reality check based behaviour corrector app?

2•tbhaxor•14h ago•0 comments

Tell HN: Instagram Web has been broken for weeks

5•thrdbndndn•22h ago•1 comments

Ask HN: Where else do you keep up-to-date?

7•throwaway132448•18h ago•1 comments

Is This Unix V4?

2•gusfernandez•8h ago•1 comments

How to use AI to augment learning without losing critical thinking skills?

20•mintsuku•2d ago•12 comments

Ask HN: When do we expose "Humans as Tools" so LLM agents can call us on demand?

46•vedmakk•2d ago•32 comments

Ask HN: How to Make the Most of an Acquisition?

3•francoispiquard•1d ago•4 comments

Ask HN: Loneliness at 19, how to cope?

62•yresting•6d ago•109 comments

I built a screen-aware desktop assistant; now it can write and use your computer

5•luthiraabeykoon•1d ago•3 comments

Ask HN: What personal project do you plan to scale in 2026?

4•laurentiurad•14h ago•0 comments

Ask HN: How to Disable Copilot in Office365?

3•yibers•12h ago•2 comments

Ask HN: How did you learn to code?

34•chistev•3d ago•78 comments

Ask HN: Who is using local LLMs in a production environment here?

8•Haeuserschlucht•1d ago•3 comments

Ask HN: Is there any way to lock apps on iPhone?

2•Quinzel•1d ago•3 comments

Ask HN: Why Can't We Make Approved Building Plans Reusable?

7•silexia•9h ago•6 comments

I optimised my vibe coding tech stack cost to $0

10•udit_50•2d ago•14 comments

iOS: Apps persist data after full deletion

6•WorldDev•1d ago•10 comments