OpenCV 3-beta points_classifier example fails with DTrees
Hi- I'm using precompiled binaries for OpenCV-3.0.0-beta on Windows 7 and trying to run the points_classifier.cpp example in C++. It fails on the DTrees part.
To get the example to run without crashing I have to "turn off" parts of the example as follows:
define _DT_ 0 define _BT_ 0 define _RF_ 0 define _ANN_ 0
I switched to using my own compiled libs so I could step into the code and narrow down the problem. With the four defines above "turned on", I stepped into the StatModel train function in find_decision_boundary_DT().
I could get into DTreesImpl::train() in tree.cpp. Stepping further into addTree(), once in the for() loop subsets[] had size and capacity both = 0. ssize was also 0, but when trying to memcpy(&subsets[],... at line 300 there was a crash:
"Expression: vector subscript out of range" in file c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\vector line 932
Any help would be appreciated.
is it this one ?`it was fixed 24 march