Mini Project Report-Final
Mini Project Report-Final
VIRTUAL MOUSE
submitted in partial fulfillment of the requirements for the award of
degree of
BACHELOR OF TECHNOLOGY
in
2021 - 2022
B. V. Raju Institute of Technology
(UGC Autonomous, Accredited by NBA & NAAC)
Vishnupur, Narspur, Medak (Dist.) Telangana State, India –
502313
CERTIFICATE
This is to certify that the Mini Project entitle “VIRTUAL MOUSE”, being
submitted by
This is to certify that the above statement made by the students is/are
correct to the best of my knowledge.
External Examiner
CONTENTS
Candidate’s Declaration i
Acknowledgement ii
Abstract iii
Contents
List of Figures
UseCase Diagram 11
Class Diagram 12
Sequence Diagram 12
Architecture 18
Output Screen 19
Final Output 22
1. INTRODUCTION
9
1.1 Motivation
1.2 Problem Definition 9
1.3 Objective of Project 9
2. LITERATURE SURVEY
2.1 Introduction 12
CANDIDATE’S DECLARATION
We hereby certify that the work which is being presented in the project
entitled “VIRTUAL MOUSE” in partial fulfillment of the requirements for the
award of Degree of Bachelor of Technology and submitted in the Department
of Computer Science and Engineering, B. V. Raju Institute of Technology,
Narsapur is an authentic record of my own work carried out during a period
from May 2021 to July 2021 under the guidance of Mrs. P. Jhansi Devi,
Assistant Professor. The work presented in this project report has not been
submitted by us for the award of any other degree of this or any other
Institute/University.
Vedunuri Sujith(18211A05V5)
U. Bhuvana Teja(18211A05U5)
Thatipelli Ashish(18211A05T6)
ACKNOWLEDGEMENT
The success and final outcome of this project required a lot of guidance
and assistance from many people and we are extremely fortunate to have got
this all along the completion. Whatever we have done is due to such guidance
and assistance. We would not forget to thank them.
We thank Mrs. P. Jhansi Devi for guiding us and providing all the
support in completing this project. We are thankful to Mrs. T. Shilpa, our
section project coordinator for supporting us in doing this project. We are
thankful to Dr. Pradeep Kumar V, project coordinator for helping us in
completing the project in time. We thank the person who has our utmost
gratitude is Dr. Ch. Madhu Babu, Head of CSE Department.
Chu-Feng Lien [3] had used an intuitive method to detect hand motion by its
Motion History Images (MHI). In this approach only fingertip was used to
control both the cursor and mouse click. In his approach the user needs to
hold the mouse cursor on the desired spot for a specific period of time for
clicking operation.
Kamran Niyazi[4] et al used Web camera to detect color tapes for cursor
movement. The clicking actions were performed by calculating the distance
between two colored tapes in the fingers. In their paper K N Shah et al have
represented some of the innovative methods of the finger tracking used to
interact with a computer system using computer vision. They have dividedthe
approaches used in Human Computer Interaction (HCI) in two categories:
1. HCI without using interface and
2. HCI using interface.
2.3 Disadvantages of Existing System
Fingertip detection with multiple people simultaneously poses a great
difficulty that currents systems have not yet overcome. In addition,
choosing a target person when multi-people directly stand to face the
camera is a challenging case because it is difficult to determine
accurately who will be the target. Therefore, long-term fingertip tracking
remains a challenging task.
Image acquisition.
Object recognition
Event generation
Chapter 3
Analysis
3.1 Introduction
The A Computer Mouse is an input device that helps to point and to interact
with whatever that is being pointed. There are so many types of mouse in
the current trend, there’s the mechanical mouse that consists of a single
rubber ball which can rotate in any direction and the movement of the
pointer is determined by the motion of that rubber ball. Later the mechanical
mouse is replaced by the Optical Mouse. Optical Mouse consists of a led
sensor to detect the movement of the pointer. Years Later the laser mouse
was introduced to improve the accuracy and to overcome the drawbacks of
the Optical Mouse. Later as the Technology has been increased drastically
wireless mouse was introduced so as to enable hassle free movement of the
mouse and to improve the accuracy. No Matter how much the accuracy of the
mouse increases but there will always be limitations of the mouse as the
mouse is a hardware input device and there can be some problems like
mouse click not functioning properly and etc., as the mouse is a hardware
device like any other physical object even the mouse will have a durability
time within which is functional and after its durability time, we have to
change the mouse
Flow Chart
CHAPTER 4
DESIGN
4.1 Introduction
This system is design in a way where whole display is resembled in into a
small screen box, this box now represents whole screen. The translations
are resulted based on coordinates.
4.3.6 Clicking
the next step is to implement the close gesture. The operation is performed
by clicking the object and dragging it. It is similar to the open gesture, but
the difference is we only have one object here so we only need to calculate
the center of it. And that will be placed on the location where we will position
our mouse pointer. Instead of mouse release operation we will be performing
a mouse press operation.
4.3.7 Drag
In order to implement the dragging we introduce a variable ‘pinchflag’. It will be
set to 1 if it was clicked earlier. So after clicking whenever we find theopen
gesture we check if the pinchflag is set to 1. If it is set to one then Drag operation
is performed otherwise the mouse move operation is performed.
This project is mainly focused to help patients who don’t have control of their
limbs and also improvise the interaction between the machine and humans.
Our motive was to create this technology in the cheapest possible way and
also to create it under a standardized operating system. The proposed system
controls the functions of mouse pointer by detecting point on finger, and
perform the mouse functions such as left click, dragging, cursor movement,
and the file transfer between two systems in a same network.
This method detects the color point objects for the mouse control. The user
uses the color point objects on their finger-tip for the better performance.
When the number of contours is two, then it performs the simple mouse
movement action. Otherwise, when the number of contours is one then it
performs the left click. This system also supports the simple file transfer
between two or more systems in the same network connection.
Future Work
Hojoon Park, “A Method for Controlling the Mouse Movement using a Real
Time Camera”, Brown University, Providence, RI, USA, Department of computer
science, 2008.