Read the statement by Michael Teeuw here.
MMM-Face-Reco-DNN doesn't work
-
@Antagonist which python version… different solutions fror 2.7 or 3.x
see
https://stackoverflow.com/questions/19876079/cannot-find-module-cv2-when-using-opencv
ps… that is result of a google search on the error… I don’t know anything about this technology (python/cv2)
-
@sdetweil I have Python version 3.7.3.
And I have OpenCV 4.1.1 installed:(cv) pi@raspberrypi:~ $ python Python 3.7.3 (default, Apr 3 2019, 05:39:12) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import cv2 >>> cv2.__version__ '4.1.1'
Thanks for your help!
-
@Antagonist but it doesn’t work in module, which means the path is not set properly
-
@sdetweil Ok but where can I adjust the path to link it properly with opencv? And thank you, you have been a great help so far!
-
@Antagonist I don’t know, read this
-
@sdetweil unfortunately there is nothing which would help.
Has anybody else an idea? -
You need to go into your virtual environment, and link cv2 and python 3 together there (can’t remember which way it is), just like you did outside the environment.
-
@Blauenfeldt I already did this:
-
Everything works. I’m just stupid as hell and didn’t add the classes to the other modules.