mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-16 18:57:37 +00: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(
|
||||
img: np.array, pt1: np.float32, pt2: np.float32, rows: int, cols: int
|
||||
) -> np.array:
|
||||
img: np.ndarray, pt1: np.float32, pt2: np.float32, rows: int, cols: int
|
||||
) -> np.ndarray:
|
||||
"""
|
||||
Get image rotation
|
||||
:param img: np.array
|
||||
|
Loading…
x
Reference in New Issue
Block a user