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: What's a standard way for apps to request text completion as a service?

46•nvader•4d ago•20 comments

Are There Any Similar Sites Like Downdetector?

2•nomadfounder•55m ago•0 comments

Ask HN: Would you pay for a privacy-first social platform?

4•sammiej•1h ago•6 comments

Ask HN: Senior engineering mngrs: how has AI changed your day-to-day work?

19•kitetm•8h ago•4 comments

Ask HN: Best way to find chill job where I can learn and grow as a swe

31•digitdiglet•2d ago•34 comments

Ask HN: Should I learn Docker to deploy my app in VPS?

3•danver0•2h ago•3 comments

Ask HN: What happened to self-hosted models?

3•curiousaboutml•7h ago•9 comments

How to search Remote-from-Anywhere jobs

7•andrewstetsenko•4h ago•2 comments

Ask HN: Any Microsoft employees/devs here? What's happening to Microsoft?

107•thehamkercat•4d ago•82 comments

Ask HN: Is it time for HN to implement a form of captcha?

88•Rooster61•2d ago•132 comments

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

171•whoishiring•1w ago•411 comments

Tell HN: Get a dying iPhone 12 mini in 2026

23•remywang•1d ago•21 comments

Ask HN: How do you use 5–10 minute gaps productively?

46•pea•5d ago•56 comments

Ask HN: Who is hiring? (January 2026)

358•whoishiring•1w ago•353 comments

Ask HN: How to make working in software fun again?

5•canxerian•23h ago•6 comments

Working on decentralized compute at io.net sharing what we're learning

4•plutodev•1d ago•3 comments

Implementing NaN Boxing in a Stack-Based VM

5•tracyspacy•3d ago•0 comments

Ask HN: What's your preferred digital payment method?

3•vednig•1d ago•18 comments

Ask HN: How would you decouple from the US?

33•yawa_me_worht•2d ago•18 comments

Ask HN: Feeling irrelevant in back end. How to pivot to automotive software?

3•culopatin•2d ago•3 comments

Ask HN: How do you do store-and-forward telemetry at the edge?

5•Aydarbek•3d ago•3 comments

I've maintained an open source task manager for 8 years

6•johannesjo•1d ago•1 comments

RevisionDojo, a YC startup, is running astroturfing campaigns targeting kids?

452•red-polygon•5d ago•88 comments

Ask HN: Have AI tools like agents affected your motivation at work?

7•SpicyNoodle•18h ago•2 comments

Ask HN: Why isn't AI spawning profitable indie games?

5•eveningsun•1d ago•8 comments

I built an AI agent that deploys a PR to production

3•amouehsan•1d ago•1 comments

Ask HN: Where is legacy codebase maintenance headed?

6•AnnKey•1d ago•4 comments

Funding Opportunities with Amateur Radio Digital Communications (ARDC)

4•ARDC_73•2d ago•1 comments

Ask HN: Reading list for being a better engineer?

48•drekipus•6d ago•17 comments

You've reached the end!