Using the Xbox Kinect to Detect Features of the Floor Surface

Total Page:16

File Type:pdf, Size:1020Kb

Using the Xbox Kinect to Detect Features of the Floor Surface USING THE XBOX KINECT TO DETECT FEATURES OF THE FLOOR SURFACE By STEPHANIE COCKRELL Submitted in partial fulfillment of the requirements For the degree of Master of Science Thesis Advisor: Gregory Lee Department of Electrical Engineering and Computer Science CASE WESTERN RESERVE UNIVERSITY May, 2013 CASE WESTERN RESERVE UNIVERSITY SCHOOL OF GRADUATE STUDIES We hereby approve this thesis/dissertation of _________Stephanie Cockrell_________ candidate for the Master of Science degree *. (signed) _______Gregory Lee_________ ___________Frank Merat___________ ________M. Cenk Cavusoglu________ (date) ___December 12, 2012__________ * We also certify that written approval has been obtained for any proprietary material contained therein. Table of Contents List of Tables ................................................................................................................................... v List of Figures ................................................................................................................................. vi Acknowledgements ......................................................................................................................... ix Abstract ............................................................................................................................................ x Chapter 1: Introduction .................................................................................................................... 1 Chapter 2: Literature Review ........................................................................................................... 5 Smart wheelchairs and obstacle detection ................................................................................... 5 Kinect ........................................................................................................................................... 6 Drivable surfaces ......................................................................................................................... 7 Uneven surfaces and ramps ......................................................................................................... 8 Chapter 3: Characterization of the Kinect ...................................................................................... 11 Software and hardware .............................................................................................................. 12 Distance limitations ................................................................................................................... 12 Distortion ................................................................................................................................... 14 Mounting angle .......................................................................................................................... 18 Selection of angle and height ..................................................................................................... 24 Chapter 4: Calculating the transform ............................................................................................. 27 Best-fit plane .............................................................................................................................. 27 Compute a rotation matrix ......................................................................................................... 27 Error ........................................................................................................................................... 28 Repeatability .............................................................................................................................. 31 Chapter 5: Classifying features of the floor surface ...................................................................... 35 Creating a height map ................................................................................................................ 36 Identifying bumps and obstacles ................................................................................................ 42 Identifying level floors and ramps ............................................................................................. 46 Results ........................................................................................................................................ 52 Speed .......................................................................................................................................... 63 Summary .................................................................................................................................... 65 Chapter 6: Conclusions and Future Work ...................................................................................... 67 Appendix A: Comparison of different floors ................................................................................. 69 Appendix B: Selection of points for calibration ............................................................................ 74 iii Estimate the slope at each data point ......................................................................................... 75 Obtain an estimate for the angle of the Kinect ........................................................................... 79 Calculate the Kinect’s height ..................................................................................................... 80 Accuracy .................................................................................................................................... 81 Bibliography .................................................................................................................................. 83 iv List of Tables Table 1: Technical specifications for the Kinect. .......................................................................... 11 Table 2: Rms errors for the region used for calibration and for the entire field of view. .............. 30 Table 3: Rms errors for 16 data sets with repect to their best-fit planes. ....................................... 32 Table 4: Time required to run each of the 6 parts of the algorithm. .............................................. 64 Table 5: Statistics on the data returned for different types of floors. ............................................. 70 Table 6: Comparing different values for the parameter “smoothConstant”, to find the result closest to the best-fit plane. ............................................................................................................ 78 Table 7: Evaluating the rms error for planes calculated by three different methods. .................... 82 v List of Figures Figure 1: Sample output from the Kinect’s depth camera and RGB camera. ................................ 11 Figure 2: Depth image of a hand 20 cm away from the Kinect. .................................................... 13 Figure 3: Depth image of a hand 60 cm away from the Kinect. .................................................... 13 Figure 4: Depth image and RGB image in a long hallway, showing the Kinect has a limitation in seeing long distances. ....................................................................................................... 14 Figure 5: Distortion due to the camera is very limited.. ................................................................ 15 Figure 6: Same data as the previous figure, but the figure has been rotated. Distortion due to the camera is very limited. ...................................................................................................... 16 Figure 7: Same data as the previous figure, but the figure has been rotated. Distortion due to the camera is very limited. ...................................................................................................... 17 Figure 8: The Kinect’s field of view for the data in the previous three images. ............................ 17 Figure 9: Depth image and RGB image of a room with a white floor. The Kinect’s line of sight is parallel to the floor surface. ........................................................................................... 18 Figure 10: Red and white floor. The Kinect is mounted at a 20 degree angle from the horizontal. .......................................................................................................................................... 19 Figure 11: Red and white floor. The Kinect is mounted at a 30 degree angle from the horizontal. .......................................................................................................................................... 19 Figure 12: Red and white floor. The Kinect is mounted at a 40 degree angle from the horizontal. .......................................................................................................................................... 19 Figure 13: Red and white floor. The Kinect is mounted at a 50 degree angle from the horizontal. .......................................................................................................................................... 20 Figure 14: Red and white floor. The Kinect is mounted at a 60 degree angle from the horizontal. .......................................................................................................................................... 20 Figure 15:Black floor. The Kinect is mounted at a 20 degree angle from the horizontal. ............. 21 Figure 16: Black floor. The Kinect is mounted at a 30 degree angle from the horizontal. ...........
Recommended publications
  • Gesttrack3d™ Toolkit
    GestTrack3D™ Toolkit A Collection of 3D Vision Trackers for Touch-Free User Interface and Game Control Control interactive displays and digital signs from a distance. Navigate “PrimeSense™-like” 3D game worlds. Interact with virtually any computer system without ever touching it. GestureTek, the inventor and multiple patent holder of video gesture control using 2D and 3D cameras, introduces GestTrack3D™, our patented, cutting-edge, 3D gesture control system for developers, OEMs and public display providers. GestTrack3D eliminates the need for touch-based accessories like a mouse, keyboard, handheld controller or touch screen when interacting with an electronic device. Working with nearly any Time of Flight camera to precisely measure the location of people’s hands or body parts, GestTrack3D’s robust tracking enables device control through a wide range of gestures and poses. GestTrack3D is the perfect solution for accurate and reliable off-screen computer control in interactive environments such as boardrooms, classrooms, clean rooms, stores, museums, amusement parks, trade shows and rehabilitation centres. The Science Behind the Software GestureTek has developed unique tracking and gesture recognition algorithms to define the relationship between computers and the people using them. With 3D cameras and our patented 3D computer vision software, computers can now identify, track and respond to fingers, hands or full-body gestures. The system comes with a depth camera and SDK (including sample code) that makes the x, y and z coordinates of up to ten hands available in real time. It also supports multiple PC development environments and includes a library of one-handed and two-handed gestures and poses.
    [Show full text]
  • PROJECTION – VISION SYSTEMS: Towards a Human-Centric Taxonomy
    PROJECTION – VISION SYSTEMS: Towards a Human-Centric Taxonomy William Buxton Buxton Design www.billbuxton.com (Draft of May 25, 2004) ABSTRACT As their name suggests, “projection-vision systems” are systems that utilize a projector, generally as their display, coupled with some form of camera/vision system for input. Projection-vision systems are not new. However, recent technological developments, research into usage, and novel problems emerging from ubiquitous and portable computing have resulted in a growing recognition that they warrant special attention. Collectively, they represent an important, interesting and distinct class of user interface. The intent of this paper is to present an introduction to projection-vision systems from a human-centric perspective. We develop a number of dimensions according to which they can be characterized. In so doing, we discuss older systems that paved the way, as well as ones that are just emerging. Our discussion is oriented around issues of usage and user experience. Technology comes to the fore only in terms of its affordances in this regard. Our hope is to help foster a better understanding of these systems, as well as provide a foundation that can assist in making more informed decisions in terms of next steps. INTRODUCTION I have a confession to make. At 56 years of age, as much as I hate losing my hair, I hate losing my vision even more. I tell you this to explain why being able to access the web on my smart phone, PDA, or wrist watch provokes nothing more than a yawn from me. Why should I care? I can barely read the hands on my watch, and can’t remember the last time that I could read the date on it without my glasses.
    [Show full text]
  • A 0.13 Μm CMOS System-On-Chip For
    IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 50, NO. 1, JANUARY 2015 303 A0.13μm CMOS System-on-Chip for a 512 × 424 Time-of-Flight Image Sensor With Multi-Frequency Photo-Demodulation up to 130 MHz and 2 GS/s ADC Cyrus S. Bamji, Patrick O’Connor, Tamer Elkhatib, Associate Member, IEEE,SwatiMehta, Member, IEEE, Barry Thompson, Member, IEEE, Lawrence A. Prather,Member,IEEE, Dane Snow, Member, IEEE, Onur Can Akkaya, Andy Daniel, Andrew D. Payne, Member, IEEE, Travis Perry, Mike Fenton, Member, IEEE, and Vei-Han Chan Abstract—We introduce a 512 × 424 time-of-flight (TOF) depth Generally, 3-D acquisition techniques can be classified into image sensor designed in aTSMC0.13μmLP1P5MCMOS two broad categories: geometrical methods [1], [2], which in- process, suitable for use in Microsoft Kinect for XBOX ONE. The clude stereo and structured light, and electrical methods, which 10 μm×10μm pixel incorporates a TOF detector that operates using the quantum efficiency modulation (QEM) technique at include ultrasound or optical TOF described herein. The oper- high modulation frequencies of up to 130 MHz, achieves a mod- ating principle of optical TOF is based on measuring the total ulation contrast of 67% at 50 MHz and a responsivity of 0.14 time required for a light signal to reach an object, be reflected by A/W at 860 nm. The TOF sensor includes a 2 GS/s 10 bit signal the object, and subsequently be detected by a TOF pixel array. path, which is used for the high ADC bandwidth requirements Optical TOF methods can be classified in two subcategories: of the system that requires many ADC conversions per frame.
    [Show full text]
  • Real-Time Depth Imaging
    TU Berlin, Fakultät IV, Computer Graphics Real-time depth imaging vorgelegt von Diplom-Mediensystemwissenschaftler Uwe Hahne aus Kirchheim unter Teck, Deutschland Von der Fakultät IV - Elektrotechnik und Informatik der Technischen Universität Berlin zur Erlangung des akademischen Grades Doktor der Ingenieurwissenschaften — Dr.-Ing. — genehmigte Dissertation Promotionsausschuss: Vorsitzender: Prof. Dr.-Ing. Olaf Hellwich Berichter: Prof. Dr.-Ing. Marc Alexa Berichter: Prof. Dr. Andreas Kolb Tag der wissenschaftlichen Aussprache: 3. Mai 2012 Berlin 2012 D83 For my family. Abstract This thesis depicts approaches toward real-time depth sensing. While humans are very good at estimating distances and hence are able to smoothly control vehicles and their own movements, machines often lack the ability to sense their environ- ment in a manner comparable to humans. This discrepancy prevents the automa- tion of certain job steps. We assume that further enhancement of depth sensing technologies might change this fact. We examine to what extend time-of-flight (ToF) cameras are able to provide reliable depth images in real-time. We discuss current issues with existing real-time imaging methods and technologies in detail and present several approaches to enhance real-time depth imaging. We focus on ToF imaging and the utilization of ToF cameras based on the photonic mixer de- vice (PMD) principle. These cameras provide per pixel distance information in real-time. However, the measurement contains several error sources. We present approaches to indicate measurement errors and to determine the reliability of the data from these sensors. If the reliability is known, combining the data with other sensors will become possible. We describe such a combination of ToF and stereo cameras that enables new interactive applications in the field of computer graph- ics.
    [Show full text]
  • A Smart-Dashboard Augmenting Safe & Smooth Driving
    Master Thesis Computer Science Thesis no: 2010:MUC:01 Month Year 02-10 A Smart-Dashboard Augmenting safe & smooth driving Muhammad Akhlaq School of Computing Blekinge Institute of Technology Box 520 SE – 372 25 Ronneby Sweden This thesis is submitted to the School of Computing at Blekinge Institute of Technology in partial fulfillment of the requirements for the degree of Master of Science in Computer Science (Ubiquitous Computing). The thesis is equivalent to 20 weeks of full time studies. Contact Information: Author(s): Muhammad Akhlaq Address: Mohallah Kot Ahmad Shah, Mandi Bahauddin, PAKISTAN-50400 E-mail: [email protected] University advisor(s): Prof. Dr. Bo Helgeson School of Computing School of Computing Internet : www.bth.se/com Blekinge Institute of Technology Phone : +46 457 38 50 00 Box 520 Fax : + 46 457 102 45 SE – 372 25 Ronneby Sweden ii ABSTRACT Annually, road accidents cause more than 1.2 million deaths, 50 million injuries, and US$ 518 billion of economic cost globally [1]. About 90% of the accidents occur due to human errors [2] [3] such as bad awareness, distraction, drowsiness, low training, fatigue etc. These human errors can be minimized by using advanced driver assistance system (ADAS) which actively monitors the driving environment and alerts a driver to the forthcoming danger, for example adaptive cruise control, blind spot detection, parking assistance, forward collision warning, lane departure warning, driver drowsiness detection, and traffic sign recognition etc. Unfortunately, these systems are provided only with modern luxury cars because they are very expensive due to numerous sensors employed. Therefore, camera-based ADAS are being seen as an alternative because a camera has much lower cost, higher availability, can be used for multiple applications and ability to integrate with other systems.
    [Show full text]
  • A Category-Level 3-D Object Dataset: Putting the Kinect to Work
    A Category-Level 3-D Object Dataset: Putting the Kinect to Work Allison Janoch, Sergey Karayev, Yangqing Jia, Jonathan T. Barron, Mario Fritz, Kate Saenko, Trevor Darrell UC Berkeley and Max-Plank-Institute for Informatics fallie, sergeyk, jiayq, barron, saenko, [email protected], [email protected] Abstract Recent proliferation of a cheap but quality depth sen- sor, the Microsoft Kinect, has brought the need for a chal- lenging category-level 3D object detection dataset to the fore. We review current 3D datasets and find them lack- ing in variation of scenes, categories, instances, and view- points. Here we present our dataset of color and depth image pairs, gathered in real domestic and office environ- ments. It currently includes over 50 classes, with more images added continuously by a crowd-sourced collection effort. We establish baseline performance in a PASCAL VOC-style detection task, and suggest two ways that in- ferred world size of the object may be used to improve de- tection. The dataset and annotations can be downloaded at http://www.kinectdata.com. Figure 1. Two scenes typical of our dataset. 1. Introduction ously published datasets. The latest version of the dataset is available at http://www.kinectdata.com Recently, there has been a resurgence of interest in avail- able 3-D sensing techniques due to advances in active depth As with existing 2-D challenge datasets, our dataset has sensing, including techniques based on LIDAR, time-of- considerable variation in pose and object size. An impor- flight (Canesta), and projected texture stereo (PR2). The tant observation our dataset enables is that the actual world Primesense sensor used on the Microsoft Kinect gaming size distribution of objects has less variance than the image- interface offers a particularly attractive set of capabilities, projected, apparent size distribution.
    [Show full text]
  • Freehand Interaction on a Projected Augmented Reality Tabletop Hrvoje Benko1 Ricardo Jota1,2 Andrew D
    Session: Curves & Mirages: Gestures & Interaction with Nonplanar Surfaces May 5–10, 2012, Austin, Texas, USA MirageTable: Freehand Interaction on a Projected Augmented Reality Tabletop Hrvoje Benko1 Ricardo Jota1,2 Andrew D. Wilson1 1Microsoft Research 2VIMMI / Inesc-ID One Microsoft Way, IST / Technical University of Lisbon Redmond, WA 98052 1000-029 Lisbon, Portugal {benko | awilson}@microsoft.com [email protected] Figure 1. MirageTable is a curved projection-based augmented reality system (A), which digitizes any object on the surface (B), presenting correct perspective views accounting for real objects (C) and supporting freehand physics-based interactions (D). ABSTRACT Author Keywords Instrumented with a single depth camera, a stereoscopic 3D interaction; spatial augmented reality; projector-camera projector, and a curved screen, MirageTable is an system; projective textures; depth camera; 3D digitization; interactive system designed to merge real and virtual worlds 3D teleconferencing; shared task space; into a single spatially registered experience on top of a table. Our depth camera tracks the user’s eyes and performs ACM Classification Keywords a real-time capture of both the shape and the appearance of H.5.2 [Information Interfaces and Presentation]: User any object placed in front of the camera (including user’s Interfaces - Graphical user interfaces; body and hands). This real-time capture enables perspective stereoscopic 3D visualizations to a single user that account INTRODUCTION for deformations caused by physical objects on the table. In Overlaying computer generated graphics on top of the real addition, the user can interact with virtual objects through world to create a seamless spatially-registered environment physically-realistic freehand actions without any gloves, is a core idea of Augmented Reality (AR) technology.
    [Show full text]
  • UC Santa Cruz UC Santa Cruz Previously Published Works
    UC Santa Cruz UC Santa Cruz Previously Published Works Title Probabilistic Phase Unwrapping for Single-Frequency Time-of-Flight Range Cameras Permalink https://escholarship.org/uc/item/5425z76f Authors Crabb, Ryan Manduchi, Roberto Publication Date 2014-11-17 Peer reviewed eScholarship.org Powered by the California Digital Library University of California Probabilistic Phase Unwrapping for Single-Frequency Time-of-Flight Range Cameras Under Active Illumination Model Ryan Crabb Roberto Manduchi Dept. of Computer Engineering Dept. of Computer Engineering University of California, Santa Cruz University of California, Santa Cruz [email protected] [email protected] Abstract—This paper proposes a solution to the 2-D precise 3D measurements of large static scenes. In phase unwrapping problem, inherent to time-of-flight comparison to stereo-based range imaging it requires range sensing technology due to the cyclic nature of much less computation, is not dependent upon a heavily phase. Our method uses a single frequency capture textured surface, and not effected by ambient light. period to improve frame rate and decrease the However, it is again limited in range and resolution as presence of motion artifacts encountered in multiple well as requiring more power for the active illumination. frequency solutions. We present a probabilistic On the other hand, in comparison to structured light framework that considers intensity image in addition methods, ToF offers other advantages: because the setup to the phase image. The phase unwrapping problem is is confocal it suffers no occlusion, and its resolution of cast in terms of global optimization of a carefully measurement is independent of the hardware’s geometry.
    [Show full text]
  • Realms As Entity Location Services
    Realms as Entity Location Services Realms as Entity Location Services A study of object orientation for the conceptual structure of the Internet Oliver F. J. Snowden for The Nuffield Foundation © 2004 Oliver Snowden Page: 1 of 93 Realms as Entity Location Services Summary New methods for organising the Internet need to be investigated and a new interface concept called Realms explored. It is hoped that Realms will enable access to a variety of devices not typically accessible over the Internet. This is needed since the Internet is rapidly expanding and huge numbers of devices are expected to be connected simultaneously (e.g. electricity meters, TVs, washing machines, individual lights, pipeline sensors). This introduces many difficulties, especially in referencing and organising such vast numbers of devices. Without efficient organisation current priority services, such as telephony, will be degraded. We have researched the following topics: • Current and potential Internet devices • Current and planned structure of the Internet • The Internet as an Object Oriented distributed database • The Realm concept with respect to the conceptual structure of the Internet. In addition we have • Ascertained any potential increase in productivity from Internet users using this concept • Conducted interviews with potential end-users and experts • Studied realm interfaces, and written critical analyses of • The Realm concept for the Internet structure • The Realm concept for widening access. The results of this study suggest that the scope of the devices connected to the Internet is likely to increase and that there are mechanisms which can facilitate the increased number of devices, both physically and virtually. Object Orientation (OO) was explained briefly to help highlight the benefits it can bring to users and computational systems.
    [Show full text]
  • 208561757.Pdf
    1. INTRODUCTION The computer mouse was invented in 1960s and it went through many revisions regarding its functionality and features since then. According to folks from Celluon who came up with EvoMouse, it is the evolution of the computer mouse which allows you to emulate the mouse with gestures of your hand. The EvoMouse works on a similar principle as the Mouse less interface we wrote about last year, but its design is more polished and it looks like a small digital animal. Its two infrared sensors which form the eyes of the animal project an area in which your hands can function as if you really were using a mouse. The EvoMouse is the evolution of the computer mouse. Meet EvoMouse Pet, a dog-shaped device that turns any surface into a touchpad. Tracking your fingers, it lets you do anything a regular mouse can do, and then some. The EvoMouse works on nearly any flat surface and requires very little space. It tracks effortlessly to your comfortable and natural movements. With the EvoMouse, you can perform common mouse operations using only your fingers. You can control the cursor, click and select, double-click, right-click and drag with basic hand gestures. - 1 - 2. HISTORY 2.1 EARLY MOUSE The first functional mouse was actually demonstrated by Douglas Engelbart, a researcher from the Stanford Research Institute, back in 1963. The respective peripheral was far away from what we know today as “mice,” given the fact that it was manufactured from wood and featured two gear-wheels perpendicular to each other, the rotation of each single wheel translating into motion along one of the respective axis.
    [Show full text]
  • Time-Of-Flight Cameras and Microsoft Kinect TM
    C. Dal Mutto, P. Zanuttigh and G. M. Cortelazzo Time-of-Flight Cameras and Microsoft Kinect TM A user perspective on technology and applications January 24, 2013 Springer To my father Umberto, who has continuously stimulated my interest for research To Marco, who left us too early leaving many beautiful remembrances and above all the dawn of a new small life To my father Gino, professional sculptor, to whom I owe all my work about 3D Preface This book originates from the activity on 3D data processing and compression of still and dynamic scenes of the Multimedia Technology and Telecommunications Laboratory (LTTM) of the Department of Information Engineering of the Univer- sity of Padova, which brought us to use Time-of-Flight cameras since 2008 and lately the Microsoft KinectTM depth measurement instrument. 3D data acquisition and visualization are topics of computer vision and computer graphics interest with several aspects relevant also for the telecommunication community active on multi- media. This book treats a number of methodological questions essentially concerning the best usage of the 3D data made available by ToF cameras and Kinect TM , within a general approach valid independently of the specific depth measurement instrument employed. The practical exemplification of the results with actual data given in this book does not only confirm the effectiveness of the presented methods, but it also clarifies them and gives the reader a sense for their concrete possibilities. The reader will note that the ToF camera data presented in this book are obtained by the Mesa SR4000. This is because Mesa Imaging kindly made available their ToF camera and their guidance for its best usage in the experiments of this book.
    [Show full text]
  • Michael Lebby President and CEO OIDA
    “A sneak preview of a few grand photonics challenges” Michael Lebby President and CEO OIDA OIDA: Optoelectronics Industry Development Association Overview Optomism and excitement… ¾ How far we’ve traveled; where we’re going ¾ The next 10yrs for optoelectronics: market trends Grand challenges defined…remember these takeaways… ¾ Terabit Photonics ¾ Mobile Photonics ¾ Plastic Photonics ¾ Green Photonics Summary Michael Lebby ([email protected]) Your assignment: remember 4 phrases We are great at conceptual ideas… OIDA: Optoelectronics Industry Development Association Dick Tracy cartoon character 1946 – two-way wrist radio 1964 – wrist TV Michael Lebby ([email protected]) And in 2066…will this be implanted? Advanced phone watch Prototype: does this mean the wrist is back? Source: LG, engadget Michael Lebby ([email protected]) CES ‘08 In 10 years from now…we have to imagine how will we live our lives? OIDA: Optoelectronics Industry Development Association We’ll need to anticipate future lifestyle needs… Aging population in developed countries ¾ Medical needs ¾ Assisted living issues Energy ¾ From hydrocarbon-based to hydrogen-based ¾ Distribution Data explosion and mobility ¾ Need knowledge – not just data – anywhere anytime ¾ Need to work anywhere, anytime Water ¾ Potable ¾ Agricultural Food ¾ Quantity ¾ Quality (spoilage, nutrition) ¾ Safety Michael Lebby ([email protected]) Green, healthy and knowledgeable Once we anticipate future lifestyle needs, we then have to see if future technology and products can support those needs… OIDA:Æ Interesting
    [Show full text]