Nicla Vision openmv rpc

How do we use the rpc library on Nicla Vision to stream video over a wifi on a computer?

Hi, the example should work for WiFi on the Nicla. Just use the Portenta example script.

oh before the wifi, i was trying to use the rpc lib over usb. it would run, but it would only display 0.0 all the way and the frame buffer is a black screen.

What I did:

I made the Portenta H7 example “image_transfer_jpg_as_the_remote_device_for_your_computer.py” as the main of Nicla Vision, and then ran “rpc_image_transfer_jpg_as_the_controller_device.py” and selected the corresponding Port.

Display black is not working… Hmm, I’d have to debug the USB calls. The protocol can be a little finicky over USB. I primarily designed it to deal with folks asking for serial comms for UART/I2C/SPI.

WiFi should work better.

Was this ever fixed?? I am trying to do the same thing but getting black screen and zero values using the example

No, and WiFi RPC was deleted and removed from the library.

I may remove USB too. It’s better to just use the MicroPython control scripts or our debug mode. The RPC library was just meant to solve I2C/SPI/UART comms between cameras.