Skip to content

Here we used opencv and other inbuilt python modules to create filter application like snapchat

Notifications You must be signed in to change notification settings

hasit73/snapchat-filters-app-opencv-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snapchat like filter App using opencv python

Backend : opencv and python

Library required:

  • opencv = '4.5.4-dev'
  • scipy = '1.4.1'
  • numpy = '1.19.2'
  • mediapipe = '0.8.9.1'

NOTE:

  • All required code files uploaded so don't need to install any external files or application

Quick Overview about structure

1) snapchat_app.py

  • select, apply and draw filters on face
  • Draw filtered image and display output image.

2) hand_landmark_detection.py

  • use mediapipe lib to detect hand landmarks.

3) face_landmark_detection.py

  • use mediapipe lib to detect face landmarks.
  • other operations

How to use

  1. clone this directory

  2. use following command to run detection and tracking on your custom video

python snapchat_app.py
  • Note : Before executing this command make sure that you have installed all required libs and all above .py files reside in same folder

Results

  • output:1

black-glasses

  • output:2

black-frame-glasses

  • output:3

modi

If it's helpful for you then please give star Thank You :)

About

Here we used opencv and other inbuilt python modules to create filter application like snapchat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages