VisageDetectorDemo
Functions | Variables
SimpleDetector.cpp File Reference
#include <opencv2/opencv.hpp>
#include "VisageFeaturesDetector.h"
#include "visageVision.h"
#include "Common.h"
#include "VisageDrawing.h"
#include "LicenseString.h"

Go to the source code of this file.

Functions

Mat DetectFeatures (char *fileName)
 Performs facial features detection on a file. More...
 

Variables

VisageFeaturesDetector * m_Detector
 VisageFeaturesDetector instance.
 

Function Documentation

◆ DetectFeatures()

Mat DetectFeatures ( char *  fileName)

Performs facial features detection on a file.

Perform facial feature detection on the image given by fileName. If successful, return the image with the feature points drawn on top of it. Also, an FDP object is created and saved in the current working directory. Otherwise, return NULL.

Parameters
fileNameThe name of the image file to process.
Returns
annotated image file if successful, NULL if not.

Definition at line 34 of file SimpleDetector.cpp.