Analysis of movement and gesture recognition using Leap Motion Controller

Analysis of movement and gesture recognition using Leap Motion Controller

Available Available online online at at www.sciencedirect.com www.sciencedirect.com Available online at www.sciencedirect.com ScienceDirect ScienceDi...

705KB Sizes 0 Downloads 94 Views

Available Available online online at at www.sciencedirect.com www.sciencedirect.com Available online at www.sciencedirect.com

ScienceDirect ScienceDirect Procedia Computer Science 00 (2018) 000–000

Procedia Computer Science 00 (2018) 000–000 Procedia Computer Science 132 (2018) 551–556

www.elsevier.com/locate/procedia www.elsevier.com/locate/procedia

International International Conference Conference on on Computational Computational Intelligence Intelligence and and Data Data Science Science (ICCIDS (ICCIDS 2018) 2018)

Analysis of movement and gesture recognition using Leap Motion Controller Anshul Anshul Sharma, Sharma, Aditya Aditya Yadav, Yadav, Saksham Saksham Srivastava, Srivastava, Ritu Ritu Gupta Gupta Amity Amity School School Of Of Engineering Engineering And And Technology, Technology, Amity Amity University University Uttar Uttar Pradesh Pradesh

Abstract Abstract The The leap leap motion motion controller controller is is an an interactive interactive tool tool used used for for gesture gesture recognition recognition and and movement movement in in various various fields fields like like medicine, medicine, manufacturing, 3D modeling etc. It uses cameras and infrared LEDs to track the movement of the hand. The gadget manufacturing, 3D modeling etc. It uses cameras and infrared LEDs to track the movement of the hand. The gadget feels feels great great to to use use and and can can help help us us in in many many ways ways like like building building blueprints blueprints of of aa 3D 3D project project and and while while doing doing animations. animations. To To implement implement the the movement movement and and gesture gesture recognition recognition technology, technology, SDK SDK development development tool tool kit kit is is used. used. From From results, results, it it is is clear clear that that gesture gesture recognition recognition is is very very useful useful and and can can be be readily readily analysed analysed for for further further usage. usage. © 2018 2018 The The Authors. Published by by Elsevier Elsevier B.V. Ltd. © Authors. Published Published © 2018 The Authors. by Elsevier B.V. This is an open access article under the scientific CC BY-NC-ND license (https://creativecommons.org/licenses/by-nc-nd/3.0/) Peer-review under responsibility of the committee of the International Conference Conference on on Computational Computational Intelligence Intelligence and and Peer-review under responsibility of Peer-review under responsibility ofthe thescientific scientificcommittee committeeofofthe theInternational International Conference on Computational Intelligence and Data Science (ICCIDS 2018). Data Data Science Science (ICCIDS (ICCIDS 2018). 2018). Keywords: Keywords: Leap Leap Motion; Motion; Gesture Gesture recognition; recognition; Hardware Hardware ;; Software Software

1. 1.

Introduction Introduction

The The new new gadget gadget Leap Leap Motion Motion Controller Controller gives gives aa useful useful portrayal portrayal of of gesture gesture recognition recognition and and movement.We movement.We utilize utilize the following information through the API of Leap Motion Controller to see hand movements the following information through the API of Leap Motion Controller to see hand movements and and motions. motions. Our Our try try demonstrates demonstrates that that our our technique technique in in view view of of Leap Leap Motion Motion Controllercan Controllercan see see hand hand signal signal consummately consummately when when no no impediment impediment happens. happens. Signaling Signaling is is aa typical typical piece piece of of human human connection connection and and progresses progresses toward toward becoming becoming more more vital vital in in AR/VR AR/VR collaboration.The collaboration.The Leap Leap Motion Motion Controller Controller is is an an awesome awesome alternative alternative produced produced for for motion motion communication communication by by Leap Leap Movement Movement (https://www.leapmotion.com/). (https://www.leapmotion.com/). The The gadget gadget consists consists of of aa little little measurement measurement of of 0.5x1.2x3 0.5x1.2x3 in. in. To To utilize utilize the the Leap Leap Motion Motion Controller, Controller, the the client client needs needs to to attach attach it it with with aa PC. PC. At At that that point point the the userputs his hands over the Leap Motion Controller. It will distinguish hand and fingers movement. Theinformation userputs his hands over the Leap Motion Controller. It will distinguish hand and fingers movement. Theinformation which which contains contains the the hand hand and and fingers' fingers' position, position, course, course, speed speed can can be be obtained obtained by by utilizing utilizing its its SDK. SDK. The The Leap Leap Motion Motion *Corresponding *Corresponding Author: Author: [email protected] [email protected] 1877-0509© 1877-0509© 2018 2018 The The Authors. Authors. Published Published by by Elsevier Elsevier B.V. B.V.

Peer-review Peer-review under under responsibility responsibility of of the the scientific scientific committee committee of of the the International International Conference Conference on on Computational Computational Intelligence Intelligence and and Data Science (ICCIDS 2018). Data Science (ICCIDS 2018). 1877-0509 © 2018 The Authors. Published by Elsevier Ltd.

This is an open access article under the CC BY-NC-ND license (https://creativecommons.org/licenses/by-nc-nd/3.0/) Peer-review under responsibility of the scientific committee of the International Conference on Computational Intelligence and Data Science (ICCIDS 2018). 10.1016/j.procs.2018.05.008

552 2

Anshul Sharma et al. / Procedia Computer Science 132 (2018) 551–556

Anshul et al. / Procedia Computer Science 00 (2018) 000–000/ Procedia Computer Science 00 (2018) 000–000

Controller gives a decent hand identification precision of around 200millimeters.. After it initially released the Leap Motion Controller in 2013, analysts began to examine its exhibitions. The executionof this deviceis contrasted with a typical mouse gadget [Bachmann et al. 2015]. Fits' law is presented in the assessment framework. It demonstrates the device's execution. This small device has an extensive variety of utilization. It has been utilized for stir recovery by individuals from The Intelligent Computer Tutoring Group in the University [Brace-girdle et al.2 014]. One more vital use is hand signal acknowledgments. Many signal acknowledgment strategies have been done with contrast environments. Impromptu features are fabricated in view of fingertips positions and introductions. These highlights are then bolstered into a multi-class SVM classifier to see and recognize their signals. Profundity highlights from the Motion Kinect are additionally consolidated with highlights from gadget to enhance the acknowledgment exhibitions. They just concentrate on static motions as opposed to movement relatedgestures. Hand Movement Understanding framework created by [Cooper - et al. 2011] use shading coding glove to trace hand development. The following framework expects clients to utilize gloves which increases the client experiences. We grew more confused about the hand motions acknowledgment systems which give static motions acknowledgments as well as dynamic gesture acknowledgments. Just the Leap Motion Controller is required for this. The clients don't require different sorts of sensors to put on. 1.1.

General Model And Working

1.1.1. Hardware From a hardware point of view, the Leap Motion Controller is very direct. The center of the device involves two cameras and three infrared L.E.D.s. These trail infrared light with a wavelength of 850 n.m, which is not inside the seen light range. From it's wide point central focuses, the contraption has a tremendous association area of eight cubic feet, it is the condition of a modified pyramid – the union of the cameras' lens range. Already, the Controller's overview stretch out was obliged to around 2 feet (60 cm) over the device. With the Orion beta programming, this has been reached out to 2.6 f.t (80 cm). This area is compelled by L.E.D. light spread throughout, as it ends up being generously difficult to see your hand's position in 3-D past a particular division. Driven light power is in the end confined by the best amount of ampere that can be layed over the USB affiliation. Presently, the contraption's USB controller scrutinizes the sensor data into its own specific neighborhood memory and plays out any basic assurance changes. The data is further spouted by methods for USB to the Leap Motion following programming. The data shows up as a grayscale type of stereo photo of the nearby I.R light range, secluded into the left-right cameras. Conventionally, the fundamental things you can clearly see are those clearly lit up by the Leap Motion Controller's L.E.D.s. Regardless, gleaming lights, glowing light, and daylight will in like manner enlighten the scene in infrared. You may in like manner see that particular things, like cotton shirts, can appear to be white in spite of the way that they are dull in the observable range. 1.1.2. Software After that, the photo data is spouted to your PC, it is the perfect open door for some significant logical lifting. Despite pervasive misinterpretations, the Leap Motion Controller will not make a significance depict rather it applies moved estimations to the rough sensor data. The Leap Motion Service roughly is the item on your PC that strategies the photos. Ensuing to reimbursing for establishment objects, (for instance, heads) and encompassing common light environment, the photos are destitute down to redo a 3-D depiction of what the device perceives. After that, the accompanying layer arranges the data to remove following information, for instance, fingers and gadgets. Our following counts decipher the 3-D data and determine the spots of obstructed articles. Sieving techniques are associated with promising smooth brief clarity of the data. The Leap Motion Service by then supports the outcomes – imparted as a movement of housings, or sneak peaks, containing most of the accompanying data – into a vehicle tradition. With the help of this tradition, the organization talks with the Leap Motion Control Panel, and furthermore nearby and internet client libraries, by using an area connection affiliation (T.C.P. for neighborhood, Web-Socket for web). The elaborated library deals with the data into an inquiry arranged A.P.I. structure, manages layout history, and gives accomplice limits and classes. Starting there, the application method of reasoning collaboration into the Leap Motion input, making a development controlled instinctive event.



2.

Anshul Sharma et al. / Procedia Computer Science 132 (2018) 551–556 Anshul et al. / Procedia Computer Science 00 (2018) 000–000

553 3

Applications of Leap Motion In Different Fields

With such an extensive variety of issues encompassing the gadget, it may be a shock for some, that Leap Motion has achieved the 1 million check in their Air Space application downloads. Despite the fact that it profited from an incredible buildup raising the enthusiasm of thousands of early adopters, the capability of The Leap is more critical than some other attention and still, after all that the underlying downsides and it is positively the one thing that will decide the long haul achievement of this bit of equipment. 1.2.

Medicine

Envision Leap Motion coordinated into howdy tech restorative PCs through which specialists can perform exceptionally entangled and extremely fragile operations crosswise over mainlands, with the gadget aligned such that it can really evacuate the ordinary shake that even specialists have to a specific degree and dispense with any conceivable blunders identified with this. Aided by expanded reality, specialists would have the capacity to see and control everything without being in an indistinguishable room from the patient. This can likewise be utilized to drive remote cameras through extremely delicate zones of the body without touching or putting any mechanical weight on the patient. 1.3.

Household

Having a couple of Leap Motion gadgets spread over your home could enable you to turn on and off lights, open and close the blinds, control your TV and all other electronic gadgets without really touching anything. This can be specific valuable for debilitated individuals who can't move exceptionally well, or in structures where sullying is a genuine threat (e.g. a lab). 1.4.

Entertainment

In spite of the fact that this is as of now the primary utilization of the innovation it is still just toward the start regarding its potential. Combined with increased reality, The Leap could help control your character in an AR amusement that occurs around you. Controlling radio gadgets (e.g. autos, planes, pontoons) without the need of physical controls can give you more precision and flexibility. 1.5.

3D Modeling and Graphics

It is the main gadget that gives full control of a 3D modelling. Engineers and planners can truly profit by this by getting the opportunity they have constantly needed with regards to 3D demonstrating and 3D designs. They can turn, scale and completely change objects without using a physical 2D controller (e.g. mouse, console, trackpad), in this manner sparing valuable time and permitting greater innovativeness. 1.6.

Manufacturing

Working substantial apparatus and modern robots with the assistance of a Leap Motion controller can permit better control, enhanced precision and better detail, especially supportive in ventures that can't totally depend on automatized strategies, for example, extravagance products. Makingan exceptional bit of adornments or a sublime watercraft can get significance when supported by movement controller innovation. 1.7.

Data

Leap motion controller has been continuously refreshing their SDK after the primary release. The Leap movement motion controller gives preprocessed information with the help of their Application Programming Interface. This information is obtained by a Frame protest questioning by outline. There exists a few properties a casing object present in the Orion adaptation.

554 4

Anshul Sharma et al. / Procedia Computer Science 132 (2018) 551–556

Anshul et al. / Procedia Computer Science 00 (2018) 000–000/ Procedia Computer Science 00 (2018) 000–000

● Palm position (Ppos), typical PN and speed Pv. ● Hand bearing PD. ● Fingertips position Fi Pos, bearing FiD and speed Fi v where I begins from zero to four speaking to thumb, file, middle, ring and pinky separately. The palm's position, ordinary and hand headingsappear in depicted picture. The correct picture demonstrates the fingertips positions and bearings. The root following information is ascertained in device's arrange frameworks. We made our demo in view of Unity(https://unity3d.com/). The Unity utilizes a left hand framework and meters as the unit.

Fig. 1 (a and b): Snapshot of the data import process in tool

3.

Reading the Leap data

Leap loop is a strategy that takes a callback capacity and utilizes the program’s work in request. Animation Frame (or a polyfill for it) gives us 60 outlines for every second of movement information. In an illustration later, it will utilize the places of the tips of each recognized finger. Hence, it cansimply print the desired output to the screen. 1.8.

Setting up the canvas

Prior to starting, some initial setting can be done to smooth execution of the experiment. Further, the canvas' coordinate framework is also defined to plot the focuses from the Leap Motion. Generally the (0,0) purpose of a canvas is at the upper left, however taking a gander at the information we got from the last stage, you'll see that the gadget's co-ordinates have their source in the focal point of the gadget. On the off chance that you hold your hand to



Anshul Sharma et al. / Procedia Computer Science 132 (2018) 551–556 Anshul et al. / Procedia Computer Science 00 (2018) 000–000

555 5

one side of the gadget, the x co-ordinates of the pointables are negative, on the off chance that you hold your hand to one side of the gadget, they are sure. 1.9.

Painting the fingertips

Presently, inception is set up and coordinate of the gadget are initialized. After that some picture can be drawn on the canvas. For this case, x and y co-ordinates of each pointable area is defined and plotted on the canvas. To begin with, we will set up an attract capacity of Leap loop and which can be passed in the present casing.

Fig. 2: Snapshot of the fingertips process

1.10.

Result

If we execute and run this with the device, we will start to see circles drawn on the screen where our fingers are pointing, much like the figure that appeared in the given screenshot. We can make it very effective than this irregular thing though, by removing our canvas on each iteration so that only the current frame’s pointables are printed. As we were figuring out more with this, we went somewhat far and just drew over the canvas with a 12% misty white rectangle, which gave the pointable a trail. We can show improvement over this wreckage however, by clearing our canvas on each draw so just the present casing's pointables are printed. As I was playing about more with this, I went somewhat further and just drew over the canvas with a 10% hazy white rectangle, which gave the pointables a trail.

Fig. 3 (a and b): Results of the thumb and finger tips

Anshul Sharma et al. / Procedia Computer Science 132 (2018) 551–556

556 6

Anshul et al. / Procedia Computer Science 00 (2018) 000–000/ Procedia Computer Science 00 (2018) 000–000

4.

Conclusion

It is an inconceivably one of a kind item with a huge amount of potential. At this moment, the gadget feels somewhat like a model. While the equipment is uncommonly refined, the product is unpleasant in spots, and the following isn't great. There's likewise a precarious expectation to absorb information. A great deal of the usefulness is just evident in the wake of playing around with the gadget for a couple of hours, and learner clients may get disheartened at first. While the usefulness is at present constrained, a significant number of the gadget's issues can be settled with programming refreshes. For easygoing clients, be that as it may, there isn't a ton to see here. The Leap Motion can't supplant your mouse at this moment. It's a cool idea, yet this is innovation that will take a very long time to create. Meanwhile, I'm amazingly amped up for the eventual fate of movement control and I believe that gadgets like the Leap Motion have a promising future in front of them. References 1.

Bachmann, D., Weichert, F., &Rinkenauer, G. (2014). Evaluation of the leap motion controller as a new contact-free pointing device. Sensors, 15(1), 214-233. 2. Bracegirdle, A. (2014). Investigating the usability of the leap motion controller: Gesture-based interaction with a 3d virtual environment. 3. Cooper, H., Holt, B., & Bowden, R. (2011). Sign language recognition. In Visual Analysis of Humans (pp. 539-562). Springer, London. 4. Shao, L. (2016). Hand movement and gesture recognition using Leap Motion Controller. 5. Marin, G., Dominio, F., &Zanuttigh, P. (2016). Hand gesture recognition with jointly calibrated leap motion and depth sensor. Multimedia Tools and Applications, 75(22), 14991-15015. 6. Weichert, F., Bachmann, D., Rudak, B., &Fisseler, D. (2013). Analysis of the accuracy and robustness of the leap motion controller. Sensors, 13(5), 6380-6393. 7. Coelho, J. C., & Verbeek, F. J. (2014). Pointing task evaluation of leap motion controller in 3D virtual environment. Creating the Difference, 78, 78-85. 8. Hand, C. (1997, December). A survey of 3D interaction techniques. In Computer graphics forum (Vol. 16, No. 5, pp. 269-281). Blackwell Publishers. 9. Hinckley, K., Tullio, J., Pausch, R., Proffitt, D., & Kassell, N. (1997, October). Usability analysis of 3D rotation techniques. In Proceedings of the 10th annual ACM symposium on User interface software and technology (pp. 1-10). ACM. 10. Jacob, R. J., Sibert, L. E., McFarlane, D. C., & Mullen Jr, M. P. (1994). Integrality and separability of input devices. ACM Transactions on Computer-Human Interaction (TOCHI), 1(1), 3-26.