Skip to content

HarshRaj2717/OpenCV-Presentations

Repository files navigation

OpenCV-Presentations

Use visual gestures to give presentations with OpenCV.

Usage

  • Firstly install all the required packages
pip install -r requirements.txt
  • Now, to run the application, simply run the main.py
python3 main.py
  • Before passing in the slide directory - make sure that it contains all the slides are named 1,2,3... in order of their appearance in the presentation and are of one of the supported file types. You can look in sample_slides folder to get an example of the naming convention used.

  • Now you can use any of the supported file types and gestures to give your presentation.

Gestures

  • Move to next slide:

    (Above the threshold line) Point to right by putting up only your little finger or thumb based on the hand you are using.

  • Move to previous slide:

    (Above the threshold line) Point to left by putting up only your little finger or thumb based on the hand you are using.

  • Show a pointer:

    (Configured for left hand only) Point out your index finger only and a pointer will be shown on the slide image based upon your finger's location.

  • Make annotations/drawings:

    (Configured for left hand only) Point out your index and middle finger together and an annotation will be started and made wherever you move your fingers. The annotations will be removed when you change slides.

  • Erase annotations:

    (Above the threshold line) Point out your index, middle and ring fingers together to erase all the annotations.

Supported File Types

Currently the following file types are supported:

  • jpeg
  • png
  • svg (not tested)
  • webp (not tested)

About

Use visual gestures to give presentations with OpenCV.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages