Python OpenCV: Understanding using numpy to make a translation

后端 未结 0 1259
慢半拍i
慢半拍i 2021-01-16 06:16

Here is a function I found that shifts an image by "x" in the x dir, and "y" in the y dir:

def translate(img, x,y):
    # x and y = # pixe         


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