I have followed all the instructions from Intel to get the NCS2 working and it does. Next I have been following the instructions to get zmeventnotirication installed and working. For the OpenCV install, I used the Intel optimized OpenCV source, compiled and installed as I expected that would be the easiest way to reach my end goal.
Running the test with zm_event_start.sh yields this:
Code: Select all
user@host:/var/lib/zmeventnotification/bin$ sudo -u www-data /var/lib/zmeventnotification/bin/zm_event_start.sh 147921
Traceback (most recent call last):
File "/var/lib/zmeventnotification/bin/zm_detect.py", line 15, in <module>
import imutils
File "/usr/local/lib/python3.8/dist-packages/imutils/__init__.py", line 8, in <module>
from .convenience import translate
File "/usr/local/lib/python3.8/dist-packages/imutils/convenience.py", line 6, in <module>
import cv2
File "/usr/local/lib/python3.8/dist-packages/cv2/__init__.py", line 102, in <module>
bootstrap()
File "/usr/local/lib/python3.8/dist-packages/cv2/__init__.py", line 90, in bootstrap
import cv2
ImportError: libtbb.so.2: cannot open shared object file: No such file or directory
As my user:
Code: Select all
Python 3.8.5 (default, Jan 27 2021, 15:41:15)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> print(cv2.__version__)
4.5.2-openvino
Code: Select all
Python 3.8.5 (default, Jan 27 2021, 15:41:15)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.8/dist-packages/cv2/__init__.py", line 102, in <module>
bootstrap()
File "/usr/local/lib/python3.8/dist-packages/cv2/__init__.py", line 90, in bootstrap
import cv2
ImportError: libtbb.so.2: cannot open shared object file: No such file or directory
Thanks in advance.
--
Dave