This commit is contained in:
Umang Mehta 2018-11-16 14:47:29 -05:00
parent 1f9873eeda
commit d5aac13e28
2 changed files with 6 additions and 6 deletions

View file

@ -19,9 +19,9 @@
using namespace std; using namespace std;
using namespace affdex; using namespace affdex;
/// <summary> /// <summary>
/// Project for demoing the Windows SDK CameraDetector class (grabbing and processing frames from the camera). /// Project for demoing the Windows SDK CameraDetector class (grabbing and processing frames from the camera).
/// </summary> /// </summary>
int main(int argsc, char ** argsv) int main(int argsc, char ** argsv)
{ {
namespace po = boost::program_options; // abbreviate namespace namespace po = boost::program_options; // abbreviate namespace
@ -114,7 +114,7 @@ int main(int argsc, char ** argsv)
//Initialize detectors //Initialize detectors
frameDetector->setClassifierPath(DATA_FOLDER); frameDetector->setClassifierPath(DATA_FOLDER);
frameDetector->setDetectAllEmotions(true); frameDetector->setDetectAllEmotions(true);
frameDetector->setDetectAllExpressions(true); frameDetector->setDetectAllExpressions(true);
frameDetector->setDetectAllEmojis(true); frameDetector->setDetectAllEmojis(true);
frameDetector->setDetectAllAppearances(true); frameDetector->setDetectAllAppearances(true);

View file

@ -135,10 +135,10 @@ int main(int argsc, char ** argsv)
std::cout << "Face detector mode set to: " << mode << std::endl; std::cout << "Face detector mode set to: " << mode << std::endl;
shared_ptr<PlottingImageListener> listenPtr(new PlottingImageListener(csvFileStream, draw_display)); shared_ptr<PlottingImageListener> listenPtr(new PlottingImageListener(csvFileStream, draw_display));
detector->setClassifierPath(DATA_FOLDER); detector->setClassifierPath(DATA_FOLDER);
detector->setDetectAllEmotions(true); detector->setDetectAllEmotions(true);
detector->setDetectAllExpressions(true); detector->setDetectAllExpressions(true);
detector->setDetectAllEmojis(true); detector->setDetectAllEmojis(true);
detector->setDetectAllAppearances(true); detector->setDetectAllAppearances(true);
detector->setImageListener(listenPtr.get()); detector->setImageListener(listenPtr.get());