Real-time motion and activity recognition
Seminar: Post-Desktop User Interfaces Tim Hemig and Moritz Wittenhagen November 9, 2006
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 1 / 42
Real-time motion and activity recognition Seminar: Post-Desktop User - - PowerPoint PPT Presentation
Real-time motion and activity recognition Seminar: Post-Desktop User Interfaces Tim Hemig and Moritz Wittenhagen November 9, 2006 Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 1 / 42 Contents
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 1 / 42
1
2
3
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 2 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 3 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 4 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 5 / 42
1g
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 6 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 7 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 8 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 9 / 42
2at2)
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 10 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 11 / 42
1
2
3
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 12 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 13 / 42
1 Gather data for activity templates 2 Train classifier from the collected data 3 Use the classifiers on ”real” data Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 14 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 15 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 16 / 42
◮ Tell subjects what to do and record the sensor data ◮ Easy to get ◮ Not necessarily good because subjects may behave different when being
aware of what they are doing
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 17 / 42
◮ Tell subjects what to do and record the sensor data ◮ Easy to get ◮ Not necessarily good because subjects may behave different when being
aware of what they are doing
◮ gathered by watching subjects performing their everyday activities ◮ subjects are not aware of them being watched ◮ very hard to achieve Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 17 / 42
◮ Tell subjects what to do and record the sensor data ◮ Easy to get ◮ Not necessarily good because subjects may behave different when being
aware of what they are doing
◮ gathered by watching subjects performing their everyday activities ◮ subjects are not aware of them being watched ◮ very hard to achieve
◮ Subjects get a list of activities to perform during the day ◮ The collected data is self-described by the person ◮ Much closer to naturalistic data then lab-gained data Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 17 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 18 / 42
◮ Naive Bayes ◮ k-nearest neighbor ◮ Decision trees Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 19 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 20 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 20 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 20 / 42
i=1 pi · log2(pi)
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 21 / 42
◮ Naive Bayes ◮ k-nearest neighbor ◮ Decision trees
◮ Boosting ◮ Bagging ◮ Plurality voting ◮ Meta Decision Trees (MDTs) Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 22 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 23 / 42
◮ Good data acquisition ◮ What is the best classifier? Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 24 / 42
◮ Train the classifier with data from all subjects but one and test it on
the remaining subject’s testing data
◮ Train the classifier with the subject’s data and test it with the subject’s
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 25 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 26 / 42
◮ You can rely on very short FFT windows for ”easy” questions ◮ More complicated questions can be answered by classifying the
classification results
◮ For some activities it is enough to use one triaxial accelerometer ◮ Plurality voting is the best meta-classifier
◮ Speech detectors are a possibility to determine a person’s
interruptibility
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 27 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 28 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 29 / 42
1
2
3
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 30 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 31 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 31 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 32 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 32 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 33 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 34 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 34 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 34 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 35 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 36 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 36 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 36 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 37 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 37 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 38 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 38 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 38 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 39 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 39 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 40 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 41 / 42
Tim Hemig and Moritz Wittenhagen () Real-time motion and activity recognition November 9, 2006 42 / 42