I'm fairly new to coding, and I have an OpenMV H7 with the Lepton attachment (using Lepton 2.5). My goal is to take a snapshot with the temperature data of each pixel and then send all of this data over UART as fast as I can so I can potentially produce live video on the receiver device.
1. On the transmitting side, do I just compress the image snapshot and then use the UART write() function? Equally as important, how would I send the temperature data of each pixel (i.e. something like a 4800 element list with the temperature of each pixel) over UART?
2. On the receiving side (which uses Python 3.5), how could I receive the snapshot data and visualize it? Assuming that there is a "uart" object with a read function that receives the data, i.e.
Code: Select all
data_received = uart.read()
Thank you in advance! Please let me know if any more information is needed.