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

Git analytics that works across GitHub, GitLab, and Bitbucket

4•akhnid•1d ago•3 comments

Ask HN: Any example of successful vibe-coded product?

64•sirnicolaz•12h ago•94 comments

Ask HN: Does reading HN make you happy?

37•yakattak•11h ago•20 comments

Ask HN: What skills do you want to develop or improve in 2026?

266•meridion•5d ago•411 comments

Ask HN: Loneliness at 19, how to cope?

54•yresting•2d ago•91 comments

Ask HN: What did you read in 2025?

328•kwar13•4d ago•435 comments

A curated directory of open-source AI projects

12•doanbactam•19h ago•2 comments

Ask HN: What do you use to manage your coding projects?

5•SunshineTheCat•12h ago•8 comments

Tell HN: Merry Christmas

1954•basilikum•6d ago•428 comments

Ask HN: How to do a Personal Cybersecurity audit

22•preciousoo•1d ago•11 comments

TP-Link only works with a permanent internet connection

8•roscas•1d ago•4 comments

Users decide which online platforms to trust in 2025

4•taka-dev•20h ago•2 comments

Ask HN: How do you manage kids' accounts?

11•xfax•1d ago•4 comments

Ask HN: What are the best engineering blogs with real-world depth?

462•nishilpatel•1w ago•139 comments

Tell HN: No Scrollbar on Google Gemini UI

4•albert_e•1d ago•0 comments

Ask HN: How to go back to listening to MP3s?

8•muratsu•3d ago•13 comments

Ask HN: What are you building as a side-project or side-hustle in 2026?

17•bayeslaw•2d ago•33 comments

Ask HN: How do you get visibility if you're suuuuper bad at marketing?

11•ClipNoteBook•2d ago•20 comments

Ask HN: Why isn't there competition to LinkedIn yet?

60•antfie•1w ago•60 comments

Ask HN: How are you sandboxing coding agents?

44•m-hodges•3d ago•30 comments

Ask HN: What Comic-books did you read in 2025?

5•linesofcode•1d ago•2 comments

Tell HN: I am afraid AI will take my job at some point

23•funnyfoobar•4d ago•37 comments

Tell HN: Merry Christmas

92•franze•6d ago•57 comments

Book recommendations based on reading history

8•easywood•2d ago•9 comments

Ask HN: If you only needed 200 customers at$49, how would you approach it?

11•OmKadam•2d ago•15 comments

Ask HN: What was the hardest bug you tracked down in 2025?

11•varshith17•3d ago•6 comments

Ask HN: How many HN'ers Celebrate Christmas vs. ?

19•gist•6d ago•36 comments

Stronk.app – open-source gym lifts journal

65•apatheticonion•1w ago•30 comments

Ask HN: What is the international distribution/statistics of HN visitors?

63•KellyCriterion•5d ago•28 comments

Looking for Decent Conversation?

101•kmstout•6d ago•16 comments