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

Ask HN: Who is hiring? (March 2026)

201•whoishiring•15h ago•236 comments

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

95•whoishiring•15h ago•216 comments

Ask HN: How Do Emergency Alerts on Phone Work?

2•rishikeshs•58m ago•2 comments

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

9•ddxv•5h ago•7 comments

Whats Up with Claude Lately?

12•mech422•3h ago•13 comments

Ask HN: How are you all staying sane?

117•throwaway53463•22h ago•119 comments

Ask HN: What sources like HN do you consume?

47•DavidHaerer•21h ago•29 comments

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

5•TechPrepper•10h ago•6 comments

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

3•EricAUS•5h ago•2 comments

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

4•quantisan•5h ago•1 comments

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

141•mousepad12•3d ago•181 comments

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

6•Blacktape•7h ago•0 comments

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

5•aabiji•7h ago•4 comments

Aura-State: Formally Verified LLM State Machine Compiler

4•rohanmunshi08•1d ago•2 comments

Ask HN: How to approach new people in 2026?

10•tavro•1d ago•16 comments

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

9•ajax33•20h ago•2 comments

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

11•nixgeek•23h ago•2 comments

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

2•debros•23h ago•0 comments

AWS Console Degraded Worldwide?

2•asdfghjkltyuiop•1d ago•0 comments

Tell HN: My daily game won a Players Choice Award

19•paulhebert•2d ago•4 comments

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

7•MissMajordazure•1d ago•1 comments

Ask HN: When do you expect ChatGPT moment in robotics?

10•p1esk•1d ago•18 comments

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

13•txrx0000•2d ago•19 comments

Ask HN: How will most Anthropic customers respond to the threats by the govt?

6•Poomba•1d ago•3 comments

I built AI agents that do the grunt work solo founders hate

5•Seleci•2d ago•6 comments

Garbage In, Garbage Out: The Degradation of Human Requirements in the LLM Era

9•waylake•2d ago•4 comments

Ask HN: Builder.ai ($1B Microsoft-backed AI company) who's lookin at the assets?

6•gamelock•2d ago•5 comments

I don't need AI to build me a new app. I need it to make Jira bearable

23•niel_hu•4d ago•18 comments

36yo: Career at home vs. Simple life abroad?

14•Slaboli•3d ago•35 comments

Super Editor – Atomic file editor with automatic backups (Python and Go)

6•larryste•3d ago•1 comments