19
PEDESTRIAN DETECTION WITH THE MICROSOFT KINECT NATMEC, 2014 KRISTIAN HENRICKSON [email protected] XIAOFENG CHEN [email protected] YINHAI WANG [email protected]

PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

PEDESTRIAN DETECTION WITH THE MICROSOFT KINECT

NATMEC, 2014

KRISTIAN HENRICKSON [email protected]

XIAOFENG CHEN [email protected]

YINHAI WANG [email protected]

Page 2: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

HUMAN DETECTION: NOT JUST FOR DEMAND ESTIMATION

• Estimate demand for:

• infrastructure investment

• Safety treatments

• Analyze pedestrian movement and interaction with public spaces

• Actuated pedestrian signals

• Advertising

• Vehicle on-board pedestrian avoidance features

Page 3: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

HOW ARE PEDESTRIANS AND CYCLISTS DETECTED?

• Manual count

• Pedestrian push buttons

• Infrared

• Inductance loops

• Pressure and acoustic mats

• Video image processing

Page 4: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

CURRENT STATE OF VIDEO IMAGE PROCESSING

• Human detection in video imagery is a long-standing computer vision challenge

• A great deal of current work is focused on feature-based detection

• Train machine learning classifiers for identifying local image features corresponding to humans or body parts

• Example: Histogram of Oriented Gradients (HOG)

• A number of algorithms have been developed for resolving occlusion, still a persistent challenge

Page 5: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

PEDESTRIAN DETECTION UNDER OCCLUSION

Easy detection - Face and limbs clearly visible - Distinct from background

Difficult detection - Obscured by environment or

other people - Noisy environment

Page 6: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

ALSO: ACCELEROMETER AND MICROPHONE ARRAY

MICROSOFT KINECT® SOLUTION?

INFRARED DEPTH SENSOR ARRAY

RGB (COLOR) CAMERA

MOTORIZED TILTING BASE

Page 7: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

KINECT SPECIFICATIONS

• 43° and 57 ° vertical and horizontal field of view respectively

• 30 frames per second (FPS) depth and color streams

• Structured light depth sensing technology

• 640 x 480 color images, up to 1280 x 960 at reduced frame rate

• 320 x 240 depth images

• 4 microphones in directional array

• 2G accelerometer range with 1° upper limit accuracy

• Microsoft SDK available for windows, open source development tools also available

• Version 1 Cost: $150.00 - $200.00

Page 8: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

RECENT WORK IN DEPTH-BASED HUMAN DETECTION

• Feature based

‒ Histogram of Oriented Depth (HOD)1,2

‒ Histogram of Depth Difference (HDD)3

‒ Augmented Histogram of Oriented Gradients (HOG)4,2

‒ Part based depth feature descriptors

• Microsoft Skeleton tracking algorithm: for gaming interface5

• Current work not proven in crowded environments where occlusion occurs frequently

Page 9: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

OUR APPROACH TO RGB-D HUMAN DETECTION

• Background subtraction to extract pedestrian contours from RGB image – simple and well studied

• Morphological processing to reduce noise and clutter in binary image

• Fuse RGB and Depth images

• Search for depth discontinuities within pedestrian blobs to resolve occlusion

• Pattern matching for people tracking

• Update count when people cross a depth threshold

• Implemented in C# with EMGU OvenCV 2.4 and Microsoft Kinect SDK 1.6

Page 10: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board
Page 11: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

Scene 3: Wide open courtyard

Scene 2: Staircase landing

Note depth difference in occlusion instance

Page 12: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

Scenario Test

length

Manual

counts

Under

counting

Over

counting Accuracy (%)

1 5 min 56 0 3 94.7

2 5 min 60 4 0 93.3

3 5 min 58 4 0 93.1

Scene 1: STAR Lab, cluttered indoor scene

Scene 2: Staircase landing direct sunlight

Scene 3: Open courtyard cloudy

TESTING RESULTS

Page 13: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

WHAT HAVE WE ACCOMPLISHED?

• Developed a RGB-D pedestrian detector using a low-cost consumer grade sensor

• Address the occlusion issue by fusing depth and color images

• Demonstrated good counting accuracy in both indoor and outdoor environments

• Demonstrated the utility of the Kinect outside of the manufacturer specified distance range

Page 14: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

Sensor locations

Possible Applications?

Page 15: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

FUTURE WORK

• Adapt current algorithm to measure speed

• Differentiate between travel modes (i.e. walk, bike)

• Investigate applications for new generation of consumer 3-D sensors

• Kinect Version 2

• Prime Sense Capri

• Other detection scenarios

• Lingering crowd detection

• Pedestrian presence detection for actuated signals

Page 16: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

KINECT V2 SPECIFICATIONS

• Most notable: time of flight IR depth sensing technology

• Active IR technology for improved performance in varying light conditions

• 60° and 70 ° vertical and horizontal field of view respectively

• Full HD 1920 x 1080 color images at 30 FPS

• 512 x 424 Depth stream at 30 FPS

• Reduced latency and noise, increased useable depth range compared to v1

• Non-motorized adjustable tilt

• Microsoft SDK available soon for Windows

• Version 2 cost: $200.00

Page 17: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

THANK YOU!

This work was supported by The Pacific Northwest Transportation Consortium (PacTrans)

KRISTIAN HENRICKSON [email protected]

XIAOFENG CHEN [email protected]

FOR MORE INFORMATION CONTACT: YINHAI WANG [email protected]

Page 18: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

IMAGE CREDITS

• Manual pedestrian Count: https://www.flickr.com/photos/yoavlerman/

• Bike counter: https://www.flickr.com/photos/wv/

• Pedestrian pushbutton: https://www.flickr.com/photos/katsrcool/

• Pedestrian counter: https://www.flickr.com/photos/giltay/

• Occlusion: https://www.flickr.com/photos/frerieke/

• Mall scene: https://www.flickr.com/photos/postsumptio/

• Burke Gilman trail: Google Earth

Page 19: PEDESTRIAN DETECTION WITH THE MICROSOFT …onlinepubs.trb.org/.../2014/NATMEC/Wang-Kinect-Pres.pdfCollection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board

BIBLIOGRAPHY

1. Spinello, L., Arras, K. O. (2011), People Detection in RGB-D Data, 2011 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 3838-3843, IEEE.

2. Luber, M., Spinello, L., & Arras, K. O. (2011), People Tracking in RGB-D Data With On-line Boosted Target Models, 2011 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 3844-3849, IEEE.

3. Wu, S., Yu, S., Chen, W. (2011), An attempt to pedestrian detection in depth images. Third Chinese Conference on Intelligent Visual Surveillance (IVS), 97-100. IEEE.

4. Salas, J., & Tomasi, C. (2011), People detection using color and depth images, Pattern Recognition, Springer Berlin Heidelberg, 127-135.

5. Charreyron, S., Jackson, S., Miranda-Moreno, L. F. (2013) Towards a Flexible System for Pedestrian Data Collection Using Microsoft Kinect Motion Sensing Device. Transportation Research Board 92nd Annual Meeting. No. 13-3284.

6. Jana, Abhijit. Kinect for Windows SDK Programming Guide. Packt Publishing Ltd, 2012.