frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

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

Ask HN: How did Soham Parekh get so many jobs?

232•jshchnz•3d ago•344 comments

Ask HN: How do you sell to B2B in current state of AI?

3•salesdo•3h ago•2 comments

Tell HN: A fake, highly obfuscated Solidity VSCode plugin found on marketplace

7•navad•4h ago•1 comments

Ask HN: Worth leaving position over push to adopt vibe coding?

67•NotAnOtter•1d ago•80 comments

Why did not numpy copy the J rank concept?

13•jrank•14h ago•4 comments

Ask HN: How many communities HN it devs in C language?

3•FerkiHN•7h ago•7 comments

Ask HN: Requests for Software – have something you want built?

8•NewUser76312•8h ago•1 comments

Ask HN: What clever tools/scripts do you use to manage development environments?

8•sebst•15h ago•11 comments

Ask HN: What Are You Working On? (June 2025)

434•david927•6d ago•1370 comments

Ask HN: Freelancer? Seeking freelancer? (July 2025)

84•whoishiring•4d ago•198 comments

Ask HN: Can't Figure Out Where to Go Next Career Wise

4•OulaX•12h ago•1 comments

Ask HN: Who is hiring? (July 2025)

268•whoishiring•4d ago•376 comments

Looking for Early Testers for a AI Assistant Inside Zotero

10•jie6•1d ago•1 comments

Ask HN: Who wants to be hired? (July 2025)

128•whoishiring•4d ago•358 comments

OT Devices Exposed Online Without Authentication – Research Disclosure

3•hacker_might•16h ago•0 comments

Ask HN: Is there a business for extracting US tech talent?

26•Arubis•1d ago•35 comments

Ask HN: What's the 2025 stack for a self-hosted photo library with local AI?

224•jamesxv7•5d ago•120 comments

Ask HN: Are there any good WASM-based sites for learning Bash, Linux and CLI?

7•brightbeige•1d ago•2 comments

Ask HN: What are non-social media ways to share photography/art

6•rPlayer6554•19h ago•9 comments

Super Simple "Hallucination Traps" to detect interview cheaters

28•EliotHerbst•2d ago•36 comments

Ask HN: What are the best resources to help with health insurance denials?

10•cigna•2d ago•11 comments

1KB JavaScript Demoscene Challenge Just Launched

114•babakode•4d ago•31 comments

A client wants to buy old SaaS app – smart move or risk?

6•AbbeyRoadRunner•1d ago•6 comments

Ask HN: How do companies like OpenAI, Perplexity fine tune rich output?

6•agaase19•1d ago•3 comments

Ask HN: What codebase would you like to see rewritten, updated, or modernized?

6•globnomulous•1d ago•7 comments

Ask HN: Why there is no demand for my SaaS when competition is killing it?

33•drvroom•3d ago•32 comments

Ask HN: What are good questions to ask in a remote round in post GPT era?

6•ashu1461•1d ago•17 comments

Ask HN: Ideas to acquire "good taste" in programming?

9•danielciocirlan•2d ago•10 comments

Ask HN: I give in, what are the resources for picking up AI-assisted coding?

4•dhosek•2d ago•7 comments

Ask HN: What are some tips to be a successful data science manager in a FANG

4•pkote•1d ago•0 comments