Added an option to traincascade program to select the maximum number of threads to use during training

This commit is contained in:
Joan Puigcerver
2014-07-23 22:47:51 +02:00
parent da1ac35930
commit 16a82b1747
2 changed files with 13 additions and 0 deletions

View File

@@ -200,6 +200,12 @@ Command line arguments of ``opencv_traincascade`` application grouped by purpose
This argument is actual in case of Haar-like features. If it is specified, the cascade will be saved in the old format.
* ``-numThreads <max_number_of_threads>``
Maximum number of threads to use during training. Notice that
the actual number of used threads may be lower, depending on
your machine and compilation options.
#.
Cascade parameters: