frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

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

Tell HN: Ralph Giles has died (Xiph.org| Rust@Mozilla | Ghostscript)

355•ffworld•15h ago•18 comments

Ask HN: AI Depression

16•pavello•2h ago•10 comments

Ask HN: What would you recommend a vibe coder learn about how all this works?

18•alexdobrenko•17h ago•22 comments

Ask HN: What are you working on? (February 2026)

328•david927•4d ago•1127 comments

Ask HN: Did YouTube change how it handles uBlock?

14•tefloon69•18h ago•11 comments

SMTP server from scratch in Go – FSM, raw TCP, and buffer-oriented I/O

3•Jyotishmoy•5h ago•0 comments

Ask HN: Better hardware means OpenAI, Anthropic, etc. are doomed in the future?

3•kart23•10h ago•4 comments

Ask HN: Tools to code using voice?

6•emerongi•1d ago•5 comments

Ask HN: How do you audit LLM code in programming languages you don't know?

6•syx•20h ago•6 comments

Ask HN: Why is my Claude experience so bad? What am I doing wrong?

4•moomoo11•6h ago•4 comments

Ask HN: We're building a saving app for European savers and need GTM advice

3•AlePra00•18h ago•8 comments

Ask HN: Do sociotechnical pressures select for beneficial or harmful AI systems?

3•jerlendds•17h ago•1 comments

Ask HN: What happens when capability decouples from credentials?

6•falsework•14h ago•4 comments

Who discovered grokking and why is the name hard to find?

2•asmodeuslucifer•8h ago•1 comments

Ask HN: If your OpenClaw could do 1 thing it currently can't, what would it be?

5•stosssik•16h ago•3 comments

Ask HN: How do founders demo real product without exposing sensitive data?

4•legitimate_key•16h ago•6 comments

Ask HN: How do you "step through" your own anxiety?

5•schneak•16h ago•10 comments

Ask HN: Are you using an agent orchestrator to write code?

33•gusmally•19h ago•46 comments

Ask HN: Why are electronics still so unrecyclable?

70•alexandrehtrb•1d ago•137 comments

Ask HN: GPT-5.3-Codex being silently routed to GPT-5.2?

5•tardis_thad•18h ago•2 comments

Ask HN: Would you use context-based "modes" in Instagram(work,study,sport,news)?

3•MatiasLaudonio•14h ago•2 comments

Ask HN: How much PTO do you get?

3•SunshineTheCat•15h ago•7 comments

Ask HN: Best practices for AI agent safety and privacy

2•mw1•16h ago•0 comments

Ask HN: How to build text-to-app platforms?

2•desperado1•16h ago•1 comments

Ask HN: Has anyone achieved recursive self-improvement with agentic tools?

9•nycdatasci•1d ago•14 comments

Ask HN: What's the current state of ChatGPT Apps?

4•arthurlee•19h ago•1 comments

Ask HN: Is Prettier extension working for you in Cursor?

2•vldszn•21h ago•0 comments

Ask HN: Anyone else get bricked by the macOS update?

2•bix6•22h ago•1 comments

Ask HN: Dumping GitHub for Forgejo for a free and open source project

4•th0th•1d ago•4 comments

Ask HN: Why is everyone here so AI-hyped?

30•fandorin•2d ago•20 comments