Locally installed OpenCV to virtual env in Raspberry Pi

315 views Asked by At

I spent two whole days to install OpenCV, virtualenv, Tensorflow. My last goal is to link locally installed OpenCV to my virtualenv. I reallized that I do not have to install OpenCV to my virtualenv again, only need to link OpenCV to my virtualenv. I have to find "cv2.so" or "cv2.cpython-37m-aarch64-linux-gnu.so" file. But I can't find any of above file in my Raspberry Pi 4. Anybody can tell me where to find above files or how to link the locally installed OpenCV to virtualenv. I really want to run a python program importing cv2 and tensorflow.

0

There are 0 answers