comparison thesis/cortex.tex @ 429:b5d0f0adf19f

improvements by Dylan!
author Robert McIntyre <rlm@mit.edu>
date Fri, 21 Mar 2014 20:56:56 -0400
parents 435b5e22d72a
children 7410f0d8011c
comparison
equal deleted inserted replaced
428:d53a31969a51 429:b5d0f0adf19f
40 \includegraphics[width=5cm]{./images/cat-drinking.jpg} 40 \includegraphics[width=5cm]{./images/cat-drinking.jpg}
41 \caption{A cat drinking some water. Identifying this action is beyond the state of the art for computers.} 41 \caption{A cat drinking some water. Identifying this action is beyond the state of the art for computers.}
42 \end{figure} 42 \end{figure}
43 43
44 44
45 This is a basic test for the vision system. It only tests the 45 \begin{listing}
46 vision-pipeline and does not deal with loading eyes from a blender 46 \caption{This is a basic test for the vision system. It only tests the vision-pipeline and does not deal with loading eyes from a blender file. The code creates two videos of the same rotating cube from different angles.}
47 file. The code creates two videos of the same rotating cube from
48 different angles.
49
50
51 \begin{clojurecode} 47 \begin{clojurecode}
52 (in-ns 'cortex.test.vision)
53
54 (defn test-pipeline 48 (defn test-pipeline
55 "Testing vision: 49 "Testing vision:
56 Tests the vision system by creating two views of the same rotating 50 Tests the vision system by creating two views of the same rotating
57 object from different angles and displaying both of those views in 51 object from different angles and displaying both of those views in
58 JFrames. 52 JFrames.
93 ;; after the other views have completed processing 87 ;; after the other views have completed processing
94 (add-camera! world (.getCamera world) no-op))) 88 (add-camera! world (.getCamera world) no-op)))
95 (fn [world tpf] 89 (fn [world tpf]
96 (.rotate candy (* tpf 0.2) 0 0)))))) 90 (.rotate candy (* tpf 0.2) 0 0))))))
97 \end{clojurecode} 91 \end{clojurecode}
98 92 \end{listing}
99 93
100 \begin{itemize} 94 \begin{itemize}
101 \item This is test1 \cite{Tappert77}. 95 \item This is test1 \cite{Tappert77}.
102 \end{itemize} 96 \end{itemize}
97
98 \cite{Tappert77}
99 lol
100 \citet{Tappert77}