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)

191•ffworld•10h ago•6 comments

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

4•moomoo11•54m ago•1 comments

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

14•alexdobrenko•11h ago•10 comments

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

3•kart23•4h ago•3 comments

Ask HN: Did YouTube change how it handles uBlock?

12•tefloon69•12h ago•7 comments

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

2•asmodeuslucifer•2h ago•0 comments

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

3•jerlendds•11h ago•1 comments

Ask HN: What happens when capability decouples from credentials?

5•falsework•8h ago•3 comments

Ask HN: Tools to code using voice?

5•emerongi•18h ago•3 comments

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

327•david927•4d ago•1122 comments

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

5•syx•14h ago•5 comments

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

3•AlePra00•12h ago•6 comments

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

5•stosssik•10h ago•3 comments

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

4•legitimate_key•10h ago•3 comments

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

5•schneak•10h ago•6 comments

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

30•gusmally•13h ago•44 comments

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

3•MatiasLaudonio•8h ago•2 comments

Ask HN: How much PTO do you get?

2•SunshineTheCat•9h ago•6 comments

Ask HN: Best practices for AI agent safety and privacy

2•mw1•10h ago•0 comments

Ask HN: Why are electronics still so unrecyclable?

70•alexandrehtrb•1d ago•137 comments

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

2•desperado1•10h ago•1 comments

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

4•tardis_thad•12h ago•2 comments

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

3•arthurlee•13h ago•1 comments

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

9•nycdatasci•1d ago•14 comments

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

2•vldszn•15h ago•0 comments

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

2•bix6•16h ago•1 comments

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

4•th0th•18h ago•3 comments

Tell HN: GPT-5.3-codex is now available in the API

3•bigwheels•15h ago•0 comments

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

29•fandorin•2d ago•17 comments

Ask HN: Does OpenClaw need a re-architecture to be usable?

4•xinbenlv•1d ago•4 comments