Beruflich Dokumente
Kultur Dokumente
Abstract This paper delineates a vision based interface for (version R2013a from Mathworks, USA) to find out centroid
regulating a computer mouse via 2D hand gestures. The of each image. Hand movement also moves the centroid thus
evolution of Human Computer Interaction (HCI) has diverted
the interest of researchers towards natural interaction techniques
making it the principle of sensing for the alteration of cursor on
in recent years. Numerous applications of real time hand gesture computer screen.
based recognition in the real world have been deployed where we
interact with computers. Hand gestures rely upon camera based The hand image is treated here as the mother image. The
color detection technique. This method mainly focuses on the use left and right click functions of a mouse are implemented by
of a Web Camera to develop a virtual HCI device in a cost folding the first and middle fingers of hand respectively and
effective manner. This paper proposes a vision based system to develop a baby image. So, by comparing the length of fingers
control various mouse activities such as left and right clicking
in baby images with those in mother image gives an idea about
using hand gestures to make the interaction more efficient and
reliable. the functionality performed by the hand gesture. When the
length of finger crossovers the threshold length in baby image,
Keywords Human Computer Interaction (HCI), Vision based it executes a clicking operation. Here, the efficiency of tracking
system, Centroid, Hand gesture, Graphical User Interface (GUI)
the hand is improved by using red and blue colored caps on the
I. INTRODUCTION fingers to make centroid looking more prominent.
In this high tech world, its almost impossible to imagine This paper takes off with a brief introduction and few
life without computers. The invention of computers is one of insights into the HCI system. In next section, video
the greatest humankind's inventions. Computers have become acquisition and region extraction are explained in detail with
an essential part of almost every day use for individuals of real time results. Finally, conclusion is highlighted.
every age. In daily life, we interact many times with computers II. HCI SYSTEM
to make our work easier. Thus, Human Computer Interaction
In early stage of HCI development, mechanical devices
(HCI) has become a hot topic for research.
have been used to recover the information of the hand gesture
In our daily life, vision and gestures are important [4] for example: data glove devices [5,6]. However, the
approaches for communication among human beings and the development of digital signal processors has enhanced a lot in
same role is played by mouse in Graphical User Interface this recent decade offering a better performance in the field of
(GUI) based computers. So, a combined methodology can be image processing. This creates a space for more natural vision-
used to make a better interactive system for HCI developing a based technology to work with hand gestures [7]. So, many
technology in the field of digital signal processing, researchers have started their work in the field of visual mouse
thus making it more attractive and efficient [1]. An image but with different approaches. Mr. Erdem et al. developed an
signal has a lot of information which can be utilized to control approach in which he controlled the motion of mouse by
the different functions of computer. Hence, hand gesture can tracking the finger tips and a click occurred when users hand
play a crucial role in this domain. passed over the well defined region on the screen [8]. Apart
In this paper, a vision based approach is presented from this, Chu-Feng Lien controlled the mouse cursor and its
for detecting hand gestures and executing varied functions such click by using finger-tips only [9]. His approach was based on
as left and right clicking which are usually performed by a image density. Paul et al. used another approach to control
computer mouse. Here, a web camera is employed to collect mouse cursor by special hand signs and thumb motion for
the images of hand gestures and then further used for tracking clicking purpose [10]. With a new approach, Marcel and his
purpose. These images are processed in MATLAB software colleagues tracked the skin-color blobs of the user hand to
Track 2 : Communications - 86
range of 0 to 255 where 0 and 255 signifies the pure
black and white color respectively. So, to convert a grayscale
image into binary image, we have to fix a threshold level
which will divide 0 to 255 levels into two levels only. In our
work, we use 18% as a threshold level which means that all
the pixels having the value greater than 18% of the maximum
pixel value are converted into white color that is 1 and rest of
pixels are converted into black that is 0. Thus, we obtained a
Fig. 4. Grayscale Image
monochromatic image consisting of only black and white
colors.
D. Centroid Detection
Now, the image is ready with main object from the last
Fig. 7. Red and Blue filtered Images section but still the mapping of object with cursor is pending.
So, the properties of the object which can establish a
B. Binary Image Generation relationship between object and cursor are required.
In last section, we obtained a gray scale image but in
Therefore, firstly the labeled matrix is found in which
MATLAB, binary images for finding the region of red and
labeling of all objects take place then several properties for
blue color to use different property functions on the objects
these objects are calculated. In this work, calculations are
are required. Therefore, gray to binary image conversion is
done for the centroid of red object and major-axis length for
required here.
the red and blue object region. Mathematically, they can be
A pixel of grayscale image have the value between the calculated by segmenting the colored object from the image
Track 2 : Communications - 87
and it is approximated as an ellipse. Now centroid of the right click is implemented for red color finger. Here, major-
object is given by following the equation [3]: axis length property is used for red and blue color object in
MATLAB to calculate the length of finger.
(1)
REFERENCES
[1] Abhik Banerjee, Abhirup Ghosh, Koustuvmoni Bharadwaj, Hemanta
Fig. 10. Centroid and Boundary box Saikia, Mouse control using a web camera based on color detection,
International Journal of Computer Trends and Technology , Volume 9
In MATLAB, an inbuilt function is applied on red and blue number 1, pp. 15-20, March -2014.
object region individually available in the binary image which [2] Sugreev Kaur, Rajesh Mehra, High speed and area efficient 2D DWT
in turn surrounds the main object by a rectangular bounding processor based image compression, Signal & Image Processing : An
box as the output for the current frame. The center of red color International Journal, Vol.1, No.2, pp. 23-31, December- 2010.
bounding box provides the centroid of the red detected colored [3] Sandeep Konam, Sai Maheswara Reddy, A novel approach towards
object. Thus, the coordinates of centroid x (horizontal) and y optimization of vision based virtual mouse interface, International
Journal of Engineering Research and Technology, Vol. 3 Issue 3,
(vertical) for red object region are mapped with coordinates of
pp. 1126-1131, March -2014.
cursor. MATLAB do not have any inbuilt function to access
[4] P. Kortum, HCI beyond the GUI: Design for Haptic, Speech, Olfactory,
the mouse driver but it can be implemented by integrating the
and other nontraditional interfaces, Morgan Kauf-mann Publishers, pp.
JAVA high level language along with MATLAB. In this way, 75-106, 2008.
the red capped finger is tracked by the system for each frame
[5] J.Weissmann and R. Salomon, Gesture recognition for virtual reality
and movement of cursor is controlled. applications using data gloves and neural networks, International
Conference on Neural Networks, Vol 3. pp. 2043-2046, 1999.
[6] T. G. Zimmerman, J. Lanier, C. Blanchard, S. Bryson, and Y. Harvill,
A hand gesture interface device, CHl+GI, pp. 189-192, 1987.
[7] Yee Yong Pang, Nor Azman Ismail, Phuah Leong Siang Gilbert, A real
time vision-based hand gesture interaction, Fourth Asia International
Conference on Mathematical/Analytical Modelling and Computer
Simulation, pp. 237-242, 2010.
[8] A. Erdem, E. Yardimci, Y. Atalay, V. Cetin, A. E. Computer vision
based mouse, Acoustics, Speech, and Signal Processing, Proceedings.
(ICASS). IEEE International Conference, 2002
Fig. 11. Resultant RGB Image with centroid and boundary box
[9] Chu-Feng Lien, Portable vision-based HCI A real-time hand
E. Mouse Left and Right Click mouse system on handheld devices, National Taiwan University,
Computer Science and Information Engineering Department.
In this work, blue color is employed for left click and red
[10] Hojoon Park, A method for controlling the mouse movement using
color for right click. At initial stage, hand is opened fully so a real time camera, Brown University, Providence, RI, USA,
that fingers can be expanded to its maximum length and this Department of computer science, 2008.
can calculate its length during the acquisition of first frame
[11] Abhishek Acharya, Rajesh Mehra, Vikram Singh Takher, FPGA based
which treated as mother image. Now a threshold length is
non uniform illumination correction in image processing application,
fixed for clicking purpose which is selected to 60% here and IJCTA, Vol-2(2), pp. 349-358, January-2011.
whenever a left click is required, blue color finger is folded
which will be detected in the image and treated as baby image. [12] Bhawna Tiwari, Rajesh MehraDesign & implementation of Reed Solo-
mon Decoder for 802.16 network using FPGA, IEEE International
If the length of finger in baby image reduces as compared to
Conf.on Signal Processing, Computing & Control, pp. 1-5, March-2012.
the threshold length, it will execute a left click. Similarly,
Track 2 : Communications - 88
[13] S. Marcel, O. Bernier, J. E. Viallet, and D. Collobert, Hand gesture
recognition using Input-Output Hidden Markov Models, Proc. of the
FG2000 Conference on Automatic Face and Gesture Recognition,
2000.
[14] Abhinaba Bhattacharjee, Indrani Jana, Ankana Das, Debasish Kundu, Mr. Buddhi Prakash Sharma: Mr. Sharma is
Sudipta Ghosh, Sauvik Das Gupta, A novel probabilistic approach of currently working in Electronics & Communication
colored object detection and design of a Gesture based real-time mouse
tracking along with virtual teaching intended for color-blind people,
Engineering Department of B. K. Birla Institute of
2nd International Conference on Signal Proces- sing and Integrated Engineering & Technology, Pilani, Rajasthan, India since
Networks, pp 512-519, 2015. 2014. He is currently pursuing M.E from National Institute of
Technical Teachers Training and Research, Chandigarh India.
[15] Buddhi Prakash Sharma, Rajesh Rana, Rajesh Mehra Face recognition
He has completed his B. Tech from ICFAI University,
using Gabor Wavelet for image processing applications, Proc. of Int.
Conf. on Emerging Trends in Engineering and Technology, pp 201-206 , Dehradoon, India. Mr. Sharma is having six years of teaching
2013 experience. He has more than eight papers in his credit which
are published in refereed International Journals and
[16] Payal Aggarwal and Rajesh Mehra High speed CT image
Conferences. His research areas are Advanced Digital Signal
reconstruction using FPGA (IJCA), Vol.22 No.4, pp 7-10 , May 2011
Processing, VLSI Design and Image Processing. Mr. Sharma
is member of IEEE.
Track 2 : Communications - 89