人脸识别的一段代码,请问这个语句怎么看
#include "opencv2/core/core.hpp"
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include
#include
using namespace std;
using namespace cv;
string face_cascade_name = "haarcascade_frontalface_alt.xml";
CascadeClassifier face_cascade;
string window_name = "人脸识别";
void detectAndDisplay( Mat frame );
将光标定位在detectAndDisplay,然后右键,转到定义(goto declareation)
标题的那一条语句,初学者,不知道那个函数有什么用,以及里面的mat参数,请教各位。
这一句从名字上看,是检测和显示