Title: CS376 Introduction
1Authoring Sensor-Based Interactions by
Demonstration with Direct Manipulation and
Pattern Recognition
Björn Hartmann, Leith Abdulla Manas Mittal, Scott
R. Klemmer
2How would you prototype
a workout monitoring system?
Apple, Nike
3How would you explore
motion-based game controllers?
Nintendo
4How would you build
near
middle
far
out of range
a proximity-aware whiteboard?
Ju, Lee, Akers
5- Sensor-based Interaction Design
6d.tools
Hartmann et al., UIST 06
7d.Tools Student Project
d.tools
8Designing Sensor-based Interactions
PROTOTYPE APPLICATION LOGIC
SPECIFY RELATIONSHIP BETWEEN SENSOR DATA AND
APPLICATION LOGIC
SPECIFY RELATIONSHIP BETWEEN SENSOR DATA AND
APPLICATION LOGIC
PROVIDE SOFTWARE ABSTRACTION FOR HARDWARE
9Types of Sensors
Force Sensitive Resistors
Accelerometers
RFID
IR/Ultrasonic Rangers
Phototransistors
Continuous
Categorical
Discrete
10Current Tools Oscilloscopes
CC image by Timo Arnall
11Current Tools LabView
LabView
12Representation Matters
Accelerometer X axis
Accelerometer Y axis
//detect accelerometer peaks //read data
sample xValtreadA2DValue(xPin) //look for
changes in derivative if(((xValt-xValt-1) gt
0 (xValt-1-xValt-2) lt 0)
(((xValt-xValt-1) lt 0 (xValt-1-xValt-2
) gt 0)) //peak detected //send message
oscSendMessageInt("/x/peak",1) else //no
peak
13Idea Programming by Demonstration
14Idea Programming by Demonstration
15Tacit Knowledge
16Crux Generalization
17Crux Generalization
18Crux Generalization
19Exemplar
20Exemplar
21Exemplar
22Exemplar
23(No Transcript)
24Exemplar UI
25Exemplar UI
26Exemplar UI
27Exemplar UI
28Exemplar UI
29Exemplar UI
30Exemplar UI
31(No Transcript)
32Dynamic Time Warping
Demonstration Signal
Matching Input Signal
Sakoe, H. Chiba, S. 78
33Filters
34Extensible Filter Set
35Understanding the Exemplar Approach
What?
Why?
- Cognitive Dimensions of Notation (CDN) Inspection
- First-Use Laboratory Study
- Class Deployment
- Used as Design Tools for Building Upon Everyday
PlayCHI Interactivity Exhibit
Analysis of Exemplar as a visual authoring
environment Threshold and usability Real-world
stress test Complexity ceiling for knowledgeable
users
36Lab Study
sketches by Wendy Ju
37Lab Study
26 min
27 min
18 min
47 min
22 min
31 min
sketches by Wendy Ju
38(No Transcript)
39Mini Joystick
Bend Sensor taped to table
Navigation with Accelerometer
Navigation with XY Joystick
Test Play
40Mini Joystick
Bend Sensor taped to table
Test Play
Trigger with Bend sensor
Refine trigger detection
Test Play
41Post-Test Questionnaire
42Post-Test Questionnaire
43CHI Interactivity
Control Freaks by Haiyan Zhang
44CHI Interactivity
Compulsory latency of pattern matching
precludes use for fast-paced actions
Thresholdcrossed here
Pattern matched here
time
Control Freaks by Haiyan Zhang
45Related Work
PBD Tools for Ubicomp
Musical controller Design tools
Commercial Dsp software
a Capella Dey et al., CHI 04 CrayonsFails
Olsen, CHI 03 MonetLi, Landay, UIST
05 Papier-MâchéKlemmer et al., CHI 04
HID ToolkitSteiner, NIME 05 MnMBevilacqua et
al., NIME 05 FlexiGestureMerrill Paradiso,
CHI 05
LabView/Lego Mindstorms NXT
46Related Work
A CAPella (Dey et al., CHI 04)
47Related Work
FlexiGesture (Merrill CHI05)
48Related Work
LabView
49Related Work
Lego Mindstorms NXT
50Future Directions
- Export Generate code specifications
- Programming sensor networks by demonstration
- d.mix Programming by A Sample for Web Service
APIs - Integration of direct manipulation environments
with textual programming
51Acknowledgments
- We thank MediaX/DNP for funding, Intel for
equipment donation, Wendy Ju for
illustrations,David Merrill Timo Arnall for
photos.
52Download Exemplar http//hci.stanford.edu/exempla
r
CHI Interactivity Building Upon Everyday Play
Talk tomorrow, 1130am, Room C2
53Dynamic Time Warping
Example
Input Signal
Sakoe, H. Chiba, S. 78
54Student Projects
d.Tools board
55Student Projects
56Student Projects
57Cognitive Dimensions of Notation
- Examples
- Visibility and Juxtaposability
- Viscosity
- Hard Mental Operations
Blackwell, Green
58Verplank
59Evaluation
- Cognitive Dimensions of Notation (CDN) Inspection
- First-Use Laboratory Study (n12)
- Class Deployment
- Used as Design Tools for Extending Everyday
PlayCHI Interactivity Exhibit
60Exemplar d.tools