Hi,
I have added the following to my local.conf file:
IMAGE_INSTALL_append = " \
python3 \
python3-numpy \
python3 - opencv \
opencv \
"
but when trying to import cv2 i get the following:
>>> import cv2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.5/site-packages/cv2/__init__.py", line 8, in <module>
import numpy
File "/usr/lib/python3.5/site-packages/numpy/__init__.py", line 142, in <module>
from . import add_newdocs
File "/usr/lib/python3.5/site-packages/numpy/add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "/usr/lib/python3.5/site-packages/numpy/lib/__init__.py", line 8, in <module>
from .type_check import *
File "/usr/lib/python3.5/site-packages/numpy/lib/type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "/usr/lib/python3.5/site-packages/numpy/core/__init__.py", line 34, in <module>
from . import umath
SystemError: initialization of umath raised unreported exception
Thanks in advance,
Dudi.
Hi Dudi
may be useful to check below :
https://community.nxp.com/t5/i-MX-Processors/Opencv-on-i-MX8-Yocto/m-p/1054761/highlight/true
https://developer.toradex.com/knowledge-base/torizon-sample-using-opencv-for-computer-vision
Best regards
igor