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)

156•david927•10h ago•557 comments

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

434•lemonlime227•1d ago•426 comments

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

2•vood•2h ago•0 comments

Computer animator and Amiga fanatic Dick van Dyke turns 100

266•ggm•1d ago•88 comments

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

6•VladVladikoff•5h ago•3 comments

I miss the old Internet of 10-20 years ago

25•morpheos137•1d ago•18 comments

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

3•souravpradhan•16h ago•4 comments

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

26•nazarh•4h ago•48 comments

Ask HN: Should "I asked $AI, and it said" replies be forbidden in HN guidelines?

972•embedding-shape•5d ago•461 comments

Ask HN: Thought-Provoking Books

11•Agraillo•1d ago•12 comments

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

10•jc_811•1d ago•8 comments

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

35•bmadduma•3d ago•30 comments

Meta "deletes" years of conversations with friends/family

9•effectkai•1d ago•4 comments

How does a "you interview for US company, we do the work" scam work?

32•marttilaine•2d ago•39 comments

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

23•underlipton•2d ago•8 comments

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

26•Boulderchaim•2d ago•11 comments

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

3•amichail•2d ago•5 comments

Ask HN: End of Year Book Recommendations

24•marai2•4d ago•12 comments

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

22•ftonato•4d ago•15 comments

What is the most effective way to learn programming?

8•luis_journey•1d ago•13 comments

Searching: Cybersecurity Classes

3•prospopa•2d ago•2 comments

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

5•freefrog334433•2d ago•3 comments

Ask HN: How do you handle release notes for multiple audiences?

36•glidr_dev•1d ago•47 comments

Ask HN: Can someone explain why OpenAI credits expire?

5•jemiluv8•3d ago•14 comments

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

10•pratchett•2d ago•24 comments

Referral to coach for fundraising for pre-revenue seed capital?

3•FWKevents•2d ago•1 comments

Ask HN: What hard problems are still underexplored?

17•brihati•3d ago•22 comments

Ask HN: Relatively SoTA LLM Agents from Scratch?

4•solsane•3d ago•3 comments

Ask HN: Has anyone been able to renew their IEEE this month?

8•chrisaycock•3d ago•1 comments

Practical Tips for Gemini 3

7•xiaoru•3d ago•1 comments