- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I built and installed OpenCV to run on CUDA. After I install OpenVINO it seems that OpenCV is not supporting CUDA anymore.
Is there a way I can install OpenVINO and then use the OpenCV build for CUDA?
My setup:
- Ubuntu 18.04
- OpenVINO 2021.1.100
- OpenCV 4.4.0
- Cuda 11.1
I am installing OpenVINO in the following way:
wget https://apt.repos.intel.com/openvino/2021/GPG-PUB-KEY-INTEL-OPENVINO-2021
sudo apt-key add GPG-PUB-KEY-INTEL-OPENVINO-2021
sudo apt-key list
echo "deb https://apt.repos.intel.com/openvino/2021 all main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2021.list
sudo apt update
sudo apt install -y intel-openvino-runtime-ubuntu18-2021.1.110
sudo apt install -y intel-openvino-dev-ubuntu18-2021.1.110
python3 -m pip install --upgrade pip
pip install openvino
echo '# OpenVINO' >> ~/.bashrc
echo 'export LD_LIBRARY_PATH="/usr/lib:${LD_LIBRARY_PATH}"' >> ~/.bashrc
source ~/.bashrc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My bad, a pip installation of opencv broke the previous manual installation of the build with CUDA. That was not OpenVINO's fault.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Attached you can file two outputs from the console:
- after_build.txt contains the output after the build of OpenCV is done
- from_python.txt contains the output of the command
python3 -c "import cv2; print(cv2.getBuildInformation())"
Note: these outputs come from a machine with OpenVINO installed as described in the post above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My bad, a pip installation of opencv broke the previous manual installation of the build with CUDA. That was not OpenVINO's fault.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Matteo,
This thread will no longer be monitored since this issue has been resolved. If you need any additional information from Intel, please submit a new question.
Regards,
Munesh
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page