frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

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

Ask HN: Are you afraid of AI making you unemployable within the next few years?

5•johnwheeler•1h ago•13 comments

Ask HN: What Are You Working On? (December 2025)

438•david927•6d ago•1448 comments

AI Code assistants has made completing side projects so easy

4•akmittal•6h ago•4 comments

Ask HN: Those making $500/month on side projects in 2025 – Show and tell

449•cvbox•2d ago•515 comments

Tell HN: HN was down

595•uyzstvqs•3d ago•327 comments

Ask HN: What are your predictions for 2026?

100•mfrw•3d ago•186 comments

LLM Benchmark: Frontier models now statistically indistinguishable

3•js4ever•7h ago•3 comments

Ask HN: Who here is not working on web apps/server code?

82•ex-aws-dude•2d ago•92 comments

Cloudflare has been broken for 15 hours

10•Canada•16h ago•12 comments

Ask HN: Is GitHub becoming more and more unstable?

5•pavish•19h ago•1 comments

Ask HN: Does anyone understand how Hacker News works?

161•jannesblobel•2d ago•226 comments

The offline geocoder we wanted

7•gipsyjaeger•15h ago•2 comments

Ask HN: Is starting a personal blog still worth it in the age of AI?

63•nazarh•5d ago•78 comments

Ask HN: Is building a calm, non-gamified learning app a mistake?

86•hussein-khalil•5d ago•122 comments

Ask HN: How are you LLM-coding in an established code base?

69•adam_gyroscope•4d ago•65 comments

FWS – pip-installable embedded process supervisor with PTY/pipe/dtach back ends

4•mrsurge•2d ago•0 comments

Ask HN: Is Stack Overflow Dead?

12•raphar•1d ago•16 comments

Ask HN: What would you call a package whose purpose is to import data?

7•ctc24•1d ago•9 comments

Ask HN: How do you deal with large, hard-to-read Excel formulas?

8•jack_ruru•1d ago•10 comments

Ask HN: Do you allow vibecoded submissions in your open-source projects?

3•sneas•1d ago•10 comments

Ask HN: Should I start a software foundation (goal: help emergency services)?

12•strgcmc•2d ago•0 comments

Ask HN: What is the most complex software you've built single handedly?

8•chistev•12h ago•2 comments

Ask HN: If you had to get a non-tech masters degree, what would you go for?

3•highwayman47•2d ago•6 comments

Ask HN: If one day AI brain chips become a thing, would you get it?

6•keepamovin•1d ago•24 comments

Ask HN: How do teams remember why infrastructure decisions were made?

6•curious_sre•1d ago•10 comments

Ask HN: Is RSS Still Alive?

10•militanz•2d ago•12 comments

Ask HN: Etiquette giving feedback on mostly AI-generated PRs from co-workers

4•chfritz•2d ago•6 comments

Ask HN: Is anyone using LLM based document processing in production?

7•asdev•2d ago•8 comments

Is analytics a necessary evil rather than a real value driver?

6•tiazm•2d ago•7 comments

Ask HN: How to fight back against Lovable, Replit, etc. in enterprise products

3•bears123•2d ago•3 comments