Files in this collection include python notebooks and python scripts that have either been created from scratch or adapted from other programs.
The colors program was adapted from an example shared on https://data-flair.training/blogs/project-in-python-colour-detection/ and uses numpy, pandas and cv2
Color names were accessed from here: https://github.com/codebrainz/color-names/blob/master/output/colors.csv Sample colorful images are from UnSplash https://unsplash.com/@denmychan https://unsplash.com/@sharonmccutcheon
Program was adapted to include resolution adjustments. Arguments must be passed. To test try: python color_detection.py -i denise-chan-pXmbsF70ulM-unsplash.jpg
Python Notebooks:
The Finding Book Images in Internet Archive Notebook was adapted from here: https://programminghistorian.org/en/lessons/extracting-illustrated-pages Note that the Abbyy GZ is not always accurate nor is it available on all books. It is recommended to try some advanced searches in Internet Archive and test some of the results before downloading files that may not fit the given parameters.
Fortune Notebook uses Matplotlib and includes some basic data runs using a csv file.