frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

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

Ask HN: Our AWS account got compromised after their outage

152•kinj28•8h ago•48 comments

HTTP error codes illustrated with stills from Columbo

8•ColinWright•8h ago•5 comments

Ask HN: What are people doing to get off of VMware?

187•jwithington•2d ago•162 comments

Ask HN: How to stop an AWS bot sending 2B requests/month?

282•lgats•4d ago•181 comments

Walrus: A High Performance Storage Engine built from first principles

7•nubskr•11h ago•0 comments

Claude output matching copyrighted StackOverflow code

4•randsp•13h ago•3 comments

Ask HN: Why is Bowker's monopoly on ISBNs in the USA legal?

17•blindprogrammer•1d ago•12 comments

Programming language agnosticism is the only way to move forward in life

29•amano-kenji•2d ago•20 comments

Ask HN: How does one build large front end apps without a framework like React?

106•thepianodan•4d ago•185 comments

Warning: Gmail client Show Original can omit lines of the original

18•chrisjj•2d ago•2 comments

Ask HN: What are you working on? (October 2025)

346•david927•1w ago•1049 comments

Ask HN: Best way to make a documentation website for an open-source project?

5•mudge•1d ago•5 comments

Ask HN: Why isn't Amazon.com impacted by AWS outages?

5•trevoragilbert•1d ago•11 comments

Ask HN: Testing AST or assembly output for a compiler

2•backslash_16•1d ago•2 comments

Ask HN: Abandoned/dead projects you think died before their time and why?

362•ofalkaed•1w ago•890 comments

Ask HN: SQL using relational theory books?

6•shivajikobardan•2d ago•3 comments

Ask HN: What level of news do you need and not need?

10•bwb•1d ago•12 comments

Ask HN: DOS Based "Multitaskers"

5•alexshendi•3d ago•2 comments

Ask HN: New YouTube player not working in Firefox

3•gethly•1d ago•10 comments

Ask HN: Web app freezes, but not when Chrome is recording. How to debug?

6•febed•4d ago•2 comments

Ask HN: Those who applied to the OpenAI Grove program, did you ever hear back?

23•heywoods•2d ago•7 comments

Ask HN: I have a CS degree but taught for 5 years– how can I get back into tech?

4•padzochambers•1d ago•16 comments

Ask HN: Is there an open source HN?

10•shafkathullah•2d ago•9 comments

Ask HN: Estimation of copyright material used by LLM

5•megamix•2d ago•8 comments

You've reached the end!