How to use keras Lambda in a NN when using OpenCV

前端 未结 0 1556
耶瑟儿~
耶瑟儿~ 2021-01-01 08:20

I have a function

def preprocess(image):
  image = cv2.cvtColor(image, cv2.COLOR_RGB2YUV)
  image = cv2.GaussianBlur(image,  (3, 3), 0)
  image = cv2.resize(i         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题