Spaces:
Build error
Build error
import cv2 | |
import numpy as np | |
def inverse_pic(input_img): | |
# print(type(input_img)) | |
input_img = cv2.cvtColor(input_img, cv2.COLOR_BGR2RGB) | |
return np.flip(input_img) | |