Apr-08-2021, 08:00 PM
Thanks SheeppOSU,
I had tried something like that (if '{}' create a list as that is what I did. I read that lists were serializable out of the box.
I had tried something like that (if '{}' create a list as that is what I did. I read that lists were serializable out of the box.
#sending listImage = testImage.tolist() msgList = [imageID, timeStampSeconds, timeStampNano, int(testImage.size)] msgList += listImage json.dumps(msgList) #receiving message = json.loads(body) recvBody = list(message) arr = np.array(msgList[4:len(msgList)]) # metadata is len 4Thanks again...