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: Digital Ocean has run out of GPU droplets

6•nathannaveen•5h ago•1 comments

Ask HN: Maintainers, do LLM-only users often clutter your issues/PRs?

5•lucrbvi•4h ago•6 comments

Ask HN: Who wants to be hired? (March 2026)

122•whoishiring•2d ago•355 comments

Ask HN: If your project is free, what are you building and why keep it free?

3•LeanVibe•5h ago•9 comments

Ask HN: Who is hiring? (March 2026)

239•whoishiring•2d ago•350 comments

Ask HN: Why has ChatGPT disabled links to websites?

6•krschacht•7h ago•2 comments

I lost my ability to learn anything new because of AI and I need your opinions

17•dokdev•22h ago•24 comments

Ask HN: How are you all staying sane?

144•throwaway53463•2d ago•145 comments

Ask HN: What's your experience self-hosting in 2026?

25•rustcore•1d ago•8 comments

Tell HN: I got Claude Max for my open source project

8•asim•14h ago•5 comments

Ask HN: What will OpenAI employees do now who have signed notdividedorg petition

17•Imustaskforhelp•1d ago•16 comments

Ask HN: What sources like HN do you consume?

53•DavidHaerer•2d ago•35 comments

Ask HN: What prompt do you use to get Claude to consistently render LaTeX?

5•TobyTheCamel•1d ago•6 comments

Ask HN: What is the "Control Plane" for local AI agents?

7•denis4inet•17h ago•7 comments

Ask HN: What Online LLM / Chat do you use?

12•ddxv•1d ago•18 comments

Ask HN: How is Claude agent experience in Xcode 26.3?

8•malshe•1d ago•2 comments

Whats Up with Claude Lately?

18•mech422•1d ago•14 comments

Ask HN: Would engineers be interested in a technical prep consultant?

8•TechPrepper•2d ago•9 comments

Facebook Appears to Be Down

13•Molitor5901•23h ago•16 comments

Ask HN: Who still works async and has a 'no meetings' work policy in 2026?

7•RaulOnRails•1d ago•5 comments

Aura-State: Formally Verified LLM State Machine Compiler

4•rohanmunshi08•3d ago•2 comments

Tell HN: GitHub Having Issues

52•Sytten•1d ago•27 comments

Google violates its 14-day deprecation policy for Gemini 3 Pro Preview

5•goolulusaurs•1d ago•1 comments

Ask HN: How Do Emergency Alerts on Phone Work?

5•rishikeshs•1d ago•4 comments

I have $10k+ in cloud credits and want to turn them into a real business

3•Palominocoq•1d ago•6 comments

Ask HN: Codex CLI error reveals "GPT-5.4-ab-arm2" string

8•quantisan•1d ago•1 comments

Ask HN: How are you structuring Markdown-based context for AI coding agents?

2•lepuski•1d ago•1 comments

Tell HN: My daily game won a Players Choice Award

20•paulhebert•4d ago•4 comments

Ask HN: How to approach new people in 2026?

11•tavro•3d ago•17 comments

A timeline of cyber attacks:home users, contractors, and SMBs are now targets

4•EricAUS•1d ago•2 comments