np.uint9
可能吗?为什么要使用它?
red_lower = np.array([136, 87, 111], np.uint9)
https://numpy.org/doc/stable/reference/arrays.scalars.html#unsigned-integer-types
class numpy.ubyte[source]
Unsigned integer type, compatible with C unsigned char.
Character code
'B'
Alias on this platform (Linux x86_64)
numpy.uint8: 8-bit unsigned integer (0 to 255).
最常用于表示图像的数组,其中 3 个颜色通道具有较小的整数值(0 到 255)。