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: Distributed data centers in our basements

45•cmos•9h ago•56 comments

Tell HN: Chrome says "suspicious download" when trying to download yt-dlp

265•joering2•8h ago•84 comments

Ask HN: Academic study on AI's impact on software development – want to join?

25•research2026•6h ago•14 comments

LinkedIn uses 65GB of RAM with 7 tabs opened

7•daniele_dll•1h ago•4 comments

Ask HN: I burnt out from software development. What now?

6•fnoef•4h ago•7 comments

Nexus – Agent-native ops platform for ecommerce MCP, self-registration, no demos

3•karimsherif•3h ago•0 comments

Ask HN: Is there any founder building non AI startup in 2026?

5•daudmalik06•4h ago•1 comments

LinkedIn uses 2.4 GB RAM across two tabs

780•hrncode•2d ago•447 comments

Proof-engine A mathematical rendering engine for Rust

4•Shmungus•7h ago•2 comments

Ask HN: Does anyone else notice that gas runs out faster than usual

18•cat-turner•1d ago•30 comments

Ask HN: What was it like in the era of BBS before the internet?

24•ex-aws-dude•1d ago•31 comments

Are you team MCP or team CLI?

13•sharath39•1d ago•14 comments

Ask HN: Who needs contributors? (March 2026)

23•Kathan2651•1d ago•12 comments

Tell HN: DeepL Moving Data to AWS

5•bilekas•14h ago•4 comments

With Mythos will we reach coding singularity?

4•kamalsrini17•16h ago•1 comments

Sandflare – I built a sandbox that launches AI agent VMs in ~300ms

5•ajaysheoran2323•17h ago•4 comments

Ask HN: Gemini CLI vs. Claude Code

6•elC0mpa•19h ago•6 comments

Ask HN: Are you too getting addicted to the dev workflow of coding with agents?

41•gchamonlive•23h ago•40 comments

Curious. anyone here allow agents to make purchase decisions of >$100?

2•adityasriram•21h ago•11 comments

Ask HN: Is it actually possible to run multiple coding sessions in parallel?

11•sukit•1d ago•16 comments

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

14•richardstahl•2d ago•27 comments

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

10•tpurves•2d ago•11 comments

Ask HN: Dean of studies at a French CS school – what should we teach?

8•fdeage•13h ago•5 comments

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

74•acmerfight•3d ago•87 comments

Ask HN: How to Handle Claude's Stubbornness?

9•classicpsy•1d ago•10 comments

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

13•whatarethembits•2d ago•15 comments

Ask HN: What's your favorite number, and why?

10•QuantumNomad_•1d ago•30 comments

Ask HN: Is anyone still resisting the slop onslaught?

7•0xDEFACED•22h ago•8 comments

Ask HN: Release Path for 'Transformers Alternatives'?

4•adinhitlore•2d ago•1 comments

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

8•bhaviav100•2d ago•31 comments