Ask Your Question

What happened to cv2.NormalBayesClassifier python API?

asked 2016-03-02 08:42:07 -0500

wunjo gravatar image

Hi there,

Does anyone know why OpenCV 3.X+ does not include the python API for the Normal Bayes Classifier anymore? I can still use version 2.9 but I don't want to be tied back to using an older version. Is there a better alternative now? Thanks!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-03-02 08:49:23 -0500

berak gravatar image

with opencv3,

  • all ml classes have been moved to a submodule, try >>> help(
  • all classes have a create function, like

please have a look at the tutorial here

edit flag offensive delete link more


Ok, I got it! Thank you so much!

wunjo gravatar imagewunjo ( 2016-03-02 10:10:20 -0500 )edit

answered 2016-03-02 08:45:35 -0500

The search function seems broken, but it is still there in the ML module!

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-03-02 08:42:07 -0500

Seen: 224 times

Last updated: Mar 02 '16