Updated by Anna Kogan about 12 years ago
Hi,
I try to generate haar data but it crash...
I have the following trace:
<pre>
@Data dir name: treeData
Vec file name: vecfile.vec
BG file name: negative\output_info2.txt, is a vecfile: no
Num pos: 2000
Num neg: 2000
Num stages: 30
Num splits: 1 (stump as weak classifier)
Mem: 2000 MB
Symmetric: TRUE
Min hit rate: 0.995000
Max false alarm rate: 0.500000
Weight trimming: 0.950000
Equal weights: FALSE
Mode: BASIC
Width: 32
Height: 32
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: 9.31323e-010
Tree Classifier
Stage
+---+
| 0|
+---+
Number of features used : 266016
Parent node: NULL
*** 1 cluster ***
OpenCV Error: Assertion failed (elements_read == 1) in unknown function, file ..\haartraining\cvhaartraining.cpp, line 1859
V:\opencv\opencv2_4_4\apps\appOpenCV\Release\x86>pause@
</pre>
I can see there already this trouble but I don't know haw to solve it.
Can you help me?
Best Regards.
I try to generate haar data but it crash...
I have the following trace:
<pre>
@Data dir name: treeData
Vec file name: vecfile.vec
BG file name: negative\output_info2.txt, is a vecfile: no
Num pos: 2000
Num neg: 2000
Num stages: 30
Num splits: 1 (stump as weak classifier)
Mem: 2000 MB
Symmetric: TRUE
Min hit rate: 0.995000
Max false alarm rate: 0.500000
Weight trimming: 0.950000
Equal weights: FALSE
Mode: BASIC
Width: 32
Height: 32
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: 9.31323e-010
Tree Classifier
Stage
+---+
| 0|
+---+
Number of features used : 266016
Parent node: NULL
*** 1 cluster ***
OpenCV Error: Assertion failed (elements_read == 1) in unknown function, file ..\haartraining\cvhaartraining.cpp, line 1859
V:\opencv\opencv2_4_4\apps\appOpenCV\Release\x86>pause@
</pre>
I can see there already this trouble but I don't know haw to solve it.
Can you help me?
Best Regards.