View numpy types

Check the type of a variable: type(img)

View the type of data values ​​in the array: img.dtype

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325305738&siteId=291194637