一、简介
OpenCV的全称是:Open Source Computer Vision Library。OpenCV是一个基于(开源)发行的跨平台计算机视觉库,可以运行在Linux、Windows和Mac OS操作系统上。它轻量级而且高效——由一系列 C 函数和少量 C++ 类构成,同时提供了Python、Ruby、MATLAB等语言的接口,实现了图像处理和计算机视觉方面的很多通用算法,被广泛用于人机互动、物体识别、图像分割、人脸识别、动作识别等领域。
二、安装
三、实例
1)人脸检测(OpenCV-2.4.3/samples/c/facedetect.cpp)
./facedetect --cascade="../../data/haarcascades/haarcascade_frontalface_alt.xml" --nested-cascade="../../data/haarcascades/haarcascade_eye.xml" --scale=1.3 lena.jpg
四、常见问题
1)OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows,