comparison thesis/cortex.org @ 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
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 #+ATTR_LaTeX: :width 5cm 42 #+ATTR_LaTeX: :width 5cm
43 [[./images/cat-drinking.jpg]] 43 [[./images/cat-drinking.jpg]]
44 44
45 45
46 This is a basic test for the vision system. It only tests the 46 #+begin_listing
47 vision-pipeline and does not deal with loading eyes from a blender 47 \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.}
48 file. The code creates two videos of the same rotating cube from
49 different angles.
50
51
52 #+name: test-1 48 #+name: test-1
53 #+begin_src clojure 49 #+begin_src clojure
54 (in-ns 'cortex.test.vision)
55
56 (defn test-pipeline 50 (defn test-pipeline
57 "Testing vision: 51 "Testing vision:
58 Tests the vision system by creating two views of the same rotating 52 Tests the vision system by creating two views of the same rotating
59 object from different angles and displaying both of those views in 53 object from different angles and displaying both of those views in
60 JFrames. 54 JFrames.
95 ;; after the other views have completed processing 89 ;; after the other views have completed processing
96 (add-camera! world (.getCamera world) no-op))) 90 (add-camera! world (.getCamera world) no-op)))
97 (fn [world tpf] 91 (fn [world tpf]
98 (.rotate candy (* tpf 0.2) 0 0)))))) 92 (.rotate candy (* tpf 0.2) 0 0))))))
99 #+end_src 93 #+end_src
100 94 #+end_listing
101 95
102 - This is test1 \cite{Tappert77}. 96 - This is test1 \cite{Tappert77}.
97
98 \cite{Tappert77}
99 lol
100 \citet{Tappert77}