1
我正在使用OpenCV中的Haar分類器。我要通過這個鏈接是OpenCV Haar分類器XML生成錯誤
http://note.sonots.com/SciSoftware/haartraining.html#n43ec47f
我在./mergevec可執行面臨的問題,錯誤是
OpenCV Error: Assertion failed (elements_read == 1) in icvGetHaarTraininDataFromVecCallback, file cvhaartraining.cpp, line 1859
terminate called after throwing an instance of 'cv::Exception'
what(): cvhaartraining.cpp:1859: error: (-215) elements_read == 1 in function icvGetHaarTraininDataFromVecCallback