|
I have recently been working on constructing the Rasptank and am having a couple problems. When attempting to run the server file on the pi, I get the following error:pi@raspberrypi:~ $ python3 adeept_rasptank/server/server.py
Traceback (most recent call last):
File "adeept_rasptank/server/server.py", line 21, in <module>
import FPV
File "/home/pi/adeept_rasptank/server/FPV.py", line 17, in <module>
import imutils
File "/usr/local/lib/python3.5/dist-packages/imutils/__init__.py", line 8, in <module>
from .convenience import translate
File "/usr/local/lib/python3.5/dist-packages/imutils/convenience.py", line 65, in <module>
def resize(image, width=None, height=None, inter=cv2.INTER_AREA):
AttributeError: module 'cv2' has no attribute 'INTER_AREA'
The only way to not have this error is if instead of launching server.py, I launch serverTest.py. When doing this, at least of two of servos do not work controlling the arm. Also, when connecting to the Rasptank when the client is running the normal client.py and the pi is running serverTest.py, the camera does not show. I have verified everything is plugged into the proper connectors. Thanks in advance for the help
|
|