frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

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

Claude Account Suspended Seconds After Purchase?

51•AnthropicWHAT•1h ago•22 comments

Tell HN: Dont use Claude Design, lost access to my projects after unsubscribing

274•pycassa•16h ago•77 comments

Ask HN: We just had an actual UUID v4 collision...

472•mittermayr•6d ago•338 comments

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

280•david927•3d ago•1074 comments

Tell HN: Starting June 15, claude -p usage will change

6•andersonmvd•11h ago•7 comments

Rumors of my death are slightly exaggerated

1667•CliffStoll•1w ago•257 comments

Ask HN: Is Anthropic doing too much vibe coding?

6•terabytest•18h ago•6 comments

agent-dash: TUI for managing Claude Code and OpenCode in tmux

3•fdarian•1d ago•0 comments

Ask HN: How to get started in electronic music

16•A_Random_Nerd•2d ago•16 comments

Ask HN: Is Spam getting worse or is Gmail getting worse?

10•adamtaylor_13•1d ago•8 comments

Ask HN: If HTML supersedes Markdown fr AI, Will it be versatile enough for devs?

8•zameermfm•1d ago•20 comments

Ask HN: How are you preparing for interviews nowadays?

11•holden_nelson•2d ago•31 comments

Ask HN: Will low quality AI customer support be the new normal?

25•0-bad-sectors•3d ago•29 comments

Ask HN: Best static site generator for a docs site in 2026?

15•agenttestjekuqz•3d ago•13 comments

You've reached the end!