Opencv compile and install notes (Linux, Ubuntu)

First, compile and install OpenCV under Linux Cmake installation OpenCV 2.2 and later versions need to use Cmake to generate makefile, so you need to install cmake first.
Installing cmake under ubuntu is relatively simple.
Apt-get install cmake
If you feel that the version you are bringing does not meet the requirements, you can download the installation package.
The download here has been compiled, so you only need to extract it to the required directory to use it:
Tar zxvf cmake-2.8.10.2-Linux-i386.tar.gz –C /usr/local/
Set environment variables:
Sudo gedit /home/emouse/.bashrc
Add after the open file:
Export PATH=$PATH:/usr/local/cmake-2.8.10.2-Linux-i386/bin
Check the version and test if the installation is successful:
Root@emouse:/home# cmake --version
Cmake version 2.8.10.2 Second, install OpenCV software environment under Ubuntu :
Ubuntu 12.04
OpenCV 2.4.3
Cmake 2.8.10.1
Gcc 4.6.3 (system default)
1. Install libgtk2.0-dev and pkg-config first, otherwise the following compile and run programs will have the following problems: OpenCV Error: Unspecified error (The funcTIon is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvNamedWindow, file /usr/local/opencv/OpenCV-2.0.0/src/ Highgui/window.cpp, line 100
Terminate called after throwing an instance of 'cv::ExcepTIon'
Get the installation through the network:
# apt-get install libgtk2.0-dev
# apt-get install pkg-config
2, download OpenCV, file name: OpenCV-2.4.3.tar.bz2 decompression:
#tar jxvf OpenCV-2.4.3.tar.bz2
Get the folder OpenCV-2.4.3
Here, create a new folder OpenCV-x86 as the PC build directory.
3. #cmake-gui Open the cmake gui interface and start the configuration. Cmake is mainly used to perform some configuration settings to generate makefiles for compiling and installing. The parameters are configured and set through the interface, which is very intuitive and convenient. Specify the source and build directory and how to generate it in the configuration.
Follow the steps in the figure below to configure:
Opencv compile and install notes

Blower Fan

Air conditioning heating: After turning on the heating function, the high-temperature coolant in the engine will flow through the heating water tank. At this time, the air blown by the blower will also pass through the heating water tank, so that the air outlet of the air conditioner can blow warm air. Refrigeration of car air conditioner: After pressing the ac button, the compressor clutch of the car air conditioner will be engaged. At this time, the engine will drive the compressor to operate. The compressor can continuously compress the refrigerant and deliver the refrigerant to the evaporating box. The refrigerant is evaporating The inside of the box will expand and absorb heat so that the refrigerant can cool the evaporating box.

Blower Fan,Centrifugal Blowers,Industrial Blower,Air Blower Fan

Original Electronics Technology (Suzhou) Co., Ltd. , https://www.original-te.com