Jetson nano opencv build problem

Hi there yesterday, i downloaded and built opencv 4.1.0 with CUDA support yesterday from this source: How to install OpenCV 4.1 with CUDA 10.0 in Ubuntu 18.04 · GitHub
but when i got to the last part on the jetson nano( ```
sudo cp -r ~/.virtualenvs/cv/lib/python3.6/site-packages/cv2 /usr/local/lib/python3.6/dist-packages

this command, i get no such file or directory error as there was no cv2 file or directory in both of the paths but on jtop i see i have opencv 4.1.0 with CUDA on i cannot import cv2 in .py extensions. Could you help me

Hi,

Have you built the Python support as well?

cmake ... -D BUILD_opencv_python2=ON -D BUILD_opencv_python3=ON

You can find our script for OpenCV 4.5.0 below:

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.