| Literature DB >> 26445046 |
Abstract
Phone placement, i.e., where the phone is carried/stored, is an important source of information for context-aware applications. Extracting information from the integrated smart phone sensors, such as motion, light and proximity, is a common technique for phone placement detection. In this paper, the efficiency of an accelerometer-only solution is explored, and it is investigated whether the phone position can be detected with high accuracy by analyzing the movement, orientation and rotation changes. The impact of these changes on the performance is analyzed individually and both in combination to explore which features are more efficient, whether they should be fused and, if yes, how they should be fused. Using three different datasets, collected from 35 people from eight different positions, the performance of different classification algorithms is explored. It is shown that while utilizing only motion information can achieve accuracies around 70%, this ratio increases up to 85% by utilizing information also from orientation and rotation changes. The performance of an accelerometer-only solution is compared to solutions where linear acceleration, gyroscope and magnetic field sensors are used, and it is shown that the accelerometer-only solution performs as well as utilizing other sensing information. Hence, it is not necessary to use extra sensing information where battery power consumption may increase. Additionally, I explore the impact of the performed activities on position recognition and show that the accelerometer-only solution can achieve 80% recognition accuracy with stationary activities where movement data are very limited. Finally, other phone placement problems, such as in-pocket and on-body detections, are also investigated, and higher accuracies, ranging from 88% to 93%, are reported, with an accelerometer-only solution.Entities:
Keywords: accelerometer; classification; gravity; gyroscope; linear acceleration; magnetometer; mobile phone sensing; motion sensors; phone placement recognition
Year: 2015 PMID: 26445046 PMCID: PMC4634510 DOI: 10.3390/s151025474
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Characteristics of the utilized datasets.
| Dataset 1 [ | Dataset 2 [ | Dataset 3 [ | |
|---|---|---|---|
| 4: Backpack, Messenger Bag, Jacket Pocket, Trouser Pocket | 5: Trouser Pocket, Upper Arm, Belt, Wrist | 3: Backpack, Hand, Trouser Pocket | |
| 5: Sit, Stand, Bike, Walk, Run | 6: Walk, Stand, Jog, Bike, Stairs, Sit | 9: Sit, Stand, Walk, Run, Transport, Stairs, Secondary Activities: sending an SMS, making a call, interaction with an app | |
| Acceleration, Linear Acceleration, Gravity | Acceleration, Linear Acceleration, Gravity, Gyroscope, Magnetic Field | Acceleration | |
| 100 Hz | 50 Hz | 100 Hz | |
| Samsung Galaxy S3 | Samsung Galaxy S2 | Samsung Galaxy S2 and S3 Mini | |
| 10 | 10 | 15 |
Figure 1Pitch features. (a) Dataset 1; (b) Dataset 2; (c) Dataset 3.
Figure 2Roll features. (a) Dataset 1; (b) Dataset 2; (c) Dataset 3.
Figure 3Standard deviation, y axis features. (a) Dataset 1; (b) Dataset 2; (c) Dataset 3.
Figure 4Position recognition performance with only motion features.
Confusion matrices with motion-related features, Dataset 1 (random forest).
| Messenger Bag | Backpack | Jacket Pocket | ||
|---|---|---|---|---|
| Messenger bag | 12.21 | 18.30 | 26.02 | |
| 14.62 | 6.16 | 6.11 | ||
| Backpack | 15.56 | 3.43 | 4.17 | |
| Jacket pocket | 36.42 | 8.05 | 8.58 |
Confusion matrices with motion-related features, Dataset 2 (random forest).
| Upper Arm | Belt | Wrist | ||
|---|---|---|---|---|
| Upper arm |
| 8.15 | 8.34 | 10.53 |
| Belt | 11.96 | 11.50 | 5.00 | |
| 5.58 | 5.60 | 5.37 | ||
| Wrist | 11.01 | 9.28 | 11.48 |
Confusion matrices with motion-related features, Dataset 3 (random forest).
| Backpack | Hand | ||
|---|---|---|---|
| Backpack | 13.68 | 11.84 | |
| Hand | 17.37 | 8.07 | |
| 13.82 | 12.05 |
Figure 5Position recognition performance with motion and orientation features.
Figure 6Position recognition performance with all features.
Confusion matrices with all features, Dataset 1 (random forest).
| Messenger Bag | Backpack | Jacket Pocket | ||
|---|---|---|---|---|
| Messenger bag | 9.23 | 9.63 | 11.78 | |
| 12.76 | 3.41 | 6.91 | ||
| Backpack | 4.98 | 1.32 | 4.64 | |
| Jacket pocket | 23.73 | 5.37 | 3.59 |
Figure 7Different feature combinations (M: motion; O: orientation; R: rotation).
Results with linear acceleration and gravity information.
| Linear Acceleration (Motion) | Linear Acceleration and Gravity | ||||
|---|---|---|---|---|---|
| Dataset 1 [ | Messenger bag | 52.89 | 49.04 | 71.11 | 68.85 |
| 74.03 | 73.05 | 88.98 | 87.24 | ||
| Backpack | 41.47 | 44.66 | 71.81 | 72.73 | |
| Jacket pocket | 59.23 | 61.27 | 71.00 | 73.21 | |
| W-average | 57.34 | 57.35 | 75.82 | 75.57 | |
| Dataset 2 [ | 75.51 | 75.55 | 92.88 | 93.77 | |
| Belt | 61.46 | 60.25 | 93.83 | 90.09 | |
| Upper arm | 56.93 | 54.33 | 90.96 | 91.98 | |
| Wrist | 55.05 | 58.16 | 87.28 | 87.62 | |
| W-average | 64.89 | 64.76 | 91.57 | 91.45 | |
Results with the gyroscope and acceleration information.
| Gyroscope | Acceleration and Gyroscope | ||||
|---|---|---|---|---|---|
| Dataset 2 [ | 89.55 | 90.15 | 97.55 | 97.44 | |
| Belt | 88.60 | 75.32 | 94.12 | 93.87 | |
| Upper arm | 75.58 | 89.36 | 95.23 | 94.75 | |
| Wrist | 84.04 | 82.32 | 95.00 | 95.34 | |
| W-average | 85.46 | 85.46 | 95.89 | 95.77 | |
Results with magnetic field and acceleration information.
| Magnetic Field | Acceleration and Magnetic Field | ||||
|---|---|---|---|---|---|
| Dataset 2 [ | 70.62 | 72.00 | 95.23 | 95.06 | |
| Belt | 77.80 | 75.34 | 90.96 | 92.48 | |
| Upper arm | 68.81 | 64.63 | 95.84 | 95.27 | |
| Wrist | 49.26 | 51.67 | 91.88 | 90.78 | |
| W-average | 67.42 | 67.13 | 93.83 | 93.73 | |
Reduction of classes.
| Original Position | 5-Class | 3-Class (1) | 3-Class (2) | 2-Class |
|---|---|---|---|---|
| Backpack | Bag | Bag | Not attached | Other |
| Messenger bag | Bag | Bag | Not attached | Other |
| Trousers pocket | Lower body | |||
| Jacket pocket | Not attached | |||
| Hand | Hand | Other | Upper body | Other |
| Belt | Belt | Other | Upper body | Other |
| Arm | Arm | Other | Upper body | Other |
| Wrist | Hand | Other | Upper body | Other |
Results of the 5-class experiment.
| Position | Accuracy | F-Measure |
|---|---|---|
| 86.91 | 84.95 | |
| 91.39 | 86.80 | |
| 85.60 | 93.80 | |
| 93.02 | 89.10 | |
| 79.31 | 82.54 | |
| Weighted-Average | 87.12 | 86.87 |
Results of the 3-class experiments.
| Position | Accuracy | F-Measure | Position | Accuracy | F-Measure |
|---|---|---|---|---|---|
| 86.30 | 85.30 | 92.23 | 91.41 | ||
| 85.69 | 87.88 | 94.41 | 93.27 | ||
| 93.76 | 92.78 | 86.57 | 88.98 | ||
| Weighted average | 88.38 | 88.67 | Weighted average | 91.04 | 91.19 |
Results of the 2-class pocket detection experiments.
| Position | Accuracy | F-Measure |
|---|---|---|
| 86.09 | 88.69 | |
| 96.88 | 95.19 | |
| Weighted average | 93.31 | 93.04 |
Figure 8Accuracy when the activity information is available, individual datasets.
Figure 9Accuracy when the activity information is available, datasets combined.
Confusion matrices with the walking activity, random forest, in %.
| Backpack | Hand | Messenger Bag | Jacket Pocket | Arm | Belt | Wrist | ||
|---|---|---|---|---|---|---|---|---|
| Backpack | 7.09 | 0.77 | 0.07 | 1.14 | 0 | 0 | 0 | |
| Hand | 3.13 | 0.24 | 0 | 0 | 0 | 0 | 0.03 | |
| 4.58 | 0.35 | 2.29 | 0.99 | 0 | 0 | 0.01 | ||
| Messenger bag | 8.40 | 0.06 | 4.91 | 17.66 | 0 | 0 | 0 | |
| Jacket pocket | 14.83 | 0.07 | 18.32 | 12.17 | 0 | 0 | 0 | |
| Arm | 0 | 0 | 0.68 | 0 | 0 | 0 | 7.95 | |
| Belt | 0 | 0 | 4.77 | 0.11 | 0 | 0 | 0 | |
| Wrist | 0.11 | 0.57 | 5.34 | 0 | 0.11 | 0.34 | 0 |
Confusion matrices with stationary activities, random forest, in %.
| Backpack | Hand | Messenger Bag | Jacket Pocket | Arm | Belt | Wrist | ||
|---|---|---|---|---|---|---|---|---|
| Backpack | 6.80 | 2.30 | 3.20 | 2.82 | 0.08 | 0.00 | 0.00 | |
| Hand | 5.66 | 2.11 | 0.02 | 0.30 | 0.00 | 0.00 | 0.00 | |
| 2.40 | 3.87 | 2.43 | 0.10 | 0.48 | 1.21 | 1.92 | ||
| Messenger bag | 18.58 | 0.09 | 21.38 | 12.82 | 0.00 | 1.69 | 0.00 | |
| Jacket pocket | 2.72 | 0.17 | 6.16 | 26.09 | 0.00 | 0.00 | 0.00 | |
| Arm | 0.40 | 0.23 | 2.54 | 0.00 | 0.00 | 0.45 | 12.71 | |
| Belt | 0.11 | 0.40 | 15.42 | 0.00 | 0.06 | 5.03 | 6.67 | |
| Wrist | 0.17 | 0.00 | 17.12 | 0.00 | 0.00 | 1.19 | 1.02 |
Confusion matrices with the mobile activities, random forest, in %.
| Backpack | Hand | Messenger Bag | Jacket Pocket | Arm | Belt | Wrist | ||
|---|---|---|---|---|---|---|---|---|
| Backpack | 5.02 | 2.25 | 0.99 | 0.05 | 0.00 | 0.00 | 0.00 | |
| Hand | 4.82 | 1.89 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | |
| 5.21 | 0.97 | 1.17 | 1.56 | 0.51 | 0.11 | 0.25 | ||
| Messenger bag | 8.97 | 0.26 | 6.61 | 13.76 | 0.00 | 3.25 | 0.04 | |
| Jacket pocket | 11.48 | 0.50 | 12.86 | 15.55 | 0.55 | 4.90 | 0.17 | |
| Arm | 0.02 | 0.00 | 2.10 | 0.00 | 0.00 | 0.00 | 2.69 | |
| Belt | 0.00 | 0.00 | 9.08 | 2.00 | 0.51 | 0.48 | 0.05 | |
| Wrist | 0.07 | 0.07 | 2.71 | 0.06 | 0.02 | 1.68 | 0.53 |
Comparison with other accelerometer-based phone placement solutions. LOSO, leave-one-subject-out.
| Park | Wiese | Fujinami | Alanezi | Wahl | Kunze | Mannini | This Work | |
|---|---|---|---|---|---|---|---|---|
| 4: Bag, ear, hand, pocket | 4: Pocket, bag, hand, out | 9: Neck, chest, jacket pocket, trousers pockets (front, back), backpack, handbag, messenger bag, shoulder bag | 6: hand-holding, talking on phone, watching a video, pockets (pants, hip, jacket) | 5: Pants, table, jacket, bag, no label | 5: Head, wrist, torso pockets (front, back); AND 5: hand, wrist upper arm, knee and back | 5: Ankle, thigh, hip, upper arm, wrist | 8: Backpack, hand, pocket, messenger-bag, jacket-pocket, arm, belt, wrist | |
| Walking | sitting (on a couch, on a desk chair), standing, walking | Walking | Idle, walking, running | Working, eating, walking/cycling, Vehicle | activities of daily living, household, workshop and office activities | Lying (on back, on left side, on right side), sitting (Internet searching, typing, writing, reading), standing still, sorting files on paperwork, exercise bike, cycling (outdoor level, outdoor uphill, outdoor downhill), elevator (up, down), jumping jacks, sweeping with broom, painting with roller, painting with brush, walking, stairs | Sit, stand, bike, walk, run, jog, stairs (up/down), transport (bus), secondary activities: sending an SMS, making a call, interaction with an app | |
| 14 | 15–32 | 20 | 10 | 6 | 17 | 33 | 35 | |
| Frequency domain | Time and frequency domain | Time and frequency domain | Time domain | Time domain | Time domain | Time and frequency domain | Time and frequency domain | |
| C4.5, SVM | SVM, random forest | J48, SVM, naive Bayes, MLP | J48, naive Bayes, logistic regression, MLP | Nearest centroid classifier | HMM + particle filter smoothing | SVM | J48, KNN, random forest, MLP | |
| 10-fold cross | LOSO | LOSO | 10-fold cross | 10-fold cross | Train/test over randomly-picked subset | LOSO | LOSO | |
| 99.6% | 79% (random forest) | 74.6% | 88.5% (only accelerometer, first activity detected, J48) | 82% (only accelerometer) | 82.0% | 92.7% (first walking activity detected) | 85% (datasets combined) | |
| 99.6% | Not reported | 74.6% | Not reported | Not reported | 94.9% | 81% | 88% (datasets combined) |