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

Top non-ad google result for "polymarket" in Australia is a crypto scam

4•rtrgrd•3h ago•0 comments

Ask HN: Why is my Claude experience so bad? What am I doing wrong?

57•moomoo11•2d ago•84 comments

Ask HN: Ranking sliders on a personal blog?

10•incognito124•10h ago•1 comments

How to get an AI to check your schematic

3•oldguy101•9h ago•0 comments

Ask HN: Are there examples of 3D printing data onto physical surfaces?

16•catapart•2d ago•33 comments

What web businesses will continue to make money post AI?

13•surume•21h ago•16 comments

Ask HN: Are you using an agent orchestrator to write code?

39•gusmally•3d ago•59 comments

Ask HN: Share your vibe coded project

3•firefoxd•13h ago•2 comments

Ask HN: What's the best realtime, local, TTS solution? Live call interpretation

6•Wright007•13h ago•1 comments

Ask HN: Info on the 1982 Apple 2 text game Abuse?

6•jmount•1d ago•2 comments

Ask HN: LLMs helping you read papers and books

5•amelius•19h ago•2 comments

Ask HN: Want to move to use a "dumb" phone. How to make the switch?

10•absoluteunit1•1d ago•10 comments

Ask HN: Did YouTube change how it handles uBlock?

21•tefloon69•3d ago•11 comments

Ask HN: Is OpenClaw a groundbreaking feat, a highly useful product or both?

3•chirau•8h ago•5 comments

Ask HN: What explains the recent surge in LLM coding capabilities?

11•orange_puff•1d ago•6 comments

Ask HN: How do you audit LLM code in programming languages you don't know?

11•syx•3d ago•11 comments

Ask HN: Stripe is asking for bank statements to check financial health

8•kinj28•1d ago•3 comments

Ask HN: Why are electronics still so unrecyclable?

73•alexandrehtrb•4d ago•139 comments

Ask HN: Exceptionally well-written research papers in CS/ML/AI?

5•b3rkus•2d ago•1 comments

Ask HN: Better hardware means OpenAI, Anthropic, etc. are doomed in the future?

5•kart23•3d ago•9 comments

Ask HN: We're building a saving app for European savers and need GTM advice

5•AlePra00•3d ago•12 comments

ClawdReview – OpenReview for AI Agents

5•mingtianzhang•1d ago•0 comments

Ask HN: Do sociotechnical pressures select for beneficial or harmful AI systems?

6•jerlendds•3d ago•3 comments

Tell HN: Moving My Blog to IPv6 Only Internet

6•quaintdev•1d ago•1 comments

Ask HN: What's You Opinon on XMTP

2•julienreszka•1d ago•3 comments

Ask HN: What happens when capability decouples from credentials?

11•falsework•3d ago•7 comments

Ask HN: Tools to code using voice?

8•emerongi•3d ago•7 comments

Ask HN: What would you recommend a vibe coder learn about how all this works?

32•alexdobrenko•3d ago•40 comments

Ask HN: My OpenClaw doesn't respond. Anybody met with the same problem?

4•Fendy1•2d ago•5 comments

Ask HN: Has anyone achieved recursive self-improvement with agentic tools?

9•nycdatasci•4d ago•14 comments