Skip to content

This project utilizes computer vision techniques to control PowerPoint presentations by detecting your hand in the camera feed.

License

Notifications You must be signed in to change notification settings

Jeet18t/Image-Detection-Powerpoint-Controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Image Detection PowerPoint Controller

This project utilizes computer vision techniques to control PowerPoint presentations by detecting your hand in the camera feed. It moves to the next slide when a hand is moved across from left to right and changes to the previous slide when the hand is moved from right to left.

This project was tested with the use of pink and orange pens so you might see some testing code for that in the project. you can also test the project using them.

Requirements

  • Python 3.x
  • OpenCV (pip install opencv-python)
  • NumPy (pip install numpy)
  • PyAutoGUI (pip install pyautogui)

Usage

  1. Clone the repository:
git clone https://github.com/Jeet18t/Image-Detection-Powerpoint-Controller.git
  1. Navigate to the project directory:
cd image-detection-powerpoint-controller
  1. Run the script:
python main.py
  1. If you want to test it:

    Use your hand to make a left-->right gesture to move to next slide, and move your hand in a right-->left gesture to move to previous slide.

    or

    You can also use different color pens eg: orange and pink pens to move to next and previous slide respectively

Configuration

By default, the script assumes the PowerPoint application is in the foreground. Ensure PowerPoint is open and active while running the script. You can adjust the stationary threshold and displacement threshold in the script to fine-tune the sensitivity of the detection. If your camera feed is inverted, set invert_camera to True to flip the camera feed horizontally.

License

This project is licensed under the MIT License.

About

This project utilizes computer vision techniques to control PowerPoint presentations by detecting your hand in the camera feed.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages