Generation

generate functionMon, 24 Apr 2023

crear una estructura que tome una imagen y tome solamente el canal gris

def rgb_to_gray(img): return np.dot(img[..., :3], [0.299, 0.587, 0.114]) gray = rgb_to_gray(img)

Questions about programming?Chat with your personal AI assistant