Python openCV TypeError: labels data type = 18 is not supported
例如:
recvData, addr = recvSocket.recvfrom(400000)
imde = cv2.imdecode(recvData, 1)
错误,需改为
recvData, addr = recvSocket.recvfrom(400000)
recvData = np.frombuffer(recvData, dtype=np.uint8)
imde = cv2.imdecode(recvData, 1)