Skip to content

Using hand gestures control different effect of photography.

Notifications You must be signed in to change notification settings

shoutOutYangJie/HandAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HandAI

Using hand gestures control different effect of photography.

Chinese Document

Introduction

In this repo, HandAI leverages eight gestures to take charge of eight functions, including bluring background, changing background, converting background to gray, face decoration, extending frame, unbolcking bullet screen, video background mode, ending recording. The key of HandAI is hand keypoint detection and portrait segmentation.

Main dependencies

opencv-python >= 4.0
TensorFlow2.0(GPU is unnecessary)
PyTorch-GPU >= 1.1
Numpy
Pillow

Exhibitions

A video demo can be found at here

one two four

The rest results of other gestures can be found at "./pictures"

Using HandAI on Web Camera

Make sure that your computer has a camera, which "cv2.VideoCapture" needs.

cd HandAI-master
python webCamera_demo.py

Using HandAI on a Video

Some settings need to change since fps of video is about 30, but HandAI only has fps of 5. The concrete instruction has been written at "save_video_demo.py".

cd HandAI-master
python save_video_demo.py

Insturction about divided part

In the "./examples" file, you can find how to use divided part module of HandAI, which make you more clear about how HandAI works.

Acknowledgement

MediaPipe
PortraitNet
CenterFace

About

Using hand gestures control different effect of photography.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages