<jupyter_start><jupyter_text>Example usage for imghelpTo use `imghelp` in a project:  Import Required Packages<jupyter_code>import matplotlib.pyplot as plt #import matplotlib - for viewing images in Python<jupyter_output><empty_output><jupyter_text>To read in jpg images<jupyter_code>img = plt.imread('../test_img/ubc.jpeg')<jupyter_output><empty_output><jupyter_text>To show images in Python<jupyter_code>plt.imshow(img);<jupyter_output><empty_output><jupyter_text>Example to use `ColorConv()`To change image to red - retain red channel only.<jupyter_code>from imghelp.colorconv import ColorConv

img_colorconv = ColorConv(img, 'red')
plt.imshow(img_colorconv);<jupyter_output><empty_output><jupyter_text>Example to use `ImgRotate()`To rotate image anti-clockwise 90 degrees.<jupyter_code>from imghelp.imgrotate import ImgRotate

img_rotate90 = ImgRotate(img, 90)
plt.imshow(img_rotate90);<jupyter_output><empty_output><jupyter_text>Example to use `ImgCompress()`  Apply SVD compression on image with low compression level.<jupyter_code>from imghelp.imgcompress import ImgCompress

img_compress = ImgCompress(img, method = 'svd', level=1)
plt.imshow(img_compress);<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10209205020920502, 'fraction_numerical': 0.007531380753138075, 'mean_word_length': 9.222222222222221, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '6', 'dir': 'jupyter-structured-clean-dedup', 'id': '360489', 'license': 'MIT', 'n_tokens_mistral': 431, 'n_tokens_neox': 417, 'n_words': 85, 'path': 'docs/example.ipynb', 'repo_name': 'UBC-MDS/ImgHelp', 'size': '1195'}