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

Tell HN: GitHub Having Issues

47•Sytten•1h ago•25 comments

Ask HN: Best use / examples of agents / OpenClaw that you saw recently?

2•simonebrunozzi•24m ago•0 comments

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

115•whoishiring•1d ago•307 comments

Ask HN: Who is hiring? (March 2026)

229•whoishiring•1d ago•302 comments

Google violates its 14-day deprecation policy for Gemini 3 Pro Preview

4•goolulusaurs•2h ago•1 comments

I have $10k+ in cloud credits and want to turn them into a real business

3•Palominocoq•3h ago•1 comments

Ask HN: How is Claude agent experience in Xcode 26.3?

5•malshe•3h ago•0 comments

Ask HN: What will OpenAI employees do now who have signed notdividedorg petition

10•Imustaskforhelp•7h ago•15 comments

Ask HN: What Online LLM / Chat do you use?

11•ddxv•18h ago•15 comments

Ask HN: How are you all staying sane?

133•throwaway53463•1d ago•133 comments

Ask HN: How are you structuring Markdown-based context for AI coding agents?

2•lepuski•8h ago•0 comments

Whats Up with Claude Lately?

17•mech422•16h ago•14 comments

Tell HN: MitID, Denmark's digital ID, was down

141•mousepad12•4d ago•181 comments

Ask HN: What sources like HN do you consume?

50•DavidHaerer•1d ago•33 comments

Ask HN: How Do Emergency Alerts on Phone Work?

5•rishikeshs•14h ago•4 comments

Ask HN: Who still works async and has a 'no meetings' work policy in 2026?

6•RaulOnRails•9h ago•4 comments

Ask HN: Would engineers be interested in a technical prep consultant?

7•TechPrepper•23h ago•8 comments

Aura-State: Formally Verified LLM State Machine Compiler

4•rohanmunshi08•2d ago•2 comments

A timeline of cyber attacks:home users, contractors, and SMBs are now targets

4•EricAUS•18h ago•2 comments

Ask HN: Codex CLI error reveals "GPT-5.4-ab-arm2" string

6•quantisan•19h ago•1 comments

BlackTape – open-source music discovery built on MusicBrainz and Discogs

7•Blacktape•20h ago•2 comments

Ask HN: How did you figure out what research field you were passionate about?

7•aabiji•20h ago•6 comments

Ask HN: How to approach new people in 2026?

10•tavro•1d ago•16 comments

Tell HN: My daily game won a Players Choice Award

20•paulhebert•3d ago•4 comments

Ask HN: Billions of dollars in funding, but what's changed for robotics?

9•ajax33•1d ago•3 comments

I used 2D Base64 to bypass Gemini and expose Google's moderation flaws

7•MissMajordazure•2d ago•1 comments

AWS ME-CENTRAL-1 Region Down (Due to additional loss of mec1-az3)

11•nixgeek•1d ago•2 comments

AnChat – E2E messenger on decentralized infrastructure, no phone number required

3•debros•1d ago•1 comments

AWS Console Degraded Worldwide?

2•asdfghjkltyuiop•1d ago•0 comments

Ask HN: How do we solve the bot flooding problem without destroying anonymity?

14•txrx0000•2d ago•19 comments