Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First...

31
Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information Engineering, 2014 Kittasil Silanon and Nikom Suvonvorn Department of Computer Engineering, Faculty of Engineering, Prince of Songkala University Speaker: Yi-Ting Ch

Transcript of Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First...

Page 1: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

Fingertip Tracking Based Active Contour for General HCI Application

Proceedings of the First International Conference on Advanced Data and Information Engineering, 2014

Kittasil Silanon and Nikom Suvonvorn Department of Computer Engineering, Faculty of Engineering,

Prince of Songkala University

Speaker: Yi-Ting Chen

Page 2: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

2

Outline

• Introduction• Flowchart• Proposed Method

– Initial Hand Segmentation – Finger Detection and Tracking

• Experimental Result• Conclusions

Page 3: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

3

Introduction

• Hand gesture recognition provides more natural human-computer interaction.

• Many real-time system are proposed:– Using trajectories of hand motion [3,4,5]– Contours-based method for 2D fingertips tracking

[7,8,9]– Using stereo vision to analyze the 3D fingertip

positions [13,14,15,16]

Page 4: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

4

Reference

• [3] Feng-Sheng Chen, Chih-Ming Fu, Chung-Lin Huang: Hand gesture recognition using a realtime tracking method and hidden Markov models. Image and Vision Computing (2003)

• [4] Elmezain M., Al-Hamadi: Gesture Recognition for Alphabets from Hand Motion Trajectory Using Hidden Markov Model. In: IEEE International Symposium on Signal Processing and information Technology, pp.1192-1197 (2007)

• [5] Kittasil Silanon, Nikom Suvonvorn: Hand Motion Analysis for Thai Alphabet Recognition using HMM. In: International Journal of Information and Electronics Engineering (2011)

• [7] Antonis A. Argyros, Manolis I. A. Lourakis: Vision-based interpretation of hand gestures for remote control of a computer mouse. In: Computer Vision in Human-Computer Interaction, pp. 40-51 (2006)

• [8] Ko-Jen Hsiao, Tse-Wei Chen, Shao-Yi Chien: Fast fingertip positioning by combining particle filtering with particle random diffusion. In: IEEE International Conference on Multimedia and Expo, pp. 977-980 (2008)

• [9] J. Ravikiran, Mahesh Kavi, Mahishi Suhas, R. Dheeraj, S. Sudheender, Pujari Nitin V.: Finger Detection for Sign Language Recognition In: International MultiConference of Engineers & Computer Scientists, pp. 489 (2009)

Page 5: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

5

Reference

• [13] Dung Duc Nguyen, Thien Cong Pham, Jae Wook Jeon: Fingertip detection with morphology and geometric calculation. In: IEEE/RSJ International Conference on Intelligent Robots and Systems, pp. 1460-1465 (2009)

• [14] M. Do, T. Asfour, R. Dillman: Partical filter-based fingertips tracking with circular hough transform feature. In: Proceedings of the 12th IAPR Conference on Machine Vision Application (2011)

• [15] Raheja, J.L., Chaudhary, A., Singal, K.: Tracking of Fingertips and Centers of Palm Using KINECT Computational Intelligence. Third International Conference on Modeling and Simulation (CIMSiM), pp. 248-252 (2011)

