Commit 6dee71df authored by Richard Torenvliet's avatar Richard Torenvliet

Merge branch 'master' of github.com:taddeus/licenseplates

Conflicts:
	docs/verslag.tex
parents 76b417c4 f11ec241
This diff is collapsed.
...@@ -125,12 +125,11 @@ straight lines and simple curves, LBP should be suited to identify these. ...@@ -125,12 +125,11 @@ straight lines and simple curves, LBP should be suited to identify these.
The LBP algorithm that we implemented is a square variant of LBP, the same The LBP algorithm that we implemented is a square variant of LBP, the same
that is introduced by Ojala et al (1994). Wikipedia presents a different that is introduced by Ojala et al (1994). Wikipedia presents a different
form where the pattern is circular, this form is convenient because with form where the pattern is circular, this form is convenient because with
interpolation you can choose the size of the circle \textbf{and} to how many interpolation you can choose the size of the circle \textbf{and} how many
neighbours the circle has. That means how many times the center pixel neighbours the circle has.
has to be evaluated against a neighbour.
In the literature there are lots of examples where LBP is used for surface In the literature there are lots of examples where LBP is used for surface
recognition, facial recognition, human face emotion recoqnition ((Pietik\"ainen, Hadid, Zhao \& Ahonen (2011))) recognition, facial recognition, human face emotion recoqnition (Pietik\"ainen, Hadid, Zhao \& Ahonen (2011))
\begin{itemize} \begin{itemize}
\item Determine the size of the square where the local patterns are being \item Determine the size of the square where the local patterns are being
registered. For explanation purposes let the square be 3 x 3. \\ registered. For explanation purposes let the square be 3 x 3. \\
...@@ -195,7 +194,7 @@ Important to note is that due to the normalization of characters before ...@@ -195,7 +194,7 @@ Important to note is that due to the normalization of characters before
applying LBP. Therefore, no further normalization is needed on the histograms. applying LBP. Therefore, no further normalization is needed on the histograms.
Given the LBP of a character, a Support Vector Machine can be used to classify Given the LBP of a character, a Support Vector Machine can be used to classify
the character to a character in a learning set. The SVM uses the character to a character in a learning set.
\subsection{Matching the database} \subsection{Matching the database}
...@@ -205,6 +204,8 @@ histograms of an image as a feature vector. The SVM can be trained with a ...@@ -205,6 +204,8 @@ histograms of an image as a feature vector. The SVM can be trained with a
subsection of the given dataset called the ''Learning set''. Once trained, the subsection of the given dataset called the ''Learning set''. Once trained, the
entire classifier can be saved as a Pickle object\footnote{See entire classifier can be saved as a Pickle object\footnote{See
\url{http://docs.python.org/library/pickle.html}} for later usage. \url{http://docs.python.org/library/pickle.html}} for later usage.
In our case a support vector machine uses a radial gauss kernel. The SVM finds
a seperating hyperplane with minimum margins.
...@@ -323,7 +324,6 @@ cells are related to one histogram. All the histograms are concatenated and ...@@ -323,7 +324,6 @@ cells are related to one histogram. All the histograms are concatenated and
feeded to the SVM that will be discussed in the next section, Classification. feeded to the SVM that will be discussed in the next section, Classification.
\subsection{Classification} \subsection{Classification}
The SVM used in our project is a Gaussian radial based function. Where the kernel is
\section{Finding parameters} \section{Finding parameters}
......
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