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
|
.TH "OPENCV_PERFORMANCE" "1" "May 2010" "OpenCV" "User Commands"
.SH NAME
opencv_performance \- evaluate the performance of the classifier
.SH SYNOPSIS
.B opencv_performance [options]
.SH DESCRIPTION
.PP
.B opencv_performance
evaluates the performance of the classifier. It takes a collection of marked
up test images, applies the classifier and outputs the performance, i.e. number of
found objects, number of missed objects, number of false alarms and other
information.
.PP
When there is no such collection available test samples may be created from single
object image by the
.BR opencv_createsamples (1)
utility. The scheme of test samples creation in this case is similar to training samples
.PP
In the output, the table should be read:
.TP
.RB \(aq Hits \(aq
shows the number of correctly found objects
.TP
.RB \(aq Missed \(aq
shows the number of missed objects (must exist but are not found, also known
as false negatives)
.TP
.RB \(aq False \(aq
shows the number of false alarms (must not exist but are found, also known
as false positives)
.SH OPTIONS
.PP
.B opencv_performance
supports the following options:
.PP
.TP
.BI "\-data " classifier_directory_name
The directory, in which the classifier can be found.
.TP
.BI "\-info " collection_file_name
File with test samples description.
.TP
.BI "\-maxSizeDiff " max_size_difference
Determine the size criterion of reference and detected coincidence.
The default is
.IR 1.500000 .
.TP
.BI "\-maxPosDiff " max_position_difference
Determine the position criterion of reference and detected coincidence.
The default is
.IR 0.300000 .
.TP
.BI "\-sf " scale_factor
Scale the detection window in each iteration. The default is
.IR 1.200000 .
.TP
.B \-ni
Don't save detection result to an image. This could be useful, if
.I collection_file_name
contains paths.
.TP
.BI "\-nos " number_of_stages
Number of stages to use. The default is
.I \-1
(all stages are used).
.TP
.BI "\-rs " roc_size
The default is
.IR \40 .
.TP
.BI "\-h " sample_height
The sample height (must have the same value as used during creation).
The default is
.IR 24 .
.TP
.BI "\-w " sample_width
The sample width (must have the same value as used during creation).
The default is
.IR 24 .
.PP
The same information is shown, if
.B opencv_performance
is called without any arguments/options.
.SH EXAMPLES
.PP
To create training samples from one image applying distortions and show the
results:
.IP
.B opencv_performance -data trainout -info tests.dat
.SH SEE ALSO
.PP
.BR opencv_createsamples (1),
.BR opencv_haartraing (1)
.PP
More information and examples can be found in the OpenCV documentation.
.SH AUTHORS
.PP
This manual page was written by \fBDaniel Leidert\fR <\&daniel.leidert@wgdd.de\&>
and \fBNobuhiro Iwamatsu\fR <\&iwamatsu@debian.org\&>
for the Debian project (but may be used by others).
|