🌏
International Research Press
Serving Researchers Since 2012

Computer Vision Based Multimodal Human Computer Interaction System using Hand Gestures, Sign Language and Voice Commands

DOI : 10.5281/zenodo.24781718
Download Full-Text PDF Cite this Publication

Text Only Version

Computer Vision Based Multimodal Human Computer Interaction System using Hand Gestures, Sign Language and Voice Commands

Anshika Maurya, Apeksha Medewar, Mayank Deshpande, and Ayush Meshram

Department of Mechanical Engineering, Vishwakarma Institute of Technology Pune, Maharashtra, India

Abstract-In recent years, computer vision and speech recognition have made tremendous advances in Human-Computer Interaction (HCI). Physical keyboards and mice are generally used, but sometimes are not appropriate for people with motor impairments or for those who cannot make contact with the device. In this paper, a virtual mouse system which is controlled by gestures and voice with just a consumer grade webcam and microphone is presented. MediaPipe Hand Landmarker is employed for real-time hand tracking; OpenCV is used for image processing; SpeechRecognition is used for parsing voice commands; and PyAutoGUI is used to perform system actions. Accidental triggers are prevented and therefore reliable control is achieved by implementing a state machine with four modes of operation: Locked, Mode Selection, Gesture, Voice. Gestures are associated with fundamental actions such as cursor movement, mouse clicks, scrolling, zooming, taking screenshots and controlling slideshows. The voice commands launch applications, perform basic document editing tasks, control the system and adjust volume. Cursor smoothing algorithms and cooldown timers help maintain responsiveness. The proposed setup has been tested empirically and it has been found to offer a stable, low-cost and hands-free computing experience.

