You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import cv2
|
|
import numpy as np
|
|
|
|
def mirror1(img,rate):
|
|
print("111")
|
|
cv2.flip(img, 1, img)
|
|
return img
|
|
|
|
def mirror2(img,rate):
|
|
cv2.flip(img, 0, img)
|
|
return img
|
|
|
|
def mirror3(img,rate):
|
|
cv2.flip(img, -1,img)
|
|
return img |