how to transfer the image from openMV to PC in real time?

Hey guys! I am working on the flir lapton3.5 with openMV. With the help of openMV, it’s easy for me to get the thermal image from filr lapton3.5, don’t have to concern about the complicated spi/iic agreement. That’s great!

Well, I want to show the real-time thermal image in my PC’s qt program, that means the thermal image need to transfer to the PC in the real time. But unfortunately, I didn’t see an offical protogenetic way to get the image in PC. Though the image can be shown in the openmv ide, openmv doesn’t seem to want me to get the image. So anybody knows how to get the picture from openMV to PC?

Thanks very much and looking for your advice !

We made an interface library. Please use it.

Hey guys… I am working on a project where I need to transfer the images from OpenMV to pc so that I could store the images at a particular location. I am actually new to this field. I went through the interface library and I am confused about it. I have understood it in bits and pieces. I want to transfer the images through Wi-Fi.
I would like to mention what I did:

  1. installed the two libraries, pyserial and pygame.
  2. edited file, where I changed the ip address with the one of my pc. [For transfer via wifi]
  3. ran the file
    and I am lost here.
    If you could explain how to do it in a systematic order, it would be of great help.

Thank you very much and awaiting your reply…

You need to give the script the IP address of the camera which is running the corresponding script.

In the IDE under examples → Remote control see the corresponding script to the script that needs to run on the PC. Edit that script for it to work over WiFi.

If everything is running fine the camera will print out it’s IP address.

Then enter that IP address into the script on the PC and things will just work.

on H7 side I save as
unfortunatelly, MV cam reset from IDE does not work causing IDE freeze, but I do verify that exists
on virtual disk and has correct content.
Then I reboot MV cam manually and launch on PC
python -u from **openmv-master\tools\rpc**.
The SW find MV cam serial port, but produce nothing.
I attach serial traffic snapshot.

Whjat is wrong?

Please make sure to use the Serial master class versus the USB Serial master class if you are talking over hardware serial. The USB Serial class expects a USB VCP port and is less forgiving on the time it takes for a response.

Well, although in your documentation for this examples describes exactly deal with USB VCP
interface = rpc.rpc_usb_vcp_master(“COM3”)
interface = rpc.rpc_usb_vcp_slave()

I triyed to implement Serial but not success.
I used FTDI USB-TTL adapter.
What baud should I use for slave ?
In it set = 7500000
but PC side sketch opens port at 115200.
If I set OMV side to 115200 I got as attached pics results.
In other words, the result is the same as in my first attempt with usb vcp on OMV side.

Very strange,
I rollback OMV to usb vcp, reboot PC and it works now.

See the uart master:

The timings for it are more forgiving than the USB VCP master. Only use the VCP master for talking to the OpenMV Cam over it’s direct USB serial port.