• [16] Hui Liang, Junsong Yuan, Daniel Thalmann: 3D fingertip and palm tracking in depth image sequences. In: Proceedings of the 20th ACM international conference on Multimedia (MM '12). ACM, New York, NY, USA, pp.785-788 (2012)

Page 6: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

6

Introduction

• In previous work [5], we proposed hand detector by using object detection method.

• But failed when other parts of body move close to hand’s region.

[5] Kittasil Silanon, Nikom Suvonvorn: Hand Motion Analysis for Thai Alphabet Recognition using HMM. In: International Journal of Information and Electronics Engineering (2011)

Page 7: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

7

Main Contributions

• The most problems: – Failure when the fingertips are bending into the palm.– Failure when the fingertips are overlapped each other.

• Therefore, this paper presented system to deal with such situations by using the depth image from Kinect.

• In addition, we develop an HCI application based on the fingertips tracking result.

Page 8: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

8

The Application

Page 9: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

10

FlowchartInitial Hand Segmentation

Finger Detection and Tracking

Page 10: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

11

Hand Segmentation

• We proposed hand detector by using object detection method [5].– Used to search hand’s region in image.

• But failed when other parts of body move close to hand’s region.

Page 11: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

12

Using the Depth Image

• Therefore, depth image is used in the system.

Page 12: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

13

Feature Extraction

• After extraction hand’s region, the initial hand’s features will be estimated.

Hand Center Fingertips Position Palm Size

Page 13: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

14

Hand Center Point

• We obtained the center point of hand’s region.– Computed from the moments of pixels.

Hand Center

Page 14: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

15

Palm Size

• The palm size is defined as the distance between the center point and the closest pixel on hand contour.

Palm Size

Page 15: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

16

Fingertips Position

• Using the polygon approximation method [18] to extract key point P1,…,Pn.

18. Michael Kass, Andrew Witkin, Demetri Terzopoulos: Snakes: Active contour models. In: International journal of computer vision, vol. 1, no. 4, pp. 321-331 (1988)

Page 16: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

17

Fingertips Position

• Each key point Pi has two parameters. – Angle (θ)

• By two vectors [P(i-k)P(i)] and [P(i)P(i+k)]– Slope.

Page 17: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

18

Fingertips Position

• Satisfied:– 1. Curvature value is in the threshold – 2. Slope is positive

• So the key point is an initial fingertip

Page 18: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

19

FlowchartInitial Hand Segmentation

Finger Detection and Tracking

Page 19: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

20

Finger Location

• Most movements in hand gesture are finger movements.• For a stretching finger, we defined two conditions.

– Distance Condition :– Depth Condition :

Page 20: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

21

Candidate Fingertips

• We define searching area to locate the candidate fingertip positions (Cfi).

• Fingertip positions should be points on hand contour.– Polygon approximation algorithm is used again.

• Using depth to find point which has minimum depth to be candidate fingertips.

Page 21: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

22

Fingertip Tracking

• The possible candidate fingertips of each fingertip will be assigned energy.

• The maximum energy point is chosen to be the fingertip in the next frame.

Page 22: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

23

𝐸𝑖𝑛𝑡𝑒𝑟𝑛𝑎𝑙

• The fingertip should not change much from the current point to the next one.

• This term tries to keep point which has appropriate distance between the average distance ( ) and candidate fingertip point.

Page 23: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

24

𝐸𝑖𝑛𝑡𝑒𝑟𝑛𝑎𝑙

• find smoothness of the candidate fingertips

• A = (, )• B =(, ), k is constraint.

(, )

(, ) (, )

Page 24: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

25

𝐸𝑖𝑛𝑡𝑒𝑟𝑛𝑎𝑙

• The fingertips should be found at the closest point to the camera.

• The closest point will be given more priority than the rest points in order of depth.

Page 25: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

26

𝐸𝑒𝑥𝑡𝑒𝑟𝑛𝑎𝑙

• represents the distances from all fingertips to considering candidate fingertip.

Page 26: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

27

Experimental Results

• We evaluate the fingertip tracking precision between the tracked fingertips and the ground truth.

• We have defined the ground truth using the end point contour of each finger.

• Testing 5 sequences, each sequence is tested at 10 rounds.

Page 27: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

28

Fingertip Tracking Precision

Page 28: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

29

Fingertip Tracking Precision

Page 29: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

30

Human-Computer Interaction Application

Page 30: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

31

Conclusion

• In this paper, we present the method.– Dealing with some issues by using depth data.– Apply concept of active contour to track fingertips over

finger movement.

• It shows good performance in term of real-time and also has capability to expansion to HCI application.

Page 31: Fingertip Tracking Based Active Contour for General HCI Application Proceedings of the First International Conference on Advanced Data and Information.

32

Thanks for your listening!