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

Ask HN: What Are You Working On? (December 2025)

380•david927•1d ago•1267 comments

Ask HN: Is building a calm, non-gamified learning app a mistake?

62•hussein-khalil•6h ago•90 comments

Ask HN: Bloggers, how do you manage your content?

4•freemanjiang•2h ago•4 comments

Ask HN: Is starting a personal blog still worth it in the age of AI?

43•nazarh•23h ago•65 comments

DietPi released a new version v9.20

3•StephanStS•1h ago•0 comments

Computer animator and Amiga fanatic Dick van Dyke turns 100

274•ggm•2d ago•91 comments

Ask HN: How do you get comfortable with shipping code you haven't reviewed?

7•fnimick•7h ago•6 comments

Ask HN: How are you educating your elementary aged children?

2•ychandler•3h ago•0 comments

Ask HN: Why are modern AIs ignorant or reluctant to talk about "vibe coding"?

2•amichail•9h ago•14 comments

Ask HN: How can I get better at using AI for programming?

450•lemonlime227•2d ago•453 comments

Ask HN: Best back end to run models on Google TPU?

7•vood•22h ago•0 comments

I realized bad lighting is quietly hurting productivity (and no one measures it)

6•emmasuntech•15h ago•5 comments

Ask HN: Please suggest a smart watch that can be customized

9•VladVladikoff•1d ago•6 comments

Ask HN: How do I navigate horror of requirement gathering in product management?

3•souravpradhan•1d ago•4 comments

Ask HN: Thought-Provoking Books

13•Agraillo•2d ago•14 comments

Ask HN: Any online tech spaces you hang around that don't involve AI?

11•jc_811•2d ago•9 comments

AI coding is sexy, but accounting is the real low-hanging automation target

35•bmadduma•4d ago•31 comments

Meta "deletes" years of conversations with friends/family

10•effectkai•2d ago•4 comments

Ask HN: Did anyone else notice that the OpenAI Labs website was completely gone?

24•underlipton•3d ago•8 comments

Our "enterprise" experience with Stripe after $1B+ processed (be careful)

27•Boulderchaim•3d ago•13 comments

Why are "remote" jobs in late 2025 still limited to hiring in US/CA/UK/DE?

25•ftonato•5d ago•15 comments

Ask HN: End of Year Book Recommendations

27•marai2•4d ago•17 comments

Ask HN: Is writing without AI worse than sharing your medical records online?

3•amichail•3d ago•5 comments

Ask HN: How can I delete a Substack account in Australia?

5•freefrog334433•3d ago•3 comments

Ask HN: Can someone explain why OpenAI credits expire?

5•jemiluv8•4d ago•14 comments

Ask HN: What hard problems are still underexplored?

17•brihati•4d ago•26 comments

Searching: Cybersecurity Classes

3•prospopa•2d ago•3 comments

Ask HN: Relatively SoTA LLM Agents from Scratch?

4•solsane•4d ago•3 comments

Ask HN: Go all-in on AI Boom vs. enjoy parenthood?

11•pratchett•3d ago•24 comments

You've reached the end!