Skip to content

ankaji92/LaughingManFastAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaughingManFastAPI

Overview

Application that accesses to local web-camera, detects faces and shows a processed movie on web browser.

The detected faces are overlayed by laughing man gif in the movie.

Rquirements

  • python
    • python >= 3.8
    • opencv-python
    • fastapi
    • uvicorn
    • jinja2
    • sqlalchemy
  • devices
    • WebCam (which can be detected by opencv-python)

How To Start

  1. Setup python environment by
$ pipenv install
  1. Download laughing man gif (e.g. https://tenor.com/view/ghost-shell-laughing-man-gif-5752519) as "./pyscripts/laughing_man.gif"
  2. Set haarcascade xml path at PATH_TO_HAARCASCADE in ./pyscripts/laughing_man.py
  3. run scripts by
$ pipenv run python app.py
  1. Access to the server URL (localhost:8000)

About

laughing man処理を施した映像をWebブラウザに表示するアプリ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors