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: Any interesting niche hobbies?

237•e-topy•3d ago•369 comments

Ask HN: Should AI credits be refunded on mistakes?

13•ed_elliott_asc•13h ago•11 comments

Ask HN: Founders/investors, what AI bet you made in 2022 and how it is going?

5•kjok•6h ago•1 comments

Tell HN: Anthropic no longer allowing Claude Code subscriptions to use OpenClaw

1097•firloop•5d ago•828 comments

Ask HN: How do you handle marketing as a solo technical founder?

127•lazarkap•2d ago•94 comments

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

7•orbanlevi•11h ago•9 comments

Early precursor signals observed before incidents (RTT/DNS/HTTP telemetry)

2•ravensystems•11h ago•0 comments

Hybrid Attention

40•JohannaAlmeida•1d ago•9 comments

Anthropic banned Pi, a third party harness

3•rapiz•12h ago•6 comments

Ask HN: What are you working on? (April 2026) (Non AI)

16•cousin_it•1d ago•30 comments

Zooming UIs in 2026: Prezi, impress.js, and why I built something different

97•tinchox6•2d ago•44 comments

GPT 5.4 in practice – Stinks?

4•sjt-at-rev•1d ago•9 comments

Free models you can use with your OpenClaw (no credit card needed)

2•stosssik•1d ago•0 comments

Claude Code limits are starting to feel like a psychological trick

5•trinsic2•2d ago•12 comments

Ask HN: Alternatives to Claude (Code)?

10•vixalien•2d ago•9 comments

Ask HN: How are you controlling costs and enforcing limits for LLM calls?

3•8dazo•1d ago•2 comments

Compact multi-port network setup (2.5G / 10G / SFP+) – looking for feedback

2•Qotom•1d ago•2 comments

Ask HN: Where are all the disruptive software that AI promised?

22•p-o•3d ago•20 comments

Write Your Own Copy

31•operatingthetan•4d ago•17 comments

Ask HN: How are you orchestrating multi-agent AI workflows in production?

6•swrly•2d ago•10 comments

Upwork Inc. violates its own DMARC and SPF policy

8•tmcdos•2d ago•7 comments

Microsoft Discontinuing Publisher. Alternatives?

17•supliminal•3d ago•16 comments

Anthropic to limit Using third-party harnesses with Claude subscriptions

20•guiyuwei•5d ago•8 comments

Intelligence Cannot Be Trained?

9•hyperzzw•4d ago•5 comments

You've reached the end!