mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
Used literal blocks instead of the LaTeX verbatim environment
This commit is contained in:
parent
bdae962e13
commit
9c3c1603b7
@ -56,8 +56,8 @@ using CXCore functions:
|
||||
|
||||
XML:
|
||||
|
||||
::
|
||||
|
||||
\begin{verbatim}
|
||||
<?xml version="1.0">
|
||||
<opencv_storage>
|
||||
<A type_id="opencv-matrix">
|
||||
@ -68,18 +68,18 @@ XML:
|
||||
</A>
|
||||
</opencv_storage>
|
||||
|
||||
\end{verbatim}
|
||||
|
||||
YAML:
|
||||
|
||||
::
|
||||
|
||||
\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
|
||||
hierarchy, while YAML uses indentation for that purpose (similar
|
||||
to the Python programming language).
|
||||
|
@ -177,8 +177,8 @@ Boosted Haar classifier structures.
|
||||
|
||||
All the structures are used for representing a cascaded of boosted Haar classifiers. The cascade has the following hierarchical structure:
|
||||
|
||||
::
|
||||
|
||||
\begin{verbatim}
|
||||
Cascade:
|
||||
Stage,,1,,:
|
||||
Classifier,,11,,:
|
||||
@ -192,7 +192,6 @@ Cascade:
|
||||
...
|
||||
...
|
||||
|
||||
\end{verbatim}
|
||||
The whole hierarchy can be constructed manually or loaded from a file or an embedded base using the function
|
||||
:ref:`LoadHaarClassifierCascade`
|
||||
.
|
||||
|
Loading…
Reference in New Issue
Block a user