blob: b310406dc2d9868f12c87a4161bf92411f123ea3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
.TH "OPENCV_TRAINCASCADE" "1" "May 2010" "OpenCV" "User Commands"
.SH NAME
opencv_traincascade \- transcascade application
.SH SYNOPSIS
.B opencv_traincascade [options]
.SH DESCRIPTION
.PP
.B traincascade application.
.SH OPTIONS
.PP
.B opencv_traincascade
supports the following options:
.SH BASIC OPTIONS
.TP
.BI "\-data " cascade_dir_name
.TP
.BI "\-vec " vec_file_name
.TP
.BI "\-bg " background_file_name
.TP
.BI "\-numPos " number_of_positive_samples
The default is
.IR 2000 .
.TP
.BI "\-numNeg " number_of_negative_samples
The default is
.IR 1000 .
.TP
.BI "\-num " Stages number_of_stages
The default is
.IR 20 .
.TP
.BI "\-precalcValBufSize " precalculated_vals_buffer_size_in_Mb
The default is
.IR 256 .
.TP
.BI "\-precalcIdxBufSize " precalculated_idxs_buffer_size_in_Mb
The default is
.IR 256 .
.TP
.BI "\-baseFormatSave "
.SH CASCADE OPTIONS
.TP
.BI "\-stageType "
The default is
.IR BOOST .
.TP
.BI "\-featureType "
Set feature type . You can select HAAR or LBP.
The default is
.IR HAAR .
.TP
.BI "\-w " sampleWidth
The default is
.IR 24 .
.TP
.BI "\-h " sampleHeight
The default is
.IR 24 .
.SH BOOST OPTIONS
.TP
.BI "\-bt {" DAB | RAB | LB | GAB "}"
The type of the applied boosting algorithm. You can choose between Discrete
AdaBoost (\fIDAB\fR), Real AdaBoost (\fIRAB\fR), LogitBoost (\fILB\fR) and
Gentle AdaBoost (\fIGAB\fR). The default is
.IR GAB .
.TP
.BI "\-minHitRate " min_hit_rate
The default is
.IR 0.995 .
.TP
.BI "\-maxFalseAlarmRate " max_false_alarm_rate
The default is
.IR 0.5 .
.TP
.BI "\-weightTrimRate " weight_trim_rate
The default is
.IR 0.95 .
.TP
.BI "\-maxDepth " max_depth_of_weak_tree
The default is
.IR 1 .
.TP
.BI "\-maxWeakCount " max_weak_tree_count
The default is
.IR 100 .
.SH HAARFEATURE OPTIONS
.TP
.BI "\-mode " <BASIC | CORE | ALL>
The type of the applied haarFeature mode. You can choose between \fIBASIC\fR,
\fCORE\fR and \fIALL\fR. The default is
.IR BASIC .
.SH EXAMPLES
.PP
TODO
.SH SEE ALSO
.PP
.BR opencv_haartraing (1),
.BR opencv_performance (1)
.PP
More information and examples can be found in the OpenCV documentation.
.SH AUTHORS
.PP
This manual page was written by \fBNobuhiro Iwamatsu\fR <\&iwamatsu@debian.org\&>
for the Debian project (but may be used by others).
|