简体   繁体   中英

How to install OpenCV 3.4.5 in Ubuntu 14.04?

I am trying to install OpenCV 3.4.5 in Ubuntu 14.04 LTS and I need this OS for my project. I have not found any proper way to do so. I tried this: https://docs.opencv.org/3.4.5/d2/de6/tutorial_py_setup_in_ubuntu.html but cannot install the dependencies as mentioned.

Any suggestions or guide would be much appreciated.

Assuming you have Python installed, try install opencv-python which is an unofficial pre-built OpenCV package.

pip install numpy
pip install opencv-python==3.4.5

To ensure successful installation, open IDLE to check version number:

import cv2
print(cv2.__version__)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM