gesture recognition using ambient light...1. demonstrated a gesture recognition system using only...

30
Gesture Recognition Using Ambient Light Raghav H. Venkatnarayan Muhammad Shahzad North Carolina State University Raleigh NC USA ACM UbiComp 2018

Upload: others

Post on 04-Aug-2020

13 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Gesture Recognition Using Ambient Light

Raghav H. Venkatnarayan

Muhammad Shahzad

North Carolina State University

Raleigh NC USA

ACM UbiComp 2018

Page 2: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Motivation

• Gesture Recognition enables various interactive applications.

Gaming Health Care Smart Homes AR

• Multiple Modalities

Wearables Sound Vision/IR RF

Page 3: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Motivation

• Gesture Recognition using Ambient Light Signals

▪ Ubiquitous:

Light Sources are available

everywhere

▪ Non-invasive:

Movements can be sensed

from shadows

▪ Preserve Privacy:

Signals do not leak through

walls

Illustration reproduced from LiSense (MobiCom ’15)

Page 4: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Existing Approaches

Okuli

(MobiCom ‘15)

GestureLite

(DTR ‘16)

VLAS

(VLCS ‘16)

CeilingSee

(PerCom ‘16)

LiSense

(MobiCom ‘15)

StarLight

(MobiSys ‘16)

Limited Range

(< 30cm)

Limited Resolution

(Room-Level Semantics)

Active Sensing :

Controlled lighting infrastructure

(Modulated LED lights)

Page 5: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Problem Statement

Design a passive, ambient light based gesture recognition system

• Unmodulated Light Sources

• Agnostic to lighting conditions

• Agnostic to user’s position and orientation

• Recognize gestures of any given user

Page 6: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Approach

Observation:

• Shadows follow movements

• Different gestures create distinct shadow

patterns on the floor

Idea:

• Instrument floor to learn shadow patterns using

ML models and infer gestures.

Challenges

• Capturing features agnostic to different lighting

conditions, user positions and orientations

Sensor

DataFeature

ExtractionRecognition

.

.

.

Page 7: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Overview

Sensor Time

Series

Feature

ExtractionClassifier

Training

Training

Sensor Time

Series

Feature

ExtractionRecognition

Runtime

Preprocessing

Preprocessing

Page 8: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

I. Preprocessing

1. Denoising:Challenge 1 : Separating signal from the noise

(i) Stray Shadows and Reflectors : Varying photocurrent offsets with environmental

changes.

(ii) Light Source Flicker (AC Powered):Fluctuations of comparable magnitude

-Well localized in Frequency Domain

(iii) Shot noiseSpurious burst noises

-Well localized in Time Domain

Frequency

Human Flicker

Time

Curr

ent

Curr

ent

Curr

ent

Time

Page 9: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

I. Preprocessing

(i) Stray Shadows and Reflectors :

Solution: Differential

(ii) Light Source Flicker (AC Powered):

(iii) Shot noise

Solution : Time-Frequency based denoising :

Hard wavelet thresholding using DWT

Time

Curr

ent

Frequency

Human

Curr

ent

Curr

ent

Time

1. Denoising:Challenge 1 : Separating signal from the noise

Page 10: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Threshold

I. Preprocessing

2. Gesture Detection:

Thresholding with a sliding window

Win

do

w

Time (s)

Am

plit

ud

e

L

Page 11: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

I. Preprocessing3. Standardization

Challenge 2 : Handling changes in intensity across sensors

Dimming Adding multiple lights

Significant

difference in

darkness

Page 12: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

I. Preprocessing

3. Standardization

Challenge 2 : Handling changes in intensity across sensors

Similar

darkness

Solution : Scale each sensor time series by deviation

Page 13: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Std.

Streams

Wavelet

Transformation

(Basic)

Rasterization

(Refined)Feature

Reduction

II. Feature Extraction

Coeffs. Image Features

Page 14: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

