Git Product home page Git Product logo

touch-projectors's Introduction

Touch-Projectors

This is demo code written in Python that can make any surface into an interactive touch pad.

This software will allow you to select four points on any surface and those points can act as a touch surface for your laptop. The interactive projector converts the traditional projectors into a interactive touchscreen for the the end user. It presents an innovative approach. The projector projects the computer’s desktop on a surface and the user can interact with the surface by using machine learning and image processing algorithms. This thus eliminates the need of the end user to interact with the computer while working with presentations.

Hardware dependencies :

  • Webcam (internal laptop webcam or usb webcam)
  • LED pen with a button switch.

Software Dependencies:

  • Python
  • pyautogui
  • pynput
  • OpenCV

How to run the code :

  1. Install the dependencies (Ubuntu or MacOS is preffered)
  sudo apt-get install python-dev python-pip python-wheel
  pip install numpy
  pip install pyautogui
  sudo -H python -m pip install --upgrade pip setuptools wheel 
  sudo -H pip install xlib
  sudo -H pip install xlib>=0.17
  sudo -H pip install pynput
  pip install opencv-contrib-python
  1. System Arrangement

Keep the camera faced to the projector and keep it fixed.

alt text

  1. Run the code :
python source.py

Then select four points in the following order for the region of interest : top-left, top-right, bottom-left, bottom-right

  1. Result:

alt text

LED pen schematic:

alt text

touch-projectors's People

Contributors

huzz 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.