<jupyter_start><jupyter_text>Canny Edge Detection<jupyter_code>import cv2
from matplotlib import pyplot as plot
img =cv2.imread("butterfly.jfif")
gray_image=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
plot.imshow(img)
plot.title("Original Image")
canny_image=cv2.Canny(gray_image,100,150)
plot.imshow(canny_image)
plot.title("Canny Image")<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.12430939226519337, 'fraction_numerical': 0.03314917127071823, 'mean_word_length': 11.517241379310345, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '107600', 'license': 'MIT', 'n_tokens_mistral': 155, 'n_tokens_neox': 149, 'n_words': 20, 'path': 'EdgeDetection/canny_edge_detection.ipynb', 'repo_name': 'Chandrika372/Image-Processing-OpenCV', 'size': '362'}