mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
fix type-hints arguments
This commit is contained in:
parent
8c2986026b
commit
7b4e0e9036
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user