Commit 1bbacfb46d1b14192f3ebd7ccc9d9e3049405546

Authored by Scott Klum
1 parent b7d86e26

Fixed empty destination boolean condition, added a windows specific wrapper around header

Showing 1 changed file with 4 additions and 1 deletions
sdk/plugins/nec3.cpp
  1 +#ifdef WIN32
1 2 #include <windows.h>
  3 +#endif
  4 +
2 5 #include <NeoFacePro.h>
3 6  
4 7 #include <openbr_plugin.h>
... ... @@ -139,7 +142,7 @@ class NEC3Enroll : public UntrainableTransform
139 142  
140 143 contexts.release(context);
141 144  
142   - if (src.file.getBool("ForceEnrollment") && dst.isEmpty()) dst += cv::Mat();
  145 + if (!src.file.getBool("enrollAll") && dst.isEmpty()) dst += cv::Mat();
143 146 }
144 147 };
145 148  
... ...