import cv2 import numpy as np frame = cv2.imread('kus.png',0) #Numpy ile kernel matris tanımı kernel = np.ones((15,15),np.uint8) #Aşındırma işlemi sonuc = cv2.dilate(frame,kernel,iterations = 1) cv2.imshow("Sonuc", sonuc) cv2.waitKey(0)