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?

96•strongpigeon•16h ago•38 comments

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

18•yelmahallawy•1d ago•17 comments

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

283•david927•2d ago•1085 comments

Ask HN: Remember Fidonet?

116•ukkare•1d ago•67 comments

Ask HN: How are people forecasting AI API costs for agent workflows?

5•Barathkanna•6h ago•10 comments

Ask HN: How to be alone?

671•sillysaurusx•3d ago•552 comments

Maybe we can keep on coding? pseudo code project

7•EmptyDrum•8h ago•8 comments

Ask HN: Please restrict new accounts from posting

708•Oras•2d ago•502 comments

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

142•ms7892•2d ago•54 comments

Ask HN: How do you review gen-AI created code?

4•captainkrtek•11h ago•4 comments

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

15•albert_e•3d ago•20 comments

Tell HN: Vertical tabs has arrived (behind a flag) in Chrome stable

5•crummy•12h ago•0 comments

Ask HN: Is Starlink still being jammed in Iran?

3•Jblx2•12h ago•1 comments

Ask HN: How to "make it" as a newlygrad/junior?

4•kartoffelsaft•13h ago•3 comments

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

1064•shannoncc•4d ago•975 comments

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

2•LeanVibe•18h ago•3 comments

Why is GPT-5.4 obsessed with Goblins?

14•pants2•1d ago•8 comments

Ask HN: Devs who are out of work – what are you doing for income now?

6•a1n•7h ago•3 comments

Unlocked SaaS, file source as truth?

2•abmmgb•21h ago•1 comments

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

11•_pdp_•1d ago•8 comments

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

5•cappyfjao•1d ago•0 comments

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

5•epolanski•1d ago•2 comments

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

3•jackcofounder•1d ago•3 comments

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

2•sergF•1d ago•16 comments

Ask HN: Favorite Non-Spammy iPhone Games?

6•bix6•1d ago•8 comments

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

6•general_reveal•1d ago•7 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: Anyone else feel this community has changed recently?

58•kypro•4d ago•30 comments

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

2•tirthkanani•1d ago•0 comments