npyread
-
Description: Read an image array from a NumPy
.npy
file. -
Parameters
- path (
Union[str, Path]
): The path to the.npy
file.
- path (
-
Returns
- np.ndarray: The read image array. Returns
None
if reading fails.
- np.ndarray: The read image array. Returns
-
Example
import docsaidkit as D
img = D.npyread('lena.npy')