frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

4•martinald•8mo 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•8mo 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

How do I make $10k (What are you guys doing?)

9•b_mutea•2h ago•11 comments

Ask HN: How do you find the "why" behind old code decisions?

19•siddhibansal9•15h ago•28 comments

Ask HN: What AI feature looked in demos and failed in real usage? Why?

4•kajolshah_bt•2h ago•2 comments

Ask HN: What 'AI feature' created negative ROI in production?

4•kajolshah_bt•3h ago•2 comments

Ask HN: What's the current best local/open speech-to-speech setup?

2•dsrtslnd23•3h ago•0 comments

Why is software still built like billions don't exist in 2026?

7•yerushalayim•3h ago•7 comments

Ask HN: Do you have any evidence that agentic coding works?

441•terabytest•3d ago•443 comments

Ask HN: Does DDG no longer honor "site:" prefix?

17•everybodyknows•12h ago•6 comments

Tell HN: Cursor agent force-pushed despite explicit "ask for permission" rules

6•xinbenlv•8h ago•5 comments

Tell HN: 2 years building a kids audio app as a solo dev – lessons learned

133•oliverjanssen•2d ago•75 comments

Ask HN: Best practice securing secrets on local machines working with agents?

8•xinbenlv•1d ago•11 comments

Ask HN: Is Claude Down for You?

25•philip1209•16h ago•19 comments

Ask HN: Why are so many rolling out their own AI/LLM agent sandboxing solution?

30•ATechGuy•2d ago•12 comments

Ask HN: How do you authorize AI agent actions in production?

5•naolbeyene•23h ago•4 comments

Ask HN: What is your opinion on non-mainstream mobile OS options (e.g. /e/OS)?

5•sendes•20h ago•3 comments

Ask HN: COBOL devs, how are AI coding affecting your work?

168•zkid18•4d ago•183 comments

Ask HN: Have you managed to switch to Bluesky for tech people?

9•fuegoio•15h ago•10 comments

From Sketch to Masterpiece: Understanding Stable Diffusion Img2Img

2•bozhou•8h ago•0 comments

Ask HN: What's the best virtual Linux desktop experience on macOS for devs?

7•darkteflon•15h ago•4 comments

Ask HN: Modern test automation software (Python/Go/TS)?

7•rajkumar14•18h ago•3 comments

Ask HN: Revive a mostly dead Discord server

20•movedx•2d ago•28 comments

Ask HN: How do you verify cron jobs did what they were supposed to?

6•BlackPearl02•1d ago•9 comments

Tell HN: Drowning in information but still missing everything

9•akhil08agrawal•1d ago•7 comments

Ask HN: Does "Zapier for payment automation" exist?

8•PL_Venard•2d ago•13 comments

Tell HN: We have not yet discovered the rules of vibe coding

3•0xbadcafebee•12h ago•0 comments

Tell HN: Claude session limits getting small

23•pragmaticalien8•1d ago•15 comments

Ask HN: Industrial smart glasses with online / offline capabilities?

3•aureliusm•1d ago•0 comments

Ask HN: Anyone doing production image editing with image models? How?

4•geooff_•21h ago•0 comments

Ask HN: Is there any good open source model with reliable agentic capabilities?

4•baalimago•1d ago•0 comments

Ask HN: Unusual Network Filter

4•gman21•1d ago•0 comments