From fbcd2a4e0a5f12b86737ae1c74fd3b18b18fef48 Mon Sep 17 00:00:00 2001 From: Maria Dimashova Date: Fri, 23 Dec 2011 07:48:36 +0000 Subject: [PATCH] added example of vec-file --- doc/user_guide/ug_traincascade.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/user_guide/ug_traincascade.rst b/doc/user_guide/ug_traincascade.rst index 80047e1..4ac860e 100644 --- a/doc/user_guide/ug_traincascade.rst +++ b/doc/user_guide/ug_traincascade.rst @@ -152,7 +152,9 @@ The scheme of samples creation in this case is as follows. The object instances ``opencv_createsamples`` utility may be used for examining samples stored in positive samples file. In order to do this only ``-vec``, ``-w`` and ``-h`` parameters should be specified. -Note that for training, it does not matter how vec-files with positive samples are generated. But ``opencv_createsamples`` utility is the only one way to collect/create a vector file of positive samples, provided by OpenCV. +Note that for training, it does not matter how vec-files with positive samples are generated. But ``opencv_createsamples`` utility is the only one way to collect/create a vector file of positive samples, provided by OpenCV. + +Example of vec-file is available here ``opencv/data/vec_files/trainingfaces_24-24.vec``. It can be used to train a face detector with the following window size: ``-w 24 -h 24``. Cascade Training ================ -- 2.7.4