Skip to content

This project need using camera to togger remote comtrol. And use Mediapipe module.

License

Notifications You must be signed in to change notification settings

jason-li-831202/SmartVideoPlayer

Repository files navigation

SmartVideoPlayer

SmartVideoPlayer

You can use easy way gesture action to remote control video player. In other ways, the video will be automatically paused when you leave, and will continue to play when you come back.

Example scripts for the detection using the Mediapipe, and part of the picture display in the UI is taken from Font Awesome.

➤ Contents

  1. Requirements

  2. Action-Recognition

  3. Windows

  4. Demo

➤ Requirements

  • OpenCV, PYQT5, python-vlc and youtube-dl.

  • VideoLAN :

    Please download VideoLAN project Library VLC media player.

  • Note :

    The requirements.txt file should list all Python libraries that your notebooks depend on, and they will be installed using:

    pip install -r requirements.txt
    

➤ Action-Recognition

  • Need camera to use smart control function.

  • Gesture Action :

    Reference Icon Action Describe
    Play Wait for 1s to play 1x speed video .
    Pause Wait for 1s to pause video .
    Play SpeedUp 🖐 gesture turn right 20° ~ 40° to play 2x speed up and > 40° play 4x speed up .
    Play SpeedDown 🖐 gesture turn left 20° ~ 40° to play 2x speed down and > 40° play 4x speed down .
    +/- Volume use thumb/index finger to control volume .
    None Import File if you don't pre-set SmartVideoPlayer.exe for default startup method, please import file from here .
    None Undo Undo init actions .
    None SmartControl can use reference items to remote control actions .
  • Face Action :

    Reference Icon Action Describe
    Play Wait for 2s to play 1x speed video .
    Pause Video will automatically pauses immediately .

➤ Windows

  • Open cmd and go to the SmartVideoPlayer directory :

      pyrcc5 -o resources.py resources.qrc
    
      python SmartVideoPlayer.py
      python SmartVideoPlayer.py [VIDEO_PATH]
    
  • To open a video in this application :

    1. From the desktop, right-click the desired file .

    2. From the drop-down menu, click Open with, then select the SmartVideoPlayer application.

    3. The file will open in the selected application.

➤ Demo

About

This project need using camera to togger remote comtrol. And use Mediapipe module.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages