OpenCV环境
sudo yum install opencv opencv-devel
之后在编译时如下:
g++ test.cpp -o test `pkg-config --cflags --libs opencv`