opencv_traincascade1
Transcascade application
Usage
opencv_traincascade [options]
Overview
traincascade application.
Options
opencv_traincascade supports the following options:
Options
-
-data cascade_dir_name
-
-vec vec_file_name
-
-bg background_file_name
-
-numPos number_of_positive_samples -
The default is 2000.
-
-numNeg number_of_negative_samples -
The default is 1000.
-
-num Stagesnumber_of_stages -
The default is 20.
-
-precalcValBufSize precalculated_vals_buffer_size_in_Mb -
The default is 256.
-
-precalcIdxBufSize precalculated_idxs_buffer_size_in_Mb -
The default is 256.
-
-baseFormatSave
Options
-
-stageType -
The default is BOOST.
-
-featureType -
Set feature type . You can select HAAR or LBP. The default is HAAR.
-
-w sampleWidth -
The default is 24.
-
-h sampleHeight -
The default is 24.
Options
-
-bt {DAB|RAB|LB|GAB} -
The type of the applied boosting algorithm. You can choose between Discrete AdaBoost (DAB), Real AdaBoost (RAB), LogitBoost (LB) and Gentle AdaBoost (GAB). The default is GAB.
-
-minHitRate min_hit_rate -
The default is 0.995.
-
-maxFalseAlarmRate max_false_alarm_rate -
The default is 0.5.
-
-weightTrimRate weight_trim_rate -
The default is 0.95.
-
-maxDepth max_depth_of_weak_tree -
The default is 1.
-
-maxWeakCount max_weak_tree_count -
The default is 100.
Options
-
-mode <BASIC|CORE|ALL> -
The type of the applied haarFeature mode. You can choose between BASIC,
OREand ALL. The default is BASIC.
Examples
TODO
Releases
6 releases since Debian 6.0 (Squeeze); the text changed 2 times.
-baseFormatSave since Debian 7 (Wheezy);
-bg since Debian 7 (Wheezy);
-bt since Debian 7 (Wheezy);
-data since Debian 7 (Wheezy);
-featureType since Debian 7 (Wheezy);
-h since Debian 7 (Wheezy);
-maxDepth since Debian 7 (Wheezy);
-maxFalseAlarmRate since Debian 7 (Wheezy);
-maxWeakCount since Debian 7 (Wheezy);
-minHitRate since Debian 7 (Wheezy);
-mode since Debian 7 (Wheezy);
-num since Debian 7 (Wheezy);
-numNeg since Debian 7 (Wheezy);
-numPos since Debian 7 (Wheezy);
-precalcIdxBufSize since Debian 7 (Wheezy);
-precalcValBufSize since Debian 7 (Wheezy);
-stageType since Debian 7 (Wheezy);
-vec since Debian 7 (Wheezy);
-w since Debian 7 (Wheezy);
-weightTrimRate since Debian 7 (Wheezy).