Derongan
Derongan

Reputation: 810

OpenCv version 3 some python bindings missing?

I have been messing around with Opencv in python, and noticed that a lot methods don't seem to exist.

For example:

cv2.NormalBayesClassifier

fails (python says that there is no module called this)

How can I get these methods working? Do I have to revert to opencv version 2?

Upvotes: 1

Views: 125

Answers (1)

Derongan
Derongan

Reputation: 810

I may have immediately found it after posting.

It seems to be under

cv2.ml.NormalBayesClassifier_create()

right now, which is a bit confusing. For some reason the naming conventions seem to change for every method in every version.

Upvotes: 2

Related Questions