opencv 卷积神经网络
import numpy as np
import cv2
from scipy import ndimage
k33=np.array([[-1,-1,-1],
[-1,8,-1],
[-1,-1,-1]])
k33d=np.array([[1,1,1],
[1,-8,1],
[1,1,1]])
img=cv2.imread('psu.jpeg',0)
lg=ndimage.convolve(img,k33)
cv2.imshow('test',lg)
cv2.waitKey()