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

Tell HN: Anthropic no longer allowing Claude Code subscriptions to use OpenClaw

478•firloop•6h ago•438 comments

Anthropic to limit Using third-party harnesses with Claude subscriptions

15•guiyuwei•6h ago•3 comments

Third-party Claude harnesses will now draw from extra usage

10•iBelieve•6h ago•2 comments

Ask HN: Analysis of credit card receipts to show one does not buy alcohol

3•bryanrasmussen•4h ago•6 comments

Ask HN: Who is hiring? (April 2026)

272•whoishiring•2d ago•336 comments

Lightweight IDE to Pair with Claude Code?

3•zupancik•6h ago•1 comments

Ask HN: Who wants to be hired? (April 2026)

83•whoishiring•2d ago•329 comments

Ask HN: Are agents _still_ writing most of your code?

4•etamponi•8h ago•4 comments

What Is a Collation, and Why Is My Data Corrupt? – PG Phridays with Shaun Thomas

2•pgedge_postgres•10h ago•0 comments

Ask HN: Should we collectively stop spell checking and fixing grammar

3•sankalpnarula•10h ago•10 comments

Ask HN: Distributed data centers in our basements

72•cmos•3d ago•65 comments

Ask HN: Thought Exercise regarding RX dependency

2•Bender•13h ago•0 comments

Ask HN: Advice on Solo Launching

4•acaciabengo•13h ago•1 comments

Ask HN: What are you moving on to now that Claude Code is so rate limited?

5•esperent•15h ago•12 comments

Ask HN: Whether there is LLM or other strong NLP behind Hacker News?

2•Jet_Xu•16h ago•1 comments

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

306•joering2•3d ago•96 comments

Ask HN: What is your dev set up like?

12•break_the_bank•1d ago•26 comments

Ask HN: How relevant is low code according to you in today’s world with Claude?

7•kinj28•1d ago•6 comments

Stripe closed my UAE business account and is withholding $3.5K

23•alganzory•1d ago•4 comments

Ask HN: Client took over development by vibe coding. What to do?

59•piscator•2d ago•38 comments

Ask HN: What dev tools do you rely on that nobody talks about?

40•crcsmnky•2d ago•36 comments

Ask HN: European Tech Alternatives?

101•BrunoBernardino•1d ago•54 comments

Fixed a llama.cpp bug silently disabling Vulkan GPU on all 32-bit ARM devices

2•perinban•23h ago•0 comments

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

30•research2026•3d ago•15 comments

Ask HN: Is there any interest in a native Qt/C++ Discord client?

5•txtsd•2d ago•2 comments

BetterDB – open-source Redis/Valkey migration across clouds and self-hosted

14•kaliades•2d ago•7 comments

Training mRNA Language Models Across 25 Species for $165

3•maziyar•2d ago•1 comments

Ask HN: What happens when you block/mark as spam a call or text?

12•dsalzman•2d ago•3 comments

Ask HN: Brian Kernighan's "Q"?

3•remywang•1d ago•0 comments

Are tech companies even hiring?

19•KernelPryanic•2d ago•19 comments