文章目录
abstract
demo_path:https://github.com/2012Netsky/pytorch_cnn/blob/main/4_time_series_bikes.ipynb
1.download opencv contrib
opencv_path:


contrib_path:https://github.com/opencv/opencv_contrib

2.exact opencv conrtibute
- exact opencv
- exact contrib
- merge opencv(move contrib folder to opencv folder)

3.install depend libary
- update cmake
sudo apt-get install cmake
notes:if reminder need apt-get update,fiirst input sudo su,in order to input root,root password is root,second sudo apt-get update
- install depend libary
sudo apt-get install build-essential libgtk2.0-dev libavcodec-dev libavformat-dev libjpeg.dev libtiff5.dev libswscale-dev libjasper-dev
- notes:perform something went wrong

- reason
OpenCV install libjasper-dev liabary error
- method:
sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main"
sudo apt update
sudo apt install libjasper1 libjasper-dev
- reinput
sudo apt install libjasper1 libjasper-dev
- visual follow vt ,problem solve

- input
sudo apt-get install build-essential libgtk2.0-dev libavcodec-dev libavformat-dev libjpeg.dev libtiff5.dev libswscale-dev libjasper-dev
- wait minuts
4.install qt creater
- download qtcreater: https://download.qt.io/archive/qt/5.12/5.12.2/qt-opensource-linux-x64-5.12.2.run
- install qt creater notes:disconnect the network for skip install login the qt account
- select qt all and creater
5.use qt open opencv
- open cmakelists

6.configure make envs

7.make




8.use qt develop opencv+c++demo


9.make .pro

10.run app



5255

被折叠的 条评论
为什么被折叠?



