OpenCV 2.4.3 compiling without ros [closed]

asked 2013-02-14 01:03:44 -0600

tiagofga gravatar image

Hi,

I have installed ros for use of DRC.

But, I was installed OpenCV 2.4.3 and was running normal OpenCv TrainCascade.

Now, I passing for the follow error:

Data dir name: data
Vec file name: ../vectorfile.vec
BG  file name: ../train/negatives/negatives.txt, is a vecfile: no
Num pos: 2000
Num neg: 2000
Num stages: 16
Num splits: 1 (stump as weak classifier)
Mem: 8000 MB
Symmetric: TRUE
Min hit rate: 0.995000
Max false alarm rate: 0.500000
Weight trimming: 0.950000
Equal weights: FALSE
Mode: BASIC
Width: 16
Height: 16
Applied boosting algorithm: GAB
Error (valid only for Discrete and Real AdaBoost): misclass
Max number of splits in tree cascade: 0
Min number of positive samples per cluster: 500
Required leaf false alarm rate: 1.52588e-05

Tree Classifier
Stage
+---+
|  0|
+---+


Number of features used : 17544

Parent node: NULL

*** 1 cluster ***
OpenCV Error: Assertion failed (elements_read == 1) in icvGetHaarTraininDataFromVecCallback, file /tmp/buildd/ros-fuerte-opencv2-2.4.2-1precise-20130207-2229/apps/haartraining/cvhaartraining.cpp, line 1859
terminate called after throwing an instance of 'cv::Exception'
  what():  /tmp/buildd/ros-fuerte-opencv2-2.4.2-1precise-20130207-2229/apps/haartraining/cvhaartraining.cpp:1859: error: (-215) elements_read == 1 in function icvGetHaarTraininDataFromVecCallback

Aborted (core dumped)

Thanks.

edit retag flag offensive reopen merge delete

Closed for the following reason OpenCV Question: THe OpenCV community prefers to answer questions at: http://answers.opencv.org/questions/ by tfoote
close date 2015-10-27 01:05:58.303020