Python:实现基于opencv的抖动算法
import cv2
import numpy as np
import sys
img = cv2.imread("input.jpg",0)
height,width = img.shape
if height % 2
import cv2
import numpy as np
import sys
img = cv2.imread("input.jpg",0)
height,width = img.shape
if height % 2