Using rpc to save images from OpenMV Purethermal board

I am trying to use the rpc examples (specifically this one from the github to save jpg images to my pc. I put the code on the board as and then can run it fine but i don’t get any images just a black screen and zero frame rate. Does anyone know how to fix this issue? I want to save the images from the flir lepton but i cannot get images from the OV5640 either.

So i have solved this issue but do i edit the code on my computer or the file to save the image as a jpg file on my pc? Also do i put my thermal imaging code in the file?