Is anyone able to upgrade the current version of OpenCV (3.4.3) on the PYNQ Z2 (or Z1) to OpenCV 4? I’ve tried to do it numerous times with not much luck.
One of the methods I used was pip install opencv-contrib-python which gave me this error:
Traceback (most recent call last):
File “”, line 1, in
File “/home/xilinx/.local/lib/python3.6/site-packages/cv2/init.py”, line 5, in
from .cv2 import *
ImportError: /home/xilinx/.local/lib/python3.6/site-packages/cv2/cv2.cpython-36m-arm-linux-gnueabihf.so: undefined symbol: _ZN3fLI7FLAGS_vE
I’ve also tried to build from scratch with Opencv 4.5 and it gave me an error as well that it couldn’t find cv2. (This was after upgrading the Python version from 3.6 to 3.7). Are there any instructions out there to upgrade from OpenCV 3 to OpenCV 4?