Skip to content
This repository has been archived by the owner on Mar 6, 2022. It is now read-only.

OpenCV Version #18

Open
dr4ke616 opened this issue Sep 11, 2016 · 2 comments
Open

OpenCV Version #18

dr4ke616 opened this issue Sep 11, 2016 · 2 comments

Comments

@dr4ke616
Copy link

Hey,

Im wondering if its worth mentioning what version of OpenCV this project is compatible with. I installed OpenCV 3.1.0, and had some issues. One of which being cv2.createLBPHFaceRecognizer in the facerecognition.py script needed to be called from a face module, such as cv2.face.createLBPHFaceRecognizer.

Another issue is in 3.x versions model.predict doesnt return a tuple containing the label and confidence score, but rather it just returns the label.

Even better would it be possible to have it support both 2.x and 3.x versions. I am aware there are some backward compatibility issues when using 3.x from 2.x, so perhaps just a statement in the README saying which version of OpenCV is intended to be used?

iPython output:

In [1]: import cv2; cv2.__version__
Out[1]: '3.1.0'
@paviro
Copy link
Owner

paviro commented Oct 3, 2016

I will check :)

@paviro paviro assigned paviro and unassigned paviro Oct 3, 2016
@paviro
Copy link
Owner

paviro commented Nov 20, 2016

Any chance you could have a look how to add support for both?

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

No branches or pull requests

2 participants