Git Product home page Git Product logo

filter's Introduction

Filter

Python version : 3.6.7.

The following python files will be able to execute different filters . In snapchat , instagram , photobooth , etc there are many different filters which are based on facial recognition .

The code is open source and as such , the code will execute a filter on your eyes . I have used opencv , dlib and numpy to create this filter . The video will be recorded and will be saved as Filter-Eyes.avi file .

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

  1. Pull all the files from this repository by cloning the project .
git clone 'https://github.com/AemieJ/filter-python.git'
  1. Clone the dlib models as shown in the filter-python folder itself .
cd filter-python 
git clone 'https://github.com/davisking/dlib-models'
  1. The source code for the filter is written in the filter_eyes.py

Importing

The libraries you have to install include :

  1. Opencv-Python
  2. argparse
  3. imutils
  4. time
  5. dlib
  6. numpy
pip install -r requirements.txt

Installing

A step by step series to get the filter running on your local machine . After the requirements have been installed on your local machine , follow the step on your command line from the filter-python folder .

python filter_eyes.py -predictor dlib-models-master/shape_predictor_68_face_landmarks.dat

Built With

  • Open-CV - Supports deep learning frameworks
  • Dlib - Includes wide range of machine learning algorithm
  • Numpy - Support for multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.

Authors

  • Aemie Jariwala - Initial work - AemieJ

Acknowledgments

  • KP Kaiser
  • davisking

filter's People

Contributors

aemiej avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.