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

Ask HN: What's You Opinon on XMTP

2•julienreszka•1h ago•0 comments

Tell HN: Ralph Giles has died (Xiph.org| Rust@Mozilla | Ghostscript)

499•ffworld•1d ago•27 comments

Ask HN: Are there examples of 3D printing data onto physical surfaces?

10•catapart•17h ago•19 comments

Ask HN: Stripe is asking for bank statements to check financial health

2•kinj28•4h ago•1 comments

Ask HN: What are you working on? (February 2026)

332•david927•5d ago•1142 comments

Ask HN: Are you using an agent orchestrator to write code?

36•gusmally•1d ago•53 comments

Ask HN: What would you recommend a vibe coder learn about how all this works?

28•alexdobrenko•1d ago•35 comments

Built and shipped an iOS app from my phone while traveling Japan

5•lordokami•11h ago•4 comments

Ask HN: Did YouTube change how it handles uBlock?

19•tefloon69•1d ago•11 comments

Ask HN: My OpenClaw doesn't respond. Anybody met with the same problem?

4•Fendy1•10h ago•5 comments

Ask HN: Exceptionally well-written research papers in CS/ML/AI?

2•b3rkus•10h ago•0 comments

Ask HN: How do you audit LLM code in programming languages you don't know?

9•syx•1d ago•10 comments

Ask HN: Anyone else finding the new Gemini Deep Think troublingly sycophantic?

4•neom•12h ago•1 comments

Ask HN: AI Depression

45•pavello•1d ago•26 comments

We just released Khaos SDK and khaos-examples (BSL 1.1)

3•exordex•13h ago•0 comments

Ask HN: We're building a saving app for European savers and need GTM advice

4•AlePra00•1d ago•11 comments

Ask HN: Do sociotechnical pressures select for beneficial or harmful AI systems?

5•jerlendds•1d ago•3 comments

Ask HN: Why are electronics still so unrecyclable?

72•alexandrehtrb•2d ago•138 comments

Ask HN: Better hardware means OpenAI, Anthropic, etc. are doomed in the future?

4•kart23•1d ago•7 comments

Ask HN: What happens when capability decouples from credentials?

8•falsework•1d ago•7 comments

Ask HN: Tools to code using voice?

7•emerongi•1d ago•6 comments

Ask HN: Why is my Claude experience so bad? What am I doing wrong?

6•moomoo11•1d ago•5 comments

Moss: A Linux-compatible Rust async kernel, 3 months on

4•hexagonal-sun•23h ago•1 comments

Ask HN: If your OpenClaw could do 1 thing it currently can't, what would it be?

5•stosssik•1d ago•3 comments

Ask HN: How do founders demo real product without exposing sensitive data?

4•legitimate_key•1d ago•9 comments

Ask HN: How do you "step through" your own anxiety?

7•schneak•1d ago•20 comments

SMTP server from scratch in Go – FSM, raw TCP, and buffer-oriented I/O

5•Jyotishmoy•1d ago•2 comments

Ask HN: GPT-5.3-Codex being silently routed to GPT-5.2?

5•tardis_thad•1d ago•3 comments

Ask HN: Has anyone achieved recursive self-improvement with agentic tools?

9•nycdatasci•2d ago•14 comments

Ask HN: What's the current state of ChatGPT Apps?

5•arthurlee•1d ago•2 comments