Skip to content

A desktop application that allows users to execute computer commands with the use of air gestures through movement recognition models. Hack the North 2020++ ๐Ÿ†!

Notifications You must be signed in to change notification settings

angela-wang1/Ctrl-Air-Space

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

77 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Ctrl+Air+Swipe

Note

Note that Filip Jerga is listed as an author due to our usage of his boilerplate code (https://github.com/Jerga99/electron-react-boilerplate).

Overview

A desktop application that allows users to execute computer commands with the use of air gestures through movement recognition models. Hack the North 2020++ ๐Ÿ†! Current iteration is not perfect, so use at your own risk ๐Ÿ˜Ž.

Instructions for running

  1. Set up Python (see below)
  2. (Optional) If want to have voice recognition feature, follow instructions below.
  3. Install ui dependencies: npm install
  4. In one terminal: npm run watch to compile react code
  5. In another terminal: npm start to start Electron app

Stuff to edit before running

  • src\assets: Change the file paths for thepath1, ..., thepath6 (gesture demonstrations)
  • src\components\GestureMatch.js: Change the file path for the logo

Setting up Python

Libraries (which you may not have yet) to install:

  • mediapipe
  • opencv-python
  • scikit-learn
  • keyboard
  • pyautogui
  • azure-cognitiveservices-speech

To run just the python portion of the computer control, go to the Server folder and run the following: python hello.p

To run a demo of the gesture recognition without computer control, go to the Server folder and run the following: python gesture_detector.py

Setting up Azure Speech Service voice recognition

  1. Create Azure Speech Service resource (Speech Service setup example).
  2. In the Server folder, create a copy of settings_template.json. Rename it to settings.json.
  3. Add key into the json file.

Improvements to be made

  • Improve robustness and reliability of gesture detection
  • Connect config settings from UI to Python
  • Add an exit program feature
  • Add post-hackathon comments/documentation

About

A desktop application that allows users to execute computer commands with the use of air gestures through movement recognition models. Hack the North 2020++ ๐Ÿ†!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 60.3%
  • JavaScript 37.4%
  • SCSS 1.5%
  • HTML 0.8%