How to split other information from binary string?

Viewed 50

I have an image which is a result of a python code and has to be shown in a LabVIEW program. The pixels of the image are sent ( with sys.stdout.buffer.write)as a U32 pixels string, so I used unflatten from string in LabVIEW code to show the image, but the result from python includes other information as shown in the picture below, when I split them "manually" I can get the right picture. My question is, how can I only get the pixels information from python output to get the picture. enter image description here

enter image description here

0 Answers
Related