We are using your camera for pattern matching and visualization,
I am trying to transfer images from the usb to the computer using this program open in PyCharm :
The following program has been loaded on the microcontroller camera : “image_transfer_jpg_as_the_remote_device_for_your_computer.py” on the OpenMV Cam
When trying to execute the program on PyCharm, i have the following error, I don’t know what I can do,
Would you have an idea ?
Thank you very much,
Best regards,
Wil.
Traceback (most recent call last):
File “C:/Users/Perso/WIL/14 - PROJECT21/PROJECT0/Image_processing/OpenMV_camera.py”, line 7, in
import io, pygame, rpc, serial, serial.tools.list_ports, socket, struct, sys
File “C:\Users\Perso\WILFRID\05 - TECHNICAL\Arduino_Python\Real_time2\venv\lib\site-packages\rpc_init_.py”, line 6, in
from rpc import jsonrpc, thrifty
File “C:\Users\Perso\WIL\05 - TECHNICAL\Arduino_Python\Real_time2\venv\lib\site-packages\rpc\jsonrpc.py”, line 12, in
from rpc import exceptions, clients, servers, chains
File “C:\Users\Perso\WIL\05 - TECHNICAL\Arduino_Python\Real_time2\venv\lib\site-packages\rpc\servers.py”, line 126
print ‘closes!’
^
SyntaxError: Missing parentheses in call to ‘print’. Did you mean print(‘closes!’)?
Are you actually including the right rpc library? → i have installed a package called rpc but seems not to be the good one,
Sorry but could you indicate me how can i install the rpc library for the OpenMV camera?
Thank you for your answer.
Any news on this topic ? in a first approach, I just want to collect images (not necessary to have a video flux) of the OpenMV camera on my PC for post processing,