fix type-hints arguments

This commit is contained in:
algobytewise 2021-04-06 16:27:15 +05:30
parent 8c2986026b
commit 7b4e0e9036

View File

@ -4,8 +4,8 @@ from matplotlib import pyplot as plt
def get_rotation( def get_rotation(
img: np.array, pt1: np.float32, pt2: np.float32, rows: int, cols: int img: np.ndarray, pt1: np.float32, pt2: np.float32, rows: int, cols: int
) -> np.array: ) -> np.ndarray:
""" """
Get image rotation Get image rotation
:param img: np.array :param img: np.array