forked from bangnaga/facerecognition_guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
facerec.tex
108 lines (85 loc) · 2.38 KB
/
facerec.tex
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
\documentclass[10pt]{article}
% compile switches definitions
\input{definitions}
\usepackage[utf8]{inputenc}
\usepackage{tabularx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{geometry}
\geometry{a4paper, top=25mm, left=30mm, right=25mm, bottom=30mm,
headsep=10mm, footskip=12mm}
\usepackage{graphicx}
\usepackage{url}
\usepackage[pdftex,colorlinks=true,citecolor=blue,urlcolor=blue,linkcolor=blue]{hyperref}
\usepackage{color}
\usepackage{xcolor}
\usepackage{tabularx}
\usepackage{listings}
\usepackage{parcolumns}
\usepackage{longtable}
\usepackage[margin=10pt]{caption}
% set the title
\title{\begin{tabular}{p{11cm}}\centering
Face Recognition with OpenCV2
\end{tabular}}
% contact details
\author{Philipp Wagner\\\href{http://www.bytefish.de}{http://www.bytefish.de}}
% colors for syntax highlightning
\definecolor{darkblue}{rgb}{0,0,.6}
\definecolor{darkred}{rgb}{.6,0,0}
\definecolor{darkgreen}{rgb}{0,.6,0}
\definecolor{red}{rgb}{.98,0,0}
% Listings Style
\lstset{
numberstyle=\footnotesize,
basicstyle=\footnotesize\ttfamily
numbers=left,
numbersep=5pt,
frame=single
}
% Add basic syntax highlightning to C++
\lstset{
numberstyle=\footnotesize,
basicstyle=\footnotesize\ttfamily,
numbers=none,
numbersep=5pt,
frame=single,
breaklines=true,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2,
}
\lstloadlanguages{C++}
\lstset{
language=C++,
commentstyle=\footnotesize\ttfamily\color{darkgreen},
keywordstyle=\footnotesize\ttfamily\color{darkblue},
stringstyle=\footnotesize\ttfamily\color{darkred},
}
\lstdefinelanguage{cmake}{
morekeywords={cmake_minimum_required, project, find\_package, add\_executable, target\_link\_libraries},
sensitive=false,
morecomment=[l]{\#},
}
% change vertical space of itemize, description and enumeration environments
\let\olditemize=\itemize
\def\itemize{\olditemize\setlength{\itemsep}{-0.5ex}}
\let\oldenumerate=\enumerate
\def\enumerate{\oldenumerate\setlength{\itemsep}{-0.5ex}}
\let\olddescription=\description
\def\description{\olddescription\setlength{\itemsep}{-0.5ex}}
% don't indent sections
\setlength{\parindent}{0pt}
\begin{document}
\maketitle
\tableofcontents
\input{section/introduction}
\input{section/facerecognition}
\input{section/implementation}
\input{section/conclusion}
\appendix
\input{section/installation}
\bibliography{bib/facerec}
\bibliographystyle{acm}
\end{document}