No EM in the official GIT repository [closed]

asked 2014-08-20 03:05:03 -0600

SPV_86 gravatar image

updated 2014-08-20 04:09:26 -0600

berak gravatar image


When I compile the "Offical" git code («» "Master" branch), there is no EM wrap in the resulting cv2.pyd python file.

How do I change it / include it?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-10-04 09:17:31.507403


the ml module got a major overhaul in 3.0 some days before, i can only speculate, but the java wrappers had to be disabled due to that, and that looks related. (can't find neither SVM, no EM in 3.0 version, either)

if you look at the c++ headers, atm only the class types are exported to scripting, not a single method (especially not the create* ones)

can you use 2.4.9, until the dust settles in master ?

berak gravatar imageberak ( 2014-08-20 03:20:25 -0600 )edit

Yes, but since that repository was the one indicated in the windows compilation manual, I was a bit puzzled not to find this, since I thought it was a stable branch. Thanks BTW.

SPV_86 gravatar imageSPV_86 ( 2014-08-20 04:01:21 -0600 )edit

no, 3.0 is not stable, bleeding edge is bleeding again..

to get to 2.4.9, do a git checkout 2.4, make a new build folder, and restart the whole cmake schlepp.

berak gravatar imageberak ( 2014-08-20 04:05:13 -0600 )edit