frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

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

Ask HN: Is it still worth pursuing a software startup?

89•newbebee•12h ago•75 comments

Ask HN: Share your personal website

908•susam•2d ago•2330 comments

Ask HN: Claude Opus performance affected by time of day?

34•scaredreally•21h ago•34 comments

Do people still need websites, or just a public page?

3•paravaib•2h ago•4 comments

Ask HN: How are you doing RAG locally?

393•tmaly•2d ago•153 comments

Ask HN: How can we solve the loneliness epidemic?

761•publicdebates•1d ago•1194 comments

Ask HN: What did you find out or explore today?

213•blahaj•2d ago•398 comments

Ask HN: Browser extension vs. native app for structured form filling?

4•livrasand•15h ago•2 comments

Tell HN: The way I do simple data management for new prototypes

10•AndreyK1984•1d ago•7 comments

Ask HN: Who's using DuckDB in production?

7•yakkomajuri•17h ago•4 comments

Tell HN: YouTube gave my username switzerland to a half government organization

23•faebi•1d ago•5 comments

Sendnow – Free DocSend/Seismic alternative for file tracking and microsites

2•sendnow•5h ago•1 comments

Ask HN: One IP, multiple unrealistic locations worldwide hitting my website

41•nacho-daddy•1d ago•24 comments

Ask HN: Do you think college is/was worth it?

3•hallole•6h ago•5 comments

Ask HN: How have you or your firm made money with LLMs?

7•bwestergard•21h ago•8 comments

Ask HN: What's something you wished you started doing earlier?

4•karakoram•13h ago•10 comments

Ask HN: Iran's 120h internet shutdown, phones back. How to stay resilient?

113•us321•3d ago•99 comments

Ask HN: What are you working on? (January 2026)

256•david927•5d ago•875 comments

Ask HN: How do you safely give LLMs SSH/DB access?

80•nico•2d ago•106 comments

Ask HN: Can companies claim copyright over their LLM-generated codebases?

4•mks_shuffle•11h ago•4 comments

Ask HN: What are your best purchases under $100?

80•krishadi•1d ago•224 comments

Ask HN: Those who quit tech, moved back home, what do you do?

12•akudha•17h ago•6 comments

Ask HN: How to make spamming us uncomfortable for LinkedIn and friends?

12•zx8080•2d ago•7 comments

Ask HN: Has Claude Code changed its usage limits for you?

2•laurex•13h ago•2 comments

Ask HN: Have you ever tried low-code tools for your work?

3•andre_fernandes•1d ago•1 comments

Ask HN: Distributed SQL engine for ultra-wide tables

23•synsqlbythesea•2d ago•20 comments

The $LANG Programming Language

263•dang•3d ago•69 comments

Tell HN: Execution is cheap, ideas matter again

14•keepamovin•1d ago•6 comments

Ask HN: AI music covers in 2026?

16•sexy_seedbox•1d ago•9 comments

Ask HN: Which system would you trust to run a business you can't afford to lose?

2•cutterlayers•16h ago•1 comments