frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

4•martinald•1y 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•1y 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•1y ago
give https://pg.llmwhisperer.unstract.com/ a try

DeepSeek launching v4.1 flash cheaper and more capable than v4 pro

369•nickweb•7h ago•189 comments

I want a data center job

3•incalculablecac•1h ago•4 comments

Ask HN: Do you regret using Social Networking apps?

3•julienreszka•1h ago•1 comments

Ask HN: 3.5 inch diskette read errors, would a period correct drive do better?

33•rietta•2d ago•39 comments

Ask HN: Are others seeing Google's reCAPTCHA rejecting Firefox users?

253•Animats•5d ago•130 comments

Ask HN: Software Licenses that prevent LLMs from training on open source?

3•mattm•2h ago•1 comments

Ask HN: Is there any solution to the AI infestation?

2•yathern•3h ago•3 comments

Ask HN: How to know when Claude has changed model itself during processing?

2•mfaisalghufran•3h ago•0 comments

Reddit saves your keystrokes in text boxes

16•thomasjeff1•4h ago•4 comments

FinOps for LLM Spend – why your bill has changed

2•leanroute_ai•3h ago•0 comments

Slideforge

2•vreddhi•5h ago•0 comments

Ask HN: What non-IT/Software industries have benefitted the most from AI?

2•simonsarris•5h ago•4 comments

Ask HN: Fable hacked my piano, can I release the results?

296•jmpman•4d ago•163 comments

Ask HN: How do you manage skills files?

309•imadtaieber•2d ago•290 comments

Apparently CodePen 2.0 sends data to their servers as you type

112•maxim-fin•2d ago•59 comments

Ask HN: Who is using MCP in production?

198•sukit•6d ago•200 comments

Ask HN: Would you read a statistics textbook?

106•usernametaken29•3d ago•66 comments

Ask HN: Why were OpenAI, Claude, and Grok simultaneously down?

404•halcdev•6d ago•705 comments

Ask HN: Are you leveraging Spec-Driven / Spec-Anchored development?

6•locusofself•19h ago•3 comments

Ask HN: Can I turn my part-time project into a full-time SaaS?

3•Fotis-Karmpas•6h ago•2 comments

Ask HN: Show your micro-SaaS

23•genekrapivin•2d ago•21 comments

Ask HN: Is ageism in tech still a problem in 2026?

4•leonagano•17h ago•2 comments

Ask HN: Would you hire a new engineer, or get 300k worth of tokens for the team?

5•websap•18h ago•8 comments

I'm going back to coding by hand

55•trencedamp•11h ago•42 comments

The universal programming language of LLMs

5•senorqa•21h ago•9 comments

Ask HN: Any Software Engineers here who enjoy their AI-native dev workflow?

12•pkos98•3d ago•12 comments

Tell HN: OpenAI keeps stealing my money

10•dingdong2026•1d ago•4 comments

Ask HN: Anyone still coding like 2021? Where do you work?

60•sph•5h ago•86 comments

Tell HN: OpenAI brings back 5 hour limit for plus and business standard users

128•spwa4•2d ago•146 comments

Ask HN: Connecting Kubernetes dependencies to application telemetry

6•chipfixer•3d ago•2 comments