Zhuxinchan 1 год назад
Родитель
Сommit
0d7ee3f026
2 измененных файлов с 3 добавлено и 3 удалено
  1. BIN
      day05/aiapp/dev/__pycache__/camera.cpython-39.pyc
  2. 3 3
      day05/aiapp/dev/camera.py

BIN
day05/aiapp/dev/__pycache__/camera.cpython-39.pyc


+ 3 - 3
day05/aiapp/dev/camera.py

@@ -14,9 +14,9 @@ class CameraDev(QThread):
 
   def run(self):
     kernel = np.array([
-       [0, -2, 0],
-       [-2, 8, -2],
-       [0, -2, 0]
+       [1, 0, -1],
+       [2, 0, -2],
+       [1, 0, -1]
     ])
     while not self.isOver:
       # print("设备准备工作!")