frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Best on device LLM tooling for PDFs?

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

Tell HN: 2 years building a kids audio app as a solo dev – lessons learned

104•oliverjanssen•18h ago•44 comments

Tell HN: Bending Spoons laid off almost everybody at Vimeo yesterday

373•Daemon404•15h ago•412 comments

Ask HN: Why are so many rolling out their own AI/LLM agent sandboxing solution?

15•ATechGuy•1d ago•9 comments

Ask HN: Do you have any evidence that agentic coding works?

414•terabytest•1d ago•417 comments

Ask HN: How do you run parallel agent sessions?

6•Olshansky•2d ago•1 comments

Ask HN: Does "Zapier for payment automation" exist?

8•PL_Venard•17h ago•9 comments

Do people at Google use Gmail?

2•mr-pink•2h ago•1 comments

Tell HN: Claude session limits getting small

16•pragmaticalien8•14h ago•13 comments

Ask HN: How are you automating your coding work?

64•manthangupta109•12h ago•74 comments

Ask HN: What have you built/shipped with Claude Code?

7•blhack•1d ago•2 comments

Ask HN: How did Gemini go from being awful to incredible back to awful?

3•wewewedxfgdf•3h ago•4 comments

How do you keep AI-generated applications consistent as they evolve over time?

9•RobertSerber•14h ago•0 comments

Ask HN: How do you audit autonomous AI agent decisions?

3•credentum•6h ago•2 comments

Ask HN: What are good resources to get familiar with AI code editors?

8•northfield27•17h ago•5 comments

Ask HN: Do you protect your client-side JavaScript? Why or why not?

5•nikitaeverywher•1d ago•1 comments

Ask HN: Revive a mostly dead Discord server

19•movedx•1d ago•28 comments

Tell HN: Claude helped me maintain my old open source project

12•nergal•11h ago•6 comments

Tell HN: Avoid Cerebras if you are a founder

28•remusomega•15h ago•14 comments

Ask HN: Vibe-coded prototypes: what happens when they go into production?

4•stosssik•7h ago•1 comments

Ask HN: COBOL devs, how are AI coding affecting your work?

167•zkid18•2d ago•183 comments

Tell HN: Amazon has deactivated my seller account

74•hacky_engineer•13h ago•71 comments

Ask HN: How locked down are your work machines?

14•donatj•12h ago•15 comments

Ask HN: Are you going to meetups/conferences?

8•carimura•16h ago•5 comments

Ask HN: Why does SOC 2 feel so hard for early-stage startups?

7•asdxrfx•17h ago•2 comments

Ask HN: Anyone seeing copy/paste reliability issues in ChatGPT Web on macOS?

2•sallyrideauto•6h ago•0 comments

Tell HN: ChatGPT needs a persistent workspace layer

7•LostBeacon•10h ago•1 comments

Ask HN: What's your biggest challenge with context engineering for AI agents?

4•karpathunter•15h ago•0 comments

Ask HN: Is OBD-II telematics data more private than mobile app tracking?

4•insuranceguru•12h ago•1 comments

Ask HN: Which common map projections make Greenland look smaller?

18•jimnotgym•1d ago•17 comments

Ask HN: What single AI tool/technique 10x'd your productivity last year?

5•laxmena•15h ago•6 comments