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

My first experience with an "AI"-ed call centre?

3•chrisjj•48m ago•0 comments

Perfect agreement is a warning sign you're talking to yourself

2•eldude•1h ago•0 comments

Ask HN: Are you a SWE that lost job purely due to AI? Share your story

2•matijash•16m ago•0 comments

Reddit Ads support is leaking PII and actively crossing user sessions

7•arashvakil•2h ago•1 comments

Thank HN: You helped save 33k lives

1135•chaseadam17•3d ago•113 comments

Ask HN: Is it worth learning Vim in 2026?

24•zekejohn•14h ago•17 comments

Google Cloud APIs (gcloud CLI) seems to be down or broken

3•thej•11h ago•0 comments

Ask HN: Anyone else tired of working in tech?

30•boredemployee•1d ago•35 comments

Googling on Brazil about "Gemini said" shows unrevised content from Gemini

3•yrds96•1d ago•1 comments

Ask HN: Are hackathons still worth doing?

8•kwar13•1d ago•6 comments

Ask HN: Can a license make large corporations give back?

2•arboles•1d ago•3 comments

Ask HN: (Your) Request for Startups?

9•dontoni•1d ago•7 comments

Ask HN: How do you overcome imposter syndrome?

11•fdneng•2d ago•16 comments

Ask HN: How do you motivate your humans to stop AI-washing their emails?

27•causal•3d ago•35 comments

Ask HN: In Cursor/agents, do plugins hide MCP tools from the main agent?

4•azebazenestor•1d ago•3 comments

Ask HN: Why are there no talks about Seedance 2.0 on Hacker News?

8•ElectroNomad•2d ago•7 comments

Watching an elderly relative trying to use the modern web

48•ColinWright•3d ago•19 comments

Tell HN: Attackers using Google parental controls to prevent account recovery

19•TazeTSchnitzel•2d ago•4 comments

Top non-ad google result for "polymarket" in Australia is a crypto scam

17•rtrgrd•4d ago•3 comments

Ask HN: Claude web blocked its assets visit via csp?

6•xgstation•2d ago•2 comments

Ask HN: Companies that advertise being a "best place to work", is it a red flag?

12•jrs235•4d ago•16 comments

SEL Deploy – Cryptographically chained deployment timeline

2•chokriabouzid•2d ago•1 comments

Picknar – Lightweight YouTube Thumbnail Extractor (No Login, No API Key)

3•Picknar•3d ago•1 comments

Grand Time: Time-Based Models in Decentralized Trust

3•AGsist•3d ago•0 comments

Ask HN: How do you debug multi-step AI workflows when the output is wrong?

4•terryjiang2020•2d ago•7 comments

You've reached the end!