Hello all!
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.
- 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?
- 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.
data_received = uart.read()
- Bonus: Drawing a bounding box around the areas of a certain temperature (using the received temperature data) would also be cool. I think I might know how to do this, but any guidance/advice would definitely be appreciated.
Thank you in advance! Please let me know if any more information is needed.