Hi everyone
I tried this tutorial.
In a notebook, I wrote:
from pynq import Overlay
bareHDMI = Overlay("/usr/local/lib/python3.6/dist-packages/" "pynq_cv/overlays/xv2Filter2DDilate.bit")
import pynq_cv.overlays.xv2Filter2DDilate as xv2
from pynq import Xlnk
Xlnk.set_allocator_library("/usr/local/lib/python3.6/dist-packages/" "pynq_cv/overlays/xv2Filter2DDilate.so")
mem_manager = Xlnk()
hdmi_in = bareHDMI.video.hdmi_in
hdmi_out = bareHDMI.video.hdmi_out
I got:
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-454b292e341b> in <module>()
2 bareHDMI = Overlay("/usr/local/lib/python3.6/dist-packages/"
3 "pynq_cv/overlays/xv2Filter2DDilate.bit")
----> 4 import pynq_cv.overlays.xv2Filter2DDilate as xv2
5 from pynq import Xlnk
6 Xlnk.set_allocator_library("/usr/local/lib/python3.6/dist-packages/"
ImportError: libopencv_shape.so.3.2: cannot open shared object file: No such file or directory
I already tried this solution. However, I couldn’t find “opencv” in the link that rock gave to solve the problem.
I tried this command:
apt-get install libopencv-calib3d-dev
Could you help me?
Thank you.