All Projects → oflynned → Snapchat Filter

oflynned / Snapchat Filter

3 facial filters on a webcam feed using OpenCV & ML - face swap, glasses and moustache

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Snapchat Filter

Opencv Face Filters
Snapchat-like Face Filters in OpenCV
Stars: ✭ 51 (+45.71%)
Mutual labels:  snapchat, opencv
Imshow Java Opencv
an alternative to imshow() in C++ OpenCV for Java OpenCV
Stars: ✭ 34 (-2.86%)
Mutual labels:  opencv
Opencv Cheat Sheet
Opencv cheat sheet for C++
Stars: ✭ 30 (-14.29%)
Mutual labels:  opencv
Video To Ascii
It is a simple python package to play videos in the terminal using characters as pixels
Stars: ✭ 960 (+2642.86%)
Mutual labels:  opencv
Ucoslam Cv3
Updated UcoSLAM to compile for OpenCV 3
Stars: ✭ 31 (-11.43%)
Mutual labels:  opencv
Rezip
Git clean filter to output uncompressed zip files for better packing
Stars: ✭ 31 (-11.43%)
Mutual labels:  filter
Got Reload
Reload Go code in a running process at function/method level granularity, using Yaegi
Stars: ✭ 29 (-17.14%)
Mutual labels:  filter
Ng Open Cv
Angular 6+ & OpenCV.js integration service library
Stars: ✭ 36 (+2.86%)
Mutual labels:  opencv
List Kr
AdGuard를 위한 한국어 웹 사이트 필터 리스트입니다.
Stars: ✭ 33 (-5.71%)
Mutual labels:  filter
Graph Based Image Segmentation
Implementation of efficient graph-based image segmentation as proposed by Felzenswalb and Huttenlocher [1] that can be used to generate oversegmentations.
Stars: ✭ 31 (-11.43%)
Mutual labels:  opencv
Python Excel Automation
Examples of automation of excel via python, and related useful things
Stars: ✭ 31 (-11.43%)
Mutual labels:  opencv
Air drums
This project enables you to play virtual drums simply by using concepts of image processing and computer vision.
Stars: ✭ 31 (-11.43%)
Mutual labels:  opencv
Pixelannotationtool
Annotate quickly images.
Stars: ✭ 962 (+2648.57%)
Mutual labels:  opencv
Tensorflow object counting api
🚀 The TensorFlow Object Counting API is an open source framework built on top of TensorFlow and Keras that makes it easy to develop object counting systems!
Stars: ✭ 956 (+2631.43%)
Mutual labels:  opencv
Fast face detector
A face detector based on the work "Aggregate channel features for multi-view face detection" presented by Bin Yang, Junjie Yan, Zhen Lei and Stan Z. Li.
Stars: ✭ 35 (+0%)
Mutual labels:  opencv
Deepnude nowatermark withmodel
DeepNude source code,without watermark,with demo and model download link,one command to run offline,GAN/Pytorch/pix2pix/pic2pic
Stars: ✭ 950 (+2614.29%)
Mutual labels:  opencv
Jsonpath Rs
JSONPath for Rust
Stars: ✭ 31 (-11.43%)
Mutual labels:  filter
Opencv Disparity Map Tuner
A simple Qt GUI application to tune OpenCV StereoCorrespondenceBM parameters and see live updates
Stars: ✭ 31 (-11.43%)
Mutual labels:  opencv
Camera calibration api
A simple Python API for single camera calibration using opencv
Stars: ✭ 36 (+2.86%)
Mutual labels:  opencv
Object Detection And Location Realsensed435
Use the Intel D435 real-sensing camera to realize target detection based on the Yolov3 framework under the Opencv DNN framework, and realize the 3D positioning of the Objection according to the depth information. Real-time display of the coordinates in the camera coordinate system.ADD--Using Yolov5 By TensorRT model,AGX-Xavier,RealTime Object Detection
Stars: ✭ 36 (+2.86%)
Mutual labels:  opencv

Installation

python3 -m virtualenv -p python3 .env
source .env/bin/activate
pip3 install -r requirements.txt
(mkdir -p resources; cd resources; curl http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2 | bzip2 -d > shape_predictor_68_face_landmarks.dat)

Running

source .env/bin/activate

# Glasses filter
./main.py --filter glasses --footage glasses.png
# Moustache filter
./main.py --filter moustache --footage resources/moustache.png

Research paper

Paper written on this is available here: https://syzible.com/snapchat-filters.pdf

3 filters for CS7434 augmented reality - face swap, glasses and moustache

Clone the repo and create a directory in it called "resources". In this, you need the pre-trained face data available here: http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2

In resources, place any images you want to use in it for filters (face swap images, moustache image, glasses image, etc); modify the code as appropriate.

Make sure you have Python 3 installed, see here for easy installation with Brew on OSX http://www.pyimagesearch.com/2016/12/19/install-opencv-3-on-macos-with-homebrew-the-easy-way/

If you want to create bug fixes or extend functionality, feel free to send pull requests.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].