Skip to content

dnsang1611/CS231.N21.1

Repository files navigation

1. Neon dance:

Requirements:

pip install -r neon_dance_requirements.txt

Instruction (Read file video_neon_dance.py for using more parameters)

python3 video_neon_dance.py -i "path/to/input/video" -o "path/to/output/video"

2. VIDEO BLENDING BASED ON EYE STATE

Requirements:

Please have opencv, numpy, matplotlib and mediapipe installed on your device

Instructions:

End to end: python test.py (the result will be saved in result.gif file)
Segmentation: python segmentation.py
Draw Brute force plot: python plot_eye_state.py
Speed test: python speed_capture.py

3. Goku effects

Requirements:

Please have opencv, numpy, mediapipe and PIL already installed on your local workspace.

Instructions:

End to end: main.py. This's also the main source.
The image and gif inputs are placed in the same level with source main.py, do not group them.

4. CHANGE BACKGROUND WITH HAND.

Requirements:

Please install opencv, numpy, cvzone, os, imageio before run code.

Instructions:

  • In change_background:
    The gif folder contains file.gif, you can add gif to that folder. Note the size of the gif file.
    python change_background.py to run change background model

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages