Skip to content

Enable FaceRecognizer on OpenCV3 #379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 25, 2016
Merged

Enable FaceRecognizer on OpenCV3 #379

merged 2 commits into from
Feb 25, 2016

Conversation

mvines
Copy link
Collaborator

@mvines mvines commented Feb 25, 2016

No description provided.

#include "Matrix.h"
#include <nan.h>

#if CV_MAJOR_VERSION >= 3
namespace cv {
using std::vector;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Little hacks to make the OpenCV3 versions look more like the CV2 versions, to avoid ifdefing all over the place

@mvines
Copy link
Collaborator Author

mvines commented Feb 25, 2016

@jainanshul r?

@jainanshul
Copy link
Contributor

r+

Older versions of OpenCV3 incorrectly returned label=0 at confidence=DBL_MAX
instead of label=-1 on failure.  This can be removed once the fix* becomes
more widespread.

* opencv/opencv_contrib@0aa58ae#diff-d9c561bf45c255c5951ff1ab55e80473
@mvines
Copy link
Collaborator Author

mvines commented Feb 25, 2016

cc: @peterbraden

mvines pushed a commit that referenced this pull request Feb 25, 2016
Enable FaceRecognizer on OpenCV3
@mvines mvines merged commit ead733b into peterbraden:master Feb 25, 2016
@peterbraden
Copy link
Owner

Awesome, thanks for merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants