Live data from Hacker News

Stirling-PDF: local web application to perform various operations on PDFs

github.com

61–70 of 240 posts

Re: Stirling-PDF: local web application to perform various operations on PDFs

#61
It's scary how such a widely used format (PDF) is almost in full control by Adobe. I have yet to see a true competitor to Adobe Acrobat. The only one that has come really close is the one that comes built-in for macOS. It's a hidden gem.

Re: Stirling-PDF: local web application to perform various operations on PDFs

#62
post #18

I still couldn't find a tool for a difficult problem to solve. I have some magazines in PDF, with layouts in two columns, etc. I want them to be transformed into Markdown. I know, it should identify automatically the two columns, different layouts, etc. I am not desiring something perfect - I can fix if ther are some errors, but so far nothing has come with a good result.

The built-in apple preview application does exactly what you want..

It just looses bold etc.

Re: Stirling-PDF: local web application to perform various operations on PDFs

#63

I’ll join some other commenters, to add my favorite difficult pdf problem that I haven’t found a ready to use (even paid) solution for: extract key value pairs from a filled form such as this medical claims form: https://imgur.com/a/EJDi7L7 There are two levels of difficulty: the starting file could be an image (pdf or png or jpg), which is the most difficult scenario. The slightly easier one is where it’s a text-bas…

This could be a paid option for parsing forms (not sure about ocr): https://demos.textcontrol.com/chapter/topic/PDF/PDFFormData https://www.textcontrol.com/technologies/pdf/

Re: Stirling-PDF: local web application to perform various operations on PDFs

#64
post #56
post #43

Earlier quoted context omitted.

Dev here for the above stirling pdf app, Please raise features like this as a feature request github issue ticket and we can try address it in future!

I would do exactly what you have done here if I were the dev of the said app. But with the luxury of being an outsider, a user has expressed an inconvenience and it seems to make sense, then if I were to be the dev of the app here, wouldn't I go and create the ticket in whatever system with a link to this post instead of asking the user of the app to follow the red tape? I know there are places where this is not ince…

I tend to agree. As an open source dev myself, I avoid asking folks to create issues, as it puts a burden on the user. I’ve see some highly respected open source leads so this, and I’m not faulting them, as I think they’re coming from a good place; it may be a difference of opinion on what’s best practice.

Re: Stirling-PDF: local web application to perform various operations on PDFs

#65

It's scary how such a widely used format (PDF) is almost in full control by Adobe. I have yet to see a true competitor to Adobe Acrobat. The only one that has come really close is the one that comes built-in for macOS. It's a hidden gem.

Does that one have a name? I’m a MacOS transplant and have never gotten terribly familiar with the territory. Thanks!

Re: Stirling-PDF: local web application to perform various operations on PDFs

#66

It's scary how such a widely used format (PDF) is almost in full control by Adobe. I have yet to see a true competitor to Adobe Acrobat. The only one that has come really close is the one that comes built-in for macOS. It's a hidden gem.

Does that one have a name? I’m a MacOS transplant and have never gotten terribly familiar with the territory. Thanks!

Preview is the app on macOS that lets you view and even edit PDF files.

Re: Stirling-PDF: local web application to perform various operations on PDFs

#67
post #50

Earlier quoted context omitted.

Have you tried Azure AI Document Intelligence? In theory it's exactly this...

I second this, that or have you tried GPT-4 Vision or Donut?

Still waiting for GPT4V but doubt it will do this. Yes I’ve tried Donut and other options but this is a very gnarly problem.

One option is to extract text blocks along with their coordinates (unstructured.io gives this, probably based on another pkg because it’s basically a container for many pigs). Then do the same with a blank template, and you then have an algorithmic problem of matching the filled values spatially with the key locations from the template.

Re: Stirling-PDF: local web application to perform various operations on PDFs

#68
post #56
post #43

Earlier quoted context omitted.

Dev here for the above stirling pdf app, Please raise features like this as a feature request github issue ticket and we can try address it in future!

I would do exactly what you have done here if I were the dev of the said app. But with the luxury of being an outsider, a user has expressed an inconvenience and it seems to make sense, then if I were to be the dev of the app here, wouldn't I go and create the ticket in whatever system with a link to this post instead of asking the user of the app to follow the red tape? I know there are places where this is not ince…

I see what you're saying and for simple features I agree However Without the OP creating the ticket there can be no feedback look on the feature. If i wanted it tested for their usecase, there input and confirmation on if its what they wanted and improvements for the workflow etc.. If I base the whole feature on this comment it could end up only doing half a job. Id rather have that communication loop open!

Re: Stirling-PDF: local web application to perform various operations on PDFs

#69

Earlier quoted context omitted.

I second this, that or have you tried GPT-4 Vision or Donut?

Still waiting for GPT4V but doubt it will do this. Yes I’ve tried Donut and other options but this is a very gnarly problem. One option is to extract text blocks along with their coordinates (unstructured.io gives this, probably based on another pkg because it’s basically a container for many pigs). Then do the same with a blank template, and you then have an algorithmic problem of matching the filled values spatiall…

I'm fairly confident GPT-4V will do this just fine, tbh.

You just need to extract each of the elements into a structured JSON or something, right?

I'll try with your example later today.

Re: Stirling-PDF: local web application to perform various operations on PDFs

#70

It's scary how such a widely used format (PDF) is almost in full control by Adobe. I have yet to see a true competitor to Adobe Acrobat. The only one that has come really close is the one that comes built-in for macOS. It's a hidden gem.

Does that one have a name? I’m a MacOS transplant and have never gotten terribly familiar with the territory. Thanks!

preview.app
Post reply on HN