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

Training mRNA Language Models Across 25 Species for $165

89•maziyar•3d ago•26 comments

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

994•firloop•22h ago•761 comments

Ask HN: How Do You Relax?

5•azeirah•1h ago•2 comments

Intelligence Cannot Be Trained?

4•hyperzzw•6h ago•3 comments

Ask HN: Who is hiring? (April 2026)

274•whoishiring•3d ago•346 comments

Anthropic to limit Using third-party harnesses with Claude subscriptions

17•guiyuwei•21h ago•5 comments

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

85•whoishiring•3d ago•336 comments

Third-party Claude harnesses will now draw from extra usage

12•iBelieve•21h ago•4 comments

Ask HN: Learning resources for building AI agents?

5•7e10•12h ago•5 comments

Tell HN: YouTube history setting privacy implications

5•tinaclaussen•12h ago•1 comments

Ask HN: Distributed data centers in our basements

73•cmos•4d ago•65 comments

Ask HN: Why still embed heavy 3rd-party iFrames for simple social proof?

4•LordKode•15h ago•0 comments

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

5•sankalpnarula•1d ago•15 comments

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

4•bryanrasmussen•19h ago•10 comments

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

308•joering2•4d ago•97 comments

Lightweight IDE to Pair with Claude Code?

4•zupancik•21h ago•1 comments

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

5•etamponi•23h ago•4 comments

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

3•pgedge_postgres•1d ago•0 comments

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

42•crcsmnky•3d ago•36 comments

Ask HN: What is your dev set up like?

13•break_the_bank•2d ago•27 comments

Ask HN: Thought Exercise regarding RX dependency

3•Bender•1d ago•0 comments

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

25•alganzory•2d ago•5 comments

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

8•kinj28•2d ago•7 comments

Ask HN: Advice on Solo Launching

5•acaciabengo•1d ago•2 comments

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

31•research2026•4d ago•15 comments

Ask HN: European Tech Alternatives?

103•BrunoBernardino•2d ago•54 comments

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

7•esperent•1d ago•13 comments

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

3•Jet_Xu•1d ago•1 comments

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

3•perinban•1d ago•0 comments

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

5•txtsd•2d ago•2 comments