cooklang / cooklang-import

A command line tool to import recipes into Cooklang format
MIT License
32 stars 12 forks source link

Import Images and/or PDF Files #19

Open rdifrango opened 2 years ago

rdifrango commented 2 years ago

My wife has a ton of hand written and/or printed recipes that aren't in one of the traditional sites so I'd like the ability to be able to import either a PDF or image that I've scanned in.

nicholaswilde commented 2 years ago

Thanks for the idea! 🙏. I, too, have thought about this and I am currently transcribing them by hand from scanned images.

rdifrango commented 2 years ago

Hopefully this is helpful, but here's a good break-down of the existing PDF libraries for Python:

https://towardsdatascience.com/how-to-extract-text-from-pdf-245482a96de7

rdifrango commented 2 years ago

And this seems like a related approach, by scanning an image file:

https://towardsdatascience.com/how-to-extract-text-from-images-with-python-db9b87fe432b