frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

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

Ask HN: We just had an actual UUID v4 collision...

433•mittermayr•2d ago•323 comments

Rumors of my death are slightly exaggerated

1631•CliffStoll•3d ago•250 comments

Ask HN: Can a tinnitus be triggered by high frequency noises?

4•tinnitus_crazy•8h ago•11 comments

Ask HN: Former master-tech building AI systems – how to break into software?

2•nicku711•18h ago•1 comments

Ask HN: Before Open Source took over the server, what was the discourse like?

5•mbgerring•11h ago•2 comments

Best AI coding plan alternative to Claude and ChatGPT

6•Jsttan•5h ago•5 comments

How are folks affordably self-training in AI?

7•macartain•19h ago•6 comments

LLM generated parsers and compliance checkers for Sparrow DSL

3•melezhik•19h ago•0 comments

Ask HN: What is the underlying stack behind multi-agent platforms?

3•throwaw12•23h ago•2 comments

Reflections on NetBSD 11

8•morpheos137•1d ago•4 comments

Ask HN: What is your go-to solution for a personal wiki in 2026?

15•ex-aws-dude•2d ago•20 comments

Can NPM, pnpm etc. use frontier models to check packages for malware?

5•VikRubenfeld•1d ago•4 comments

Novel macro signals for AI-related job loss?

5•sfmz•1d ago•2 comments

Ask HN: What do you still do manually in 2026 that should be automated?

19•lishunsheng•3d ago•31 comments

Ask HN: How do we handle the rise of low quality "This is LLM" comments?

9•shantnutiwari•1d ago•20 comments

Ask HN: What will happen as AI costs increase?

14•MetaWhirledPeas•2d ago•22 comments

Ask HN: Is the Job Market Actually Bad?

134•idontwantthis•1w ago•207 comments

Ask HN: Are we gonna back less powerful local LLMs

9•omertt27•2d ago•11 comments

Ask HN: How to start up as an individual developer?

14•alexyan0431•3d ago•13 comments

Ask HN: How are you handling QA being bottlenecked with more AI-generated PRs?

4•softneon•2d ago•4 comments

Ask HN: Who got hired with Who wants to be hired? (On 2026)

18•Gooblebrai•4d ago•11 comments

You've reached the end!