frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

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

Ask HN: How to Handle Claude's Stubbornness?

3•classicpsy•11m ago•0 comments

LinkedIn uses 2.4 GB RAM across two tabs

731•hrncode•1d ago•413 comments

Ask HN: Who needs contributors? (March 2026)

5•Kathan2651•4h ago•0 comments

Ask HN: Founders of estonian e-businesses – is it worth it?

167•udl•6d ago•116 comments

Ask HN: Best stack for building a tiny game with an 11-year-old?

13•richardstahl•21h ago•24 comments

Ask HN: Release Path for 'Transformers Alternatives'?

3•adinhitlore•12h ago•0 comments

The risk of AI isn't making us lazy, but making "lazy" look productive

74•acmerfight•1d ago•82 comments

Ask HN: M5 MacBook Pro buyers, worth spending the $$$ to maybe run LLMs local?

7•tpurves•15h ago•4 comments

Ask HN: What's the latest concensus on OpenAI vs. Anthropic $20/month tier?

10•whatarethembits•1d ago•8 comments

Why do SF billboards hit different?

3•YouAreExisting•22h ago•9 comments

Operator23: Describe Your Workflow in English, Deploy Everywhere

3•Mrakermo•23h ago•0 comments

Ask HN: How are you keeping AI coding agents from burning money?

7•bhaviav100•1d ago•24 comments

Ask HN: Is it just me?

14•twoelf•1d ago•29 comments

Claude API Error: 529

25•anujbans•3d ago•14 comments

Ask HN: Anyone using Meshtastic/LoRa for non-chat applications?

11•redgridtactical•2d ago•0 comments

Repsy – A lightweight, open-source alternative to Nexus/Artifactory

7•nuricanozturk•3d ago•0 comments

LLMs learn what programmers create, not how programmers work

41•noemit•6d ago•22 comments

Fear of Missing Code

8•lukol•2d ago•9 comments

Ask HN: Anybody tried to cheat AI-HR-system with hidden/white sentences?

5•KellyCriterion•2d ago•3 comments

GitHub now requiring 2FA for all contributors,what authenticator apps you using?

13•nickcageinacage•3d ago•38 comments

Rses – cross-resume between Claude Code, Codex, and OpenCode

13•plawlost•4d ago•4 comments

GitHub has been sending me an email every two seconds.

16•colonelspace•2d ago•3 comments

Ask HN: How do you deal with obvious AI assistant usage in interviews

10•stackdestroyer•3d ago•20 comments

You've reached the end!