frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

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

Ask HN: Who is using OpenClaw?

108•misterchocolat•2h ago•143 comments

Tell HN: Fiverr left customer files public and searchable

792•morpheuskafka•1d ago•223 comments

Any engineers here with experience of clinical data standards?

2•kalturnbull•1h ago•0 comments

Ask HN: How do you find motivation to do stuff?

10•RockstarSprain•7h ago•16 comments

Tell HN: Anthropic no longer allows you to fix to specific model version

21•baobabKoodaa•15h ago•1 comments

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

340•david927•3d ago•1153 comments

Tell HN: Docker pull fails in Spain due to football Cloudflare block

1139•littlecranky67•3d ago•420 comments

Ask HN: Is Claude Getting Worse?

5•sahli•9h ago•10 comments

GitHub gave webhook secrets away in webhook call

10•time4tea•1d ago•1 comments

Ask HN: Robotics engineers – how painful was setting up GPU sim infra?

3•nikhilol•15h ago•5 comments

Ask HN: As an Australian, is it possible to get a remote US role?

2•apatheticonion•15h ago•5 comments

Ask HN: What's the point in creating a startup when anyone can copy it in days?

14•wewewedxfgdf•13h ago•19 comments

Ask HN: Can anyone suggest me a SaaS product idea?

4•wasimsk•17h ago•9 comments

Ask HN: Easiest UX for Seniors

57•khoury•4d ago•59 comments

Ask HN: Can't view public pull requests without logging in (GitHub)

5•alskdj21•7h ago•2 comments

Tell HN: OpenAI silently removed Study Mode from ChatGPT

186•smokel•3d ago•77 comments

What do you want out of a coding monospace font?

2•d0able•20h ago•5 comments

Ask HN: I quit my job over weaponized robots to start my own venture

114•barratia•1d ago•76 comments

Claude Is Down

9•mercurialsolo•7h ago•4 comments

Ask HN: Are Web Agencies Cooked?

10•mijustin•1d ago•8 comments

Ask HN: What's your favorite security cam system?

4•SunshineTheCat•1d ago•5 comments

Ask HN: LeetCode, anyone still doing it?

13•kwar13•1d ago•11 comments

Ask HN: What are you building that's not AI related?

153•meander_water•6d ago•222 comments

Ask HN: What standards or protocols exist for AI Agent permissions

2•lyfeninja•1d ago•3 comments

Tell HN: GitHub might have been leaking your webhook secrets. Check your emails.

35•ssiddharth•1d ago•12 comments

PersMEM: Persistent Semantic Memory and Multi-Instance Communication for AI

3•asixicle•1d ago•0 comments

Claude Code OAuth down for >12 hours

8•pixel_popping•1d ago•8 comments

Why most AI projects feel useless

8•vaishcodescape•2d ago•9 comments

Technical SEO vs. content optimization: which one moves rankings?

4•zensorsolutions•1d ago•4 comments

Ask HN: Hiring in the age of AI-assisted coding: what works?

28•nitramm•5d ago•19 comments