frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

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

Ask HN: Remember Fidonet?

14•ukkare•39m ago•6 comments

Ask HN: Since a week HN keeps logging me off every few days, why?

4•epolanski•1h ago•0 comments

Ask HN: What Are You Working On? (March 2026)

276•david927•1d ago•1022 comments

Ask HN: What AI content automation stack are you using in 2026?

2•jackcofounder•1h ago•2 comments

Ask HN: How to be alone?

658•sillysaurusx•2d ago•542 comments

Ask HN: Can I repurpose a Bluetooth voice remote as input device for a PC?

15•albert_e•2d ago•20 comments

Ask HN: Please restrict new accounts from posting

698•Oras•1d ago•492 comments

Ask HN: Most beautiful personal blog UI you have ever seen?

127•ms7892•1d ago•53 comments

Why is GPT-5.4 obsessed with Goblins?

6•pants2•6h ago•3 comments

Ask HN: Favorite Non-Spammy iPhone Games?

3•bix6•9h ago•3 comments

Ask HN: Is GitHub getting less reliable, or is it just me?

7•_pdp_•14h ago•4 comments

Ask HN: What game engine would you recommend for vibe coding?

5•general_reveal•10h ago•4 comments

Tell HN: I'm 60 years old. Claude Code has re-ignited a passion

1063•shannoncc•3d ago•968 comments

Ask HN: Read‑only LLM tool for email triage and knowledge extraction?

2•maille•12h ago•3 comments

Ask HN: Any informed guesses on the actual size/architecture of GPT-5.4 etc.?

4•dsrtslnd23•12h ago•0 comments

Code-review-graph: persistent code graph that cuts Claude Code token usage

2•tirthkanani•16h ago•0 comments

Ask HN: Who Needs Help?

14•surprisetalk•20h ago•8 comments

A job ad for Agentic AI Advocate

4•greenpinia•20h ago•1 comments

Ask HN: Are showlang and thelang HN endpoints not being maintained?

4•freakynit•21h ago•1 comments

OpenAI might end up on the right side of history

12•shoman3003•1d ago•10 comments

Ask HN: How are you handling persistent memory across local Ollama sessions

5•null-phnix•2d ago•0 comments

Ask HN: Anyone else feel this community has changed recently?

55•kypro•3d ago•29 comments

All tmux sessions as a single terminal

2•lygten•1d ago•1 comments

Ask HN: Are we going to see more job postings asking for only agentic coding?

5•ronbenton•1d ago•10 comments

Ask HN: Which book are you reading these days?

5•chistev•15h ago•18 comments

Whisker – Self hosted e-commerce cart, pure PHP, zero dependencies

7•eLohith•2d ago•3 comments

Ask HN: How are you adapting your career in this AI era?

11•sarthaksaxena•22h ago•5 comments

Tell HN: The proposed KIDS Act (HR 7757) effectively mandates biometric browsing

19•fokdelafons•3d ago•0 comments

Ask HN: How are you monitoring AI agents in production?

4•jairooh•1d ago•7 comments

I replaced my freelance SaaS stack with 5 single-file HTML tools

4•AnnSri•1d ago•2 comments