Commit 9c3c1603 authored by Ilya Lysenkov's avatar Ilya Lysenkov

Used literal blocks instead of the LaTeX verbatim environment

parent bdae962e
...@@ -56,30 +56,30 @@ using CXCore functions: ...@@ -56,30 +56,30 @@ using CXCore functions:
XML: XML:
::
<?xml version="1.0">
<opencv_storage>
<A type_id="opencv-matrix">
<rows>3</rows>
<cols>3</cols>
<dt>f</dt>
<data>1. 0. 0. 0. 1. 0. 0. 0. 1.</data>
</A>
</opencv_storage>
\begin{verbatim}
<?xml version="1.0">
<opencv_storage>
<A type_id="opencv-matrix">
<rows>3</rows>
<cols>3</cols>
<dt>f</dt>
<data>1. 0. 0. 0. 1. 0. 0. 0. 1.</data>
</A>
</opencv_storage>
\end{verbatim}
YAML: YAML:
::
A: !!opencv-matrix
rows: 3
cols: 3
dt: f
data: [ 1., 0., 0., 0., 1., 0., 0., 0., 1.]
\begin{verbatim}
A: !!opencv-matrix
rows: 3
cols: 3
dt: f
data: [ 1., 0., 0., 0., 1., 0., 0., 0., 1.]
\end{verbatim}
As it can be seen from the examples, XML uses nested tags to represent As it can be seen from the examples, XML uses nested tags to represent
hierarchy, while YAML uses indentation for that purpose (similar hierarchy, while YAML uses indentation for that purpose (similar
to the Python programming language). to the Python programming language).
......
...@@ -177,22 +177,21 @@ Boosted Haar classifier structures. ...@@ -177,22 +177,21 @@ Boosted Haar classifier structures.
All the structures are used for representing a cascaded of boosted Haar classifiers. The cascade has the following hierarchical structure: All the structures are used for representing a cascaded of boosted Haar classifiers. The cascade has the following hierarchical structure:
::
Cascade:
Stage,,1,,:
Classifier,,11,,:
Feature,,11,,
Classifier,,12,,:
Feature,,12,,
...
Stage,,2,,:
Classifier,,21,,:
Feature,,21,,
...
...
\begin{verbatim}
Cascade:
Stage,,1,,:
Classifier,,11,,:
Feature,,11,,
Classifier,,12,,:
Feature,,12,,
...
Stage,,2,,:
Classifier,,21,,:
Feature,,21,,
...
...
\end{verbatim}
The whole hierarchy can be constructed manually or loaded from a file or an embedded base using the function The whole hierarchy can be constructed manually or loaded from a file or an embedded base using the function
:ref:`LoadHaarClassifierCascade` :ref:`LoadHaarClassifierCascade`
. .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment