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

58•cmos•15h ago•60 comments

Non-US founders residential address problem with Brex, Mercury?

4•Barazutti629•1h ago•0 comments

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

274•joering2•14h ago•89 comments

Tell HN: Zed is sunsetting text threads

4•koito17•2h ago•0 comments

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

28•research2026•12h ago•14 comments

LinkedIn uses 2.4 GB RAM across two tabs

785•hrncode•2d ago•448 comments

LinkedIn uses 65GB of RAM with 7 tabs opened

7•daniele_dll•8h ago•4 comments

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

3•karimsherif•10h ago•0 comments

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

10•daudmalik06•11h ago•5 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?

25•ex-aws-dude•1d ago•32 comments

Proof-engine A mathematical rendering engine for Rust

4•Shmungus•14h ago•3 comments

Are you team MCP or team CLI?

14•sharath39•1d ago•14 comments

Ask HN: Who needs contributors? (March 2026)

24•Kathan2651•1d ago•13 comments

Tell HN: DeepL Moving Data to AWS

5•bilekas•21h ago•4 comments

With Mythos will we reach coding singularity?

4•kamalsrini17•23h ago•1 comments

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

5•ajaysheoran2323•1d ago•5 comments

Ask HN: Gemini CLI vs. Claude Code

6•elC0mpa•1d ago•7 comments

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

2•adityasriram•1d ago•12 comments

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

41•gchamonlive•1d ago•42 comments

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

11•sukit•1d ago•15 comments

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

15•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

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

74•acmerfight•3d ago•87 comments

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

13•whatarethembits•3d ago•15 comments

Ask HN: How to Handle Claude's Stubbornness?

9•classicpsy•1d ago•10 comments

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

8•fdeage•20h ago•5 comments

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

10•QuantumNomad_•1d ago•30 comments

Ask HN: Release Path for 'Transformers Alternatives'?

4•adinhitlore•2d ago•1 comments

Claude API Error: 529

25•anujbans•4d ago•14 comments