Coder Social home page Coder Social logo

sshmhr / control_pc_without_touch Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 8 KB

This project explores a new method for HCI ( Human Computer Interaction ) by controlling a computer without touching it at all,

C++ 68.46% Python 31.54%
python hci arduino

control_pc_without_touch's Introduction

Control_PC_Without_Touch

This was a project I worked on in my third year of engineering ( June 2019 ) I used Arduino along with 2 Ultrasonic sensors. using a combination of these I was able to perform 4 actions without touching the computer ( by using the position of my hand ).The application was based on the relative position of my hand with respect to the 2 sensors located on the left and right side of the computerscreen.

VR Game

Process.

  1. The sensors track the obstacles ( Hand ) in front of it at regular intervals of time. each sensor calculate the distance of my hand if its beyond a certain limit ( 50 - 70CM ) its considered far, if its between 0-25 cm, its considered near.

  2. depending on the distance of each hand a total of 8 actions can be performed ( L(left hand) - near & R- near , L - far & R - far , L - near & R - far, L - far & R - near, only L near, only R near, only L far, only R far ) .

  3. Every combination can correspond to a different action on the computer. ( Each combination simulates a particular set of keys pressed on the keyboard , ex if left hand and right hand both are far, we can map it to ( ctrl + A ). This is done using the pyautogui module.

  4. Using these gestures I programmed VLC media player and Photos app to perform various functions ( next photo, prev photo, zoom in, zoom out, increase/decrease volume, ext track , previous track , adjust brightness, rewind , forward )

  5. The application cound also track if the hand is moving far or near to the computer. this is then used for applications such as increasing/decreasing the volume if the hand comes near / goes away from the screen respectively.

Tech and software packages used :

  1. Aurdrino

  2. Python

  3. 2 - Ultrasonic sensors

  4. Python

  5. pyautogui ( To simulate key presses ) and pyserial module ( to get the data from the sensors ) ( python modules )

control_pc_without_touch's People

Contributors

sshmhr avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.