II. Feature Extraction

1. Wavelet Transformation:

Objective: Characterize shape of the signal.

Approach:

Extract a joint signature in time and frequency

domains using Discrete Wavelet Transform

Varying Frequency over time

Page 15: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

II. Feature Extraction

2. Rasterization:

Challenge 3 : Handling changes in features caused by shifts in position of light

sources or position of users

Shift in User Position Shift in Light Source

Effect : Changing Direction and length of shadows across samples

Example Position

Page 16: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

II. Feature Extraction

2. Rasterization:

6 sensors see variations

Example:

10 sensors see variations

Need a way to negate the effects of change in shadow length/direction

Sensors also change

Page 17: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

II. Feature Extraction

2. Rasterization:

Existing Approaches:

• Identify blockage of individual light sources using Frequency Modulation

to localize shadows

• Shadows can then be scaled, translated or rotated

• Cannot be applied to unmodulated / unknown light sources

Trace rays to locate shadow regions

Page 18: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

II. Feature Extraction

2. Rasterization:

How to handle variations in position of light sources or position of

users with unmodulated light sources?

Observations:

1) Sensor values still have similar

patterns due to same blocking source

2) More light sources =>

Multiple redundant shadows

3) Change in shadow length =>

Change in No. of sensors

4) Change in shadow direction =>

Change in index of sensors

Sen

sor

No

.

Sen

sor

No

.

Page 19: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

II. Feature Extraction

2. Rasterization:

How to handle variations in position of light sources or position of

users with unmodulated light sources?

Solution: Map all sensor coefficients into a 2D image

Sen

sor

No

.

Sen

sor

No

.

Redundant / Similar

patterns merge

Page 20: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Features

II. Feature Extraction

3. Feature Reduction:

Objective: Extract only features of high classification potential

Approach:Dimensionality Reduction

Image

CompressionPCA

Raster Pixels

50x256 =

12800 pixels

50 values

Page 21: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

III. Classifier Training / Recognition

Feature Vector

(Training)

SVM : RBF

Kernel + Grid

Search

One Vs All

Models

Feature Vector

(Runtime)

Best

Match

Page 22: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Implementation

Photosensor (TSL 252)

Arduino Uno

Sensor Density 1/sq.ft

Production System Cost $ 0.2 /sq.ft

Avg Cost of Carpeting $ 3 /sq.ft

Page 23: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Evaluation

• Volunteers : 20

Height : 150cm – 180cm

• Gestures : 5

Clap, Hug, Jump, Punch, Step

• Positions : 9

• Orientations : 4

• Lighting Conditions : 11

• Environments : 2 (15175 Samples)

Lab Living Room

Page 24: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Evaluation

Average : 95.2%

1. Recognition Accuracy : Unseen User Positions

Page 25: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Evaluation

Average : 94.5%

2. Recognition Accuracy : Unseen User Orientations

3%

Page 26: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Evaluation

Average : 96.1% , 93%

3. Recognition Accuracy : Unseen lighting conditions

Lab (Fluorescent)

[280,320 lux]

Living Room (Sunlight)

[200,1700 lux]

>90%

Page 27: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Evaluation

Average : 94.64%

4. Recognition Accuracy : Unseen Users

Page 28: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Limitations

1. Obstructions

2. Sensitivity to low-illumination levels (<300 Lux)

3. Users cannot walk during gesture

Page 29: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Key Takeaways

1. Demonstrated a gesture recognition system using only ambient light.

2. Developed feature extraction methods agnostic to changing lighting

conditions, user positions, user orientations, users.

3. Extensively evaluated a prototype using low-cost commercially

available sensors.

4. Demonstrated average accuracy (96%) comparable to existing RF-

based gesture recognition systems

Page 30: Gesture Recognition Using Ambient Light...1. Demonstrated a gesture recognition system using only ambient light. 2. Developed feature extraction methods agnostic to changing lighting

Thank You

Questions?