Index Terms-Human Computer Interaction, Gesture Recognition, Voice Recognition, MediaPipe, Computer Vision, Accessibility, Virtual Mouse

  1. Introduction

    Physical keyboard and mouse are still the most common peripheral devices used to interact with desktop systems. These devices, however, do not offer accessibility for people with motor impairment and are not ideal for contactless settings such as smart classrooms, medical facilities, presentation halls, and public kiosks. Thus, there is a demand for natural communication modalities based touchless Human-Computer Interaction (HCI) interfaces.

    Recent advances in computer technology such as computer vision and speech recognition provide a viable route toward hands-free computing. The speech recognition system works concurrently with the vision-based tracking system which maps the hand configuration to the action of the cursor. These modalities also provide a more flexible interface than any single input solution.

    This paper describes a multimodal virtual mouse system that combines hand gestures and voice commands using a standard webcam and microphone. The system operates on standard consumer hardware without using specialized sensors. A state-based control loop is used to avoid unwanted commands and keep the system secure. The main goal is to provide an alternative to conventional input methods that is practical, low latency, low-cost, and allows computing to be accessible and hygienic.

    The need for simple, lightweight, efficient, and locally deployable multimodal architectures on consumer computers still exists. Table I compares the proposed work with existing literature.

  2. Related Work

    The use of computer vision and computer sound processing for research in Human-Computer Interaction (HCI) has greatly increased. The literature can be categorized into three types: gesture-based control, speech command processing, and multimodal fusion.

    Gesture recognition has been extensively researched for enhancing the accessibility of machines. In a study by Meena et al. [1], they emphasized the importance of artificial intelligence and sign language recognition in enhancing the communication channels in daily life. Kumari et al. [2] created a gesture recognizer for controlling shortcuts on a desktop and Lv et al. [3] discussed deep learning models for real-time interaction. To reduce the hardware expenses, Santhan et al. [4] suggested an inexpensive design for an air mouse that is combined with a sign recognition system.

    Voice control is an alternative to desktop controls. Rameshkanna et al. [5] introduced a hybrid system using hand gestures and voice commands to control a desktop, demonstrating that speech can be used for enhancing basic cursor functions. Shruthi et al. [6] created an AI-driven touchless system for controlling common office applications and Priyanka et al. [7] combined gesture models with voice assistants to form interactive smart home systems.

    To make use of both input modes strengths, multimodal fusion has been investigated. Sharma et al. [8] talked about the advantages of combining audio and video streams, showing that combining two streams of verification leads to

    a reduction in false command triggers. In [9] Bayoudh et al. conducted a survey on deep multimodal learning approaches for vision tasks, highlighting the characteristics of cross-modal interaction. Silakari and Tukra [10] studied

    deep learning architectures for real-time HCI using multimodal inputs, and Quan et al. [11] used adaptive signal processing for hands-free text input. These systems work but are often based on heavy deep learning models which are power hungry and need high-end GPUs.

    TABLE I

    Comparison of Multimodal HCI Architectures

    Ref.

    Modalities

    Sensors

    Algorithm

    Target Application

    Meena et al. [1]

    Gestures, Sign

    Camera

    Deep Learning

    Accessibility / Sign

    Santhan et al. [4]

    Gestures, Sign

    IMU, Camera

    Air Mouse

    Accessibility

    Shruthi et al. [6]

    Gestures, Voice

    Camera, Mic

    AI-Gesture

    Mouse

    Priyanka et al. [7]

    Gestures, Voice

    Camera, Mic

    Multimodal

    Touchless Desktop

    Quan et al. [11]

    Gestures, Eye

    Dual Camera

    Signal Proc.

    Smart Control

    Lv et al. [3]

    Gestures, Voice

    Multiple Sensors

    Deep Learning

    Hands-Free Typing

    Ours

    Gestures, Voice

    Webcam, Mic

    MediaPipe

    Touchless Mouse

  3. Methodology

    The system is based on a multi-modal approach, integrating both gesture tracking using a webcam with speech recognition. The architecture consists of five phases: Video acquisition, Hand landmark localization, Gesture classification, Voice command parsing, and System automation. Fig. 1 shows the detailed data flow.

    Fig. 1. Multimodal HCI processing pipeline and data flow architecture.

    A standard webcam takes video frames at 30 frames per second (fps). Each frame is converted to RGB space using OpenCV before being passed to the MediaPipe Hand Landmarker. To track up to two hands, 21 landmarks are identified by the detector. These landmarks are used to extract finger positions and to identify a set of gestures.

    To avoid unintended interactions, the system has a State Machine with four operating modes. The system is bootstrapped in Locked Mode, in which all controls are disabled. To unlock it, the user has to maintain a gesture known in advance specifically, the Spider-Man gesture: pinky, index, and thumb extended) for 2 seconds. This unlocks the system and shifts it to the Mode Selection state.

    In this mode, a single finger raised for 1.5 seconds will switch to Gesture Mode, while raising two fingers will switch to Voice Mode. In Gesture Mode, hand gestures are converted to cursor actions, clicks, scrolling, zooming, screen captures, and sign language demonstrations. In Voice Mode, the cursor is still controlled with gestures, while desktop control actions are executed using voice commands. The state transition logic is depicted in Fig. 2.

    Fig. 2. State transition diagram of the systems four operating modes.

    The 2D coordinate of the index fingertip is used to control the on-screen cursor. The spatial location of the hand is transformed to screen space using a linear scaling factor to enable full-screen navigation without requiring large hand movements. The mapping equations are defined as:

    Hidden equation

    (1)

    Hidden equation

    (2)

    Hidden equation

    This scaling enables the user to navigate the entire display area comfortably. To mitigate cursor jitter caused by natural hand tremors, we implement a moving average

    smoothing filter over a window of the most recent coordinate points:

    Hidden equation

    (3)

    Hidden equation

    where represents the moving average window size.

    There are certain geometric rules for gesture recognition. Pinching the thumb and index fingertip together simulates a left-click. A middle click and a ring click are simulated by raising the middle and ring fingers, respectively. Slide navigation is performed with a closed fist with a sweep of the thumb, while specific gestures for scrolling, zooming, and taking screenshots are also provided. The overall logic of this classification engine is shown in Fig. 3.

    be maintained at 30 frames per second (fps). The parsed speech strings are then correlated with actions and performed using PyAutoGUI. Actions include: launching applications, managing windows, editing documents, adjusting the volume, and automated text entry. The parallel threading model is shown in Fig. 4.

    Fig. 4. Parallel threading model executing gesture tracking and speech recognition concurrently.

    1. AI/ML-Based Gesture Classification and Hand Landmarking

      This system is based on machine learning algorithms that estimate the keypoints in real-time and classify gesture states.

      1. MediaPipe Hand Landmarker Model: MediaPipe Hand Landmarker framework is based on a two-stage machine learning pipeline:

        • BlazePalm Detector: A convolutional neural network for real-time, mobile hand detection. It identifies the hand by finding the hand bounding boxes from the raw image frame, thereby narrowing down the search space of the landmark tracker.

        • Landmark Model: A regression network for predicting 2D coordinates of 21 landmark points (wrist, joint knuckles and fingertips) within the detected bounding box.

          Hidden equation

      2. Feature Representation and Normalization: To make classifications scale and position independent to the hand, raw joint coordinates are normalized. For

        landmark

        Hidden equation , let

        Hidden equation

        be the position vector of landmark

        Hidden equation

        in 3D. The wrist-relative coordinates

        are calculated as:

        Fig. 3. Logic flowchart of the gesture classification and action mapping

        engine.

        Hidden equation

        (4)

        The implementation of voice recognition is done by the SpeechRecognition library which connects to the Google Speech-to-Text API. The speech listening process is handled on a separate background thread so as not to slow down the main control loop. This enables real-time cursor tracking to

        The finger extension states are defined based on the calculation of the Euclidean distance between the tip of the finger and the base of the finger relative to the corresponding knuckle:

        Hidden equation

        (5)

        Hidden equation

        where denotes the thumb, index, middle, ring, and pinky fingers, respectively.

        Hidden equation

      3. Neural Classification Model: The normalized distance

        Hidden equation

        vector is used as the input to the Multilayer Perceptron (MLP) classifier. The MLP is composed of an input layer, a hidden layer with 32 Rectified Linear Unit (ReLU) activations, and an output layer with Softmax activation, generating probabilities

        over the gesture classes:

        Hidden equation

        (6)

        Hidden equation

        Here, represents the raw logit score for

        • The state machine transitions from Locked Mode to Mode Selection. The presenter then holds up two fingers for 1.5 seconds, transitioning the system to Voice Mode.

        • In Voice Mode, the background SpeechRecognition thread detects the command Open Slideshow. The audio waveform is parsed using the Google Speech-to-Text API, and the command string is matched to a local key dictionary.

        • The automation layer executes the keyboard shortcut F5 via PyAutoGUI, launching the presentation.

          2) Scenario B: Gesture-Driven Navigation and Annotation: During the presentation, the presenter closes their fist and extends their thumb to the right to move to the next slide. MediaPipe recognizes this as the

          class Hidden equation . The classifier is trained by

          Next Slide gesture. To avoid multiple rapid triggers, a

          Hidden equation

          minimizing the cross-entropy loss function:

          (7)

          1.0 second cooldown timer is activated. The system simulates a Right Arrow key press. The presenter can also extend their index finger to control the cursor, utilizing the coordinate scaling and moving average

          Hidden equation

          where represents the ground truth label.

    2. Command and API Programming Mappings

      Using PyAutoGUI and subprocess libraries, the virtual mouse system translates mapped gestures and voice commands to desktop operations. These major interfaces, conditions, and system commands are shown in Table II.

      TABLE II

      Programming Mappings for Gestures and Voice Commands

      Input Type

      Trigger / Command

      Python Code / API Call

      Gesture

      Index movement

      pyautogui.moveTo(x, y)

      Gesture

      Thumb-Index pinch

      pyautogui.click(button=left)

      Gesture

      Middle-Ring raise

      pyautogui.click(button=right)

      Gesture

      Vertical wave

      pyautogui.scroll(clicks)

      Gesture

      Pinch (Left Hand)

      pyautogui.hotkey(ctrl, win, d)

      Voice

      open browser

      subprocess.Popen(google-chrome)

      Voice

      close window

      pyautogui.hotkey(alt, f4)

      Voice

      mute audio

      pyautogui.press(volumemute)

      Voice

      copy text

      pyautogui.hotkey(ctrl, c)

      Voice

      paste text

      pyautogui.hotkey(ctrl, v)

    3. Case Study: Multimodal Gesture-Voice Presentation Control

      In order to show the applicability of AI and speech processing to human-computer interaction in practice, we present a case study on hands-free presentation control where a preseter controls a touchless slideshow:

      1. Scenario A: Initialization and Authentication: The presenter starts the session in Locked Mode. For 2.0 seconds, they hold the Spider-Man gesture: the MediaPipe framework estimates the landmarks, verifying that the thumb, index, and pinky finger tips are extended while the middle and ring fingers are closed.

    filter. Lastly, if the presenter pinches their thumb and index finger, PyAutoGUI keeps the mouse button depressed to allow annotation on the slide, releasing the click when the hand is opened.

  4. Results and Discussions

    The evaluation was conducted in a typical office setting with a standard webcam and microphone. Functional accuracy, responsiveness, and control stability were evaluated. Hand coordinates were tracked using the MediaPipe Hand Landmarker in real-time, supporting two-hand tracking.

    1. Gesture Classification Accuracy under Varied Lighting

      Fig. 5 illustrates the recognition accuracy of the three primary control gestures under different lighting conditions.

      Fig. 5. Gesture recognition accuracy comparison across different lighting intensities.

      The gesture recognition rate is lower under low lighting conditions (100 lx) due to camera sensor noise, which makes knuckle edges harder to identify. However, in well-lit environments (500 lx to 1000 lx), the accuracy reaches above 95%, demonstrating high reliability for standard indoor environments.

    2. Latency Analysis vs. Filtering Window Size

      Hidden equation

      Hidden equation

      As the window size increases, the smoothing effect is enhanced, reducing cursor jitter, but the tracking latency increases due to coordinates being averaged over a longer temporal span. The latency increases linearly

      with as illustrated in Fig. 6.

      Fig. 6. Cursor tracking latency (ms) as a function of the moving average window size M.

      Hidden equation

      At = 5, the tracking latency is approximately 45 ms, which provides an optimal balance between jitter reduction and real-time responsiveness. The positioning is stable, and the coordinate scaling enables full-screen interaction with minimal wrist movement.

      All basic gestures were verified to operate as designed. Cooldown timers successfully prevented double triggering. Because of the parallel execution model, background speech processing does not stutter or lag the main tracking thread.

    3. Voice Command Recognition vs. Ambient Noise

      The speech recognition module was evaluated under various noise environments from 30 dB (quiet office) to 80 dB (loud cafeteria). Fig. 7 plots the command recognition accuracy.

      Fig. 7. Voice command recognition accuracy under varying ambient noise levels.

      The system maintains accuracy above 90% for noise levels up to 50 dB. However, in noisier environments (above 60 dB), the accuracy drops due to background speech interference, suggesting that a directional noise-canceling microphone or local filters would be beneficial in public spaces.

  5. Conclusion

    This paper presented a multimodal virtual mouse system combining computer vision hand tracking and speech processing. The framework integrates real-time landmark estimation, voice parsing, and system automation to offer a touchless alternative to traditional inputs. MediaPipe tracks

    gestures, OpenCV manipulates frames, SpeechRecognition processes voice commands, and PyAutoGUI executes actions. The state machine prevents accidental activation while coordinate smoothing and cooldown timers maintain responsive control. The results support the feasibility of touchless multimodal computing for classrooms, sterile environments, and accessibility software.

  6. Future Scope

Several avenues exist for future enhancement:

    1. Offline Speech Processing: Transitioning to local, on-device speech models (such as Whisper-Tiny) to remove cloud dependencies and minimize latency.

    2. Adaptive Calibration: Implementing reinforcement learning to adapt classification thresholds dynamically based on user hand dimensions and lighting conditions.

    3. Advanced Multimodal Fusion: Developing attention-based deep models to capture temporal correlation between gestures and speech.

    4. Edge Porting: Optimizing the pipeline for low-power accelerators (e.g., Coral Edge TPUs).

    5. Sign Recognition Scaling: Expanding the gesture library to translate continuous sign language sentences.

Acknowledgment

The authors would like to express their gratitude to their project guide and faculty for their continuous guidance, suggestions, and encouragement. We also thank the developers of OpenCV, MediaPipe, PyAutoGUI, NumPy, and SpeechRecognition, which enabled this research.

References

  1. A. K. Meena, V. Sagar, R. Srivastava, M. Sharma, D. Agarwal, and Y. Thareja, Revolutionizing accessibility: Enhancing humancomputer interaction with hand gestures, sign language, and AI integration, in Innovative Computing and Communications (ICICC), Lecture Notes in Networks and Systems, vol. 1434. Singapore: Springer, 2025.

  2. S. Kumari, A. Kushwaha, S. Singh, and R. Saikomal, Hand gesture recognizer, International Journal of Science and Applied Technology, vol. 16, no. 4, 2025.

  3. Z. Lv, F. Poiesi, Q. Dong, J. Lloret, and H. Song, Deep learning for intelligent humancomputer interaction, Applied Sciences, vol. 12, no. 22, p. 11457, 2022.

  4. H. Santhan, S. T, and H. K. Joy, Enhancing human-computer interaction with a low-cost air mouse and sign language recognition system, in Proc. IEEE ICCPCT, 2024, pp. 9398.

  5. N. Rameshkanna, M. Thirumoorthi, and R. Jayamala, Hand gesture recognition system with voice commands for desktop control, in Innovations and Advances in Cognitive Systems, ser. Information Systems Engineering and Management, vol. 16. Cham: Springer, 2024.

  6. K. N. Shruthi, G. S. Kiran, K. V. Kumar, M. A. Kumar, P. S. Meghana, and A. Anitha, Touchless human-computer interaction: An AI-driven gesture and voice control system, in Proc. IEEE CONIT, 2025, pp. 15.

  7. K. A. Priyanka, S. Aishwarya, J. Jayanth, and M. Suriya, Integrating hand gesture recognition with voice assistants: Enhancing human-computer interaction through multimodal intelligence, in Green Artificial Intelligence and Industrial Applications (G-AIIA), ser. Artificial Intelligence-Enhanced Software and Systems Engineering, vol. 8. Cham: Springer, 2026.

  8. A. Sharma, I. Batra, S. Sharma, and A. P. Junfithrana, Multimodal fusion for enhanced humancomputer interaction, Engineering Proceedings, vol. 107, no. 1, p. 81, 2025.

  9. K. Bayoudh, R. Knani, F. Hamdaoui et al., A survey on deep multimodal learning for computer vision: Advances, trends, applications, and datasets, The Visual Computer, vol. 38, pp. 29392970, 2022.

  10. G. S. Tukra, Deep learning models for real-time humancomputer interaction using multimodal data, International Journal of Research and Review in Applied Science, Humanities, and Technology, vol. 3, no. 2, pp. 94109, 2026.

  11. B. H. Quan, N. D. T. Anh, H. V. Phi, and B. T. Thanh, Redesigning multimodal interaction: Adaptive signal processing and cross-modal interaction for hands-free computer interaction, Sensors, vol. 25, no. 17, p. 5411, 2025.