Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 cv2 从数组中解码图像,如下所示:
cv2.imdecode(img_array, cv2.IMREAD_UNCHANGED)
然而,有时当我解码图像时,我收到的元组只有宽度和高度,没有通道。什么可能导致此输出?