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

Tell HN: Apple development certificate server seems down?

48•strongpigeon•4h ago•19 comments

Ask HN: How are people doing AI evals these days?

6•yelmahallawy•18h ago•5 comments

AI is to software as power tools are to woodworking

5•danfunk•2h ago•6 comments

Ask HN: Remember Fidonet?

111•ukkare•13h ago•66 comments

Ask HN: What Are You Working On? (March 2026)

281•david927•2d ago•1076 comments

Ask HN: Does automatic multilingual support make sense for a launch platform?

2•LeanVibe•6h ago•3 comments

Ask HN: How to be alone?

669•sillysaurusx•2d ago•551 comments

Ask HN: Please restrict new accounts from posting

706•Oras•2d ago•501 comments

Ask HN: Most beautiful personal blog UI you have ever seen?

136•ms7892•2d ago•53 comments

Ask HN: Can I repurpose a Bluetooth voice remote as input device for a PC?

15•albert_e•2d ago•20 comments

Why is GPT-5.4 obsessed with Goblins?

13•pants2•19h ago•8 comments

The Architecture of an Exit Scam: A Technical Audit of Zszrun

5•cappyfjao•12h ago•0 comments

Tell HN: I'm 60 years old. Claude Code has re-ignited a passion

1063•shannoncc•4d ago•973 comments

Ask HN: Since a week HN keeps logging me off every few days, why?

5•epolanski•13h ago•2 comments

Ask HN: What AI content automation stack are you using in 2026?

2•jackcofounder•14h ago•2 comments

Ask HN: Do you still run Redis and workers just for background jobs?

2•sergF•15h ago•10 comments

Ask HN: Is GitHub getting less reliable, or is it just me?

11•_pdp_•1d ago•7 comments

Ask HN: Favorite Non-Spammy iPhone Games?

6•bix6•22h ago•8 comments

Ask HN: What game engine would you recommend for vibe coding?

6•general_reveal•22h ago•6 comments

Ask HN: Read‑only LLM tool for email triage and knowledge extraction?

2•maille•1d ago•4 comments

Ask HN: Any informed guesses on the actual size/architecture of GPT-5.4 etc.?

4•dsrtslnd23•1d ago•0 comments

Ask HN: Let's rethink the architecture and future of Emacs

3•kurouna•10h ago•3 comments

Code-review-graph: persistent code graph that cuts Claude Code token usage

2•tirthkanani•1d ago•0 comments

Why is email so resilient as a technology?

7•noemit•13h ago•9 comments

Ask HN: Who Needs Help?

14•surprisetalk•1d ago•16 comments

A job ad for Agentic AI Advocate

4•greenpinia•1d ago•1 comments

I replaced my freelance SaaS stack with 5 single-file HTML tools

8•AnnSri•2d ago•4 comments

Ask HN: Are showlang and thelang HN endpoints not being maintained?

4•freakynit•1d ago•1 comments

Ask HN: Anyone else feel this community has changed recently?

57•kypro•4d ago•30 comments

Ask HN: Which book are you reading these days?

9•chistev•1d ago•22 comments