LeapMotion EyeTribe 2017
3 4 17:00 Address: e_wata@konan-u.ac.jp ( ) (Subject) ( ) LeapMotion EyeTribe Processing LeapMotion EyeTribe 1. Mac OS X, LeapMotion, EyeTribe, Processing Processing 2. LeapMotion (1/2) [ -D, E, F, G] 3. LeapMotion (2/2) [ -D, E, F, G] 4. EyeTribe (1/2) [ -H, I, J, K] ppt, word, excel / better 5. EyeTribe (2/2) [ -L, M, N, O] ( ) ( ) Porgram file - file open
5 6 1 Mac OS X, Processing, LeapMotion, EyeTribe 1 Mac OS X, Processing, LeapMotion, EyeTribe 1.2 Processing 2008 MIT (https://processing.org) 1.1 Mac OS X Mac OS (login/logout/shutdown ) login-id: ise-xxx ( ) Tips: Application folder Processing (size(400, 200); ellipse(100, 100, 60, 60); 1.3 LeapMotion LED ( 100 [fps]). 2012 Leap Motion (https://www.leapmotion.com) Launchpad application Application folder LeapMotion ( ) Visualizer mouse ( ) Command + Shift 4 1.4 EyeTribe (Sampling rate: 30 or 60 [Hz]). 2013 The Eye Tribe (https://theeyetribe.com) ( ) quicktime USB : or terminal: Application folder EyerTribe (New/Old) Application folder EyeTribeUI Emacs:
7 8 2 Processing 2 Processing 2.2 -A 1. draw_object draw_line ( ) 2. ( ) 2.1 Processing/draw_object 2.3: (Processing/kadai-A kadai-a.mp4) ) 2.3 -B (a) > 10 (b) 10 2.1: ( ) 1. draw_object draw_line ( ) (Processing/kadai-B/kadai-B.mp4) 2. Processing/draw_line 2.4 -C 1. draw_object draw_line (Processing/kadai-C/kadai-C.mp4) 2. 2.5 ( ) 2.2: ( ) 1. Processing/add (VideoProcessing) ARKit (NyARToolkit) 2.
9 10 3 LeapMotion 3 LeapMotion 3.4 -F: 1. (LeapMotion/finger_position 2.3 ) 2. ( ) 3.1 Application LeapMotion ( ) Visualizer LeapMotion/finger_position ( ) 3.5 -G: 1. example program Web... ( ) 2. 3.2 -D: examples 1. LeapMotion/examples ( ) active_fingers, finger_to_pvector, gesture_recognition, velocity_graph. 2. leap.gettip, leap.getfingerlist 3.3 -E: examples 1. LeapMotion/examples velocity_graph 2.
11 12 4 EyeTribe 4 EyeTribe 4.3 -I: example 1. EyeTribe/examples WeightedGrid 2. 4.1 Application folder (New Old) EyerTribe 4.4 -J: example 1. WeightedGrid (, ) 2. 4.2 -H: 1. EyeTribe/kadai-H/kadai-H.pde ( ) ( EyeTribe/kadai-H/kadai-H.mp4) 2. ( ) 140 void draw object() 141 { 142 float distance; 143 144 distance = dist(...,...,...,...); 145 146 rectmode(center); 147 if (...) { 148 fill(0,255,0); rect(...,..., 40, 40); 149 } 150 else { 151 fill(0,0,0); rect(...,..., 40, 40); 152 } 153 }
4.5. -K: 13 4.5 -K: 1. EyeTribe/kadai-K/kadai-K kadai-k program keyboard q 2. gnuplot tgif ( 4.1) EyeTribe/kadai-K/kadai-K.mp4 3. 4. (xxx.eps) 14 4 EyeTribe 4.5.1 gnuplot gnuplot gnuplot v // (x ) set terminal x11 // a.txt 2 3 ( + lp) // 768-$3 plot "a.txt" using 2:(768-$3) w lp // aaa, bbb set xrange [aaa:bbb] kadai-k gnuplot tgif xxx.txt xxx.obj xxx.eps (a) // aaa, bbb set yrange [aaa:bbb] // ( size 800x600 aaaa 600/800) set size ratio aaaa 700 600 500 400 // a.txt 2 3 ( l ( )) // d.txt 2 3 ( p, ps.7, lt 7) // 768-$3 plot "a.txt" using 2:(768-$3) w l, "d.txt" using 2:(768-$3) w p lt 7 ps.7 // tgif set terminal tgif 300 // file test.obj ( tgif ) set output "test.obj" 200 100 0 0 200 400 600 800 1000 // "test.obj" plot "a.txt" using 2:(768-$3) w l, "d.txt" using 2:(768-$3) w p lt 7 ps.7 // gnuplot quit q (b) (xxx.eps) 4.1:
4.6. -L: C 15 4.6 -L: C 1. EyeTribe/kadai-L/kadai-L 2. gnuplot tgif ( 4.1) 1 3. (C / ) 4. ( ) 16 4 EyeTribe 4.9 -O: 1. 11:30 ( -L, M, N eps file) USB 2. 11:40 ( -L / ) 3. (i) (ii) (iii) 4.7 -M: 1. EyeTribe/kadai-M/kadai-M 2. gnuplot tgif ( 4.1) 3. 4. ( ) 4.8 -N: 1. EyeTribe/kadai-N/kadai-N 2. gnuplot tgif ( 4.1) 3. 4. ( ) 1 [tgif (image.jpg)