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.
-
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
-
Need camera to use smart control function.
-
Gesture Action :
-
Face Action :
Reference Icon Action Describe Play
Wait for 2s
to play1x
speed video .Pause
Video will automatically pauses immediately .
-
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 :
-
Play/Pause
-
Adjust Voiume
-
Speed Up/Down