<jupyter_start><jupyter_text><jupyter_code>import cv2
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from google.colab import files
import requests
import io
try:
 from PIL import Image
except ImportError:
 import Image


response = requests.get("https://raw.githubusercontent.com/divyabharathi2404/Colab/master/img.jpg")
img = Image.open(io.BytesIO(response.content))
#print(width,height)
img3=img.convert(mode='L', matrix=None, dither=None, palette=0, colors=256)
img3<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10877862595419847, 'fraction_numerical': 0.02099236641221374, 'mean_word_length': 7.203125, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '453062', 'license': 'MIT', 'n_tokens_mistral': 188, 'n_tokens_neox': 180, 'n_words': 42, 'path': 'Copy_of_Untitled.ipynb', 'repo_name': 'Alr2303/Apple', 'size': '524'}