frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

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

Facebook has made it impossible to delete Pages – dark patterns everywhere

27•ramharts•8h ago•8 comments

Ask HN: What does "legacy code" mean to you?

4•Arperb•5h ago•10 comments

Ask HN: Am I the only one thinking ChatGPT 5.1 Thiking thinks for too long ?

4•davidguetta•6h ago•1 comments

Meta-algorithmic judicial reasoning engine

2•YuriKozlov•7h ago•0 comments

Ask HN: Why does Y Combinator seem to be consistently funding AI slop?

12•coldtrait•12h ago•4 comments

Semantic Query Engines with Matthew Russo (MIT)

3•CShorten•13h ago•0 comments

ZkOrigoPlus – Compliance Validator Bridging Bank and Blockchain via ISO20022

2•ADCXLAB•13h ago•0 comments

Ask HN: Reason for the DDoS attacks on DALnet circa 2002?

7•Meekro•14h ago•0 comments

Cloudflare is working again for my servers (US East)

3•potatowaffle•14h ago•1 comments

Ask HN: Cloud providers are losing in favor of bare-metal?

33•clostao•2d ago•24 comments

Ask HN: Why All the Indonesian Spam?

22•al2o3cr•1d ago•7 comments

An exposed .git folder let us dox a phishing campaign

64•spirovskib•2d ago•21 comments

Built a Pomodoro timer for ADHD brains: always visible progress bar

16•raoarjun4•2d ago•2 comments

What is the most beautiful / highest quality code you've seen (or written)?

30•gooob•4d ago•16 comments

Claude Is Down

5•blitzpoet•16h ago•5 comments

Ask HN: Engineers working AI tools. Are you working more or less?

16•taariqlewis•2d ago•21 comments

Cloudflare is down and causing outages at X, OpenAI

4•paulwilsonn•17h ago•1 comments

Ask HN: How does one stay motivated to grind through LeetCode?

90•blutoot•6d ago•109 comments

Ask HN: Why is there black line on top? I guess not because of Cloudflare outage

6•cryptography•16h ago•2 comments

Cloudflare Down, Again

6•atlasx1z•17h ago•2 comments

Ask HN: What's the Least Amount of Process a Small Team Can Get Away With?

7•_phnd_•1d ago•8 comments

Ask HN: What were the best books you read in 2025?

19•dom96•2d ago•19 comments

Which Class Is Better?

5•elainezzz•2d ago•3 comments

Ask HN: How to learn concurrency?

44•shivajikobardan•4d ago•20 comments

Ask HN: How do you monitor the threads on HN you are engaging with?

14•spacemnstr42069•3d ago•10 comments

Ask HN: Senior people, how did your career evolve?

91•Seb-C•1w ago•52 comments

MCP traffic analysis tool with playground

3•devops-coder•2d ago•0 comments

Ask HN: What could possibly happen so people would want to read more?

5•jstummbillig•2d ago•9 comments

Ask HN: Is Computer Science still a good choice?

23•speedylight•4d ago•35 comments

You've reached the end!