All Projects → jankrepl → Pychubby

jankrepl / Pychubby

Licence: mit
Automated face warping tool.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pychubby

Music player with Emotions recognition
This program can recognize your mood by detecting your face and play song according your mood
Stars: ✭ 79 (-67.08%)
Mutual labels:  face, face-recognition
Mobileface
A face recognition solution on mobile device.
Stars: ✭ 669 (+178.75%)
Mutual labels:  face-recognition, face
Imagedetect
✂️ Detect and crop faces, barcodes and texts in image with iOS 11 Vision api.
Stars: ✭ 286 (+19.17%)
Mutual labels:  face-recognition, face
Look4Face
Demo of Face Recognition web service
Stars: ✭ 23 (-90.42%)
Mutual labels:  face, face-recognition
Face Recognition.js
Simple Node.js package for robust face detection and face recognition. JavaScript and TypeScript API.
Stars: ✭ 1,768 (+636.67%)
Mutual labels:  face-recognition, face
Multi-Face-Comparison
This repo is meant for backend API for face comparision and computer vision. It is built on python flask framework
Stars: ✭ 20 (-91.67%)
Mutual labels:  face, face-recognition
Facecropper
✂️ Crop faces, inside of your image, with iOS 11 Vision api.
Stars: ✭ 479 (+99.58%)
Mutual labels:  face-recognition, face
timeline
Timeline - A photo organizer
Stars: ✭ 39 (-83.75%)
Mutual labels:  face, face-recognition
Maad Face
A face database with a large number of high-quality attribute annotations
Stars: ✭ 112 (-53.33%)
Mutual labels:  face-recognition, face
Human Detection And Tracking
Human-detection-and-Tracking
Stars: ✭ 753 (+213.75%)
Mutual labels:  face-recognition, face
face
[deprecated] 👽 Face Recognition package for Laravel
Stars: ✭ 37 (-84.58%)
Mutual labels:  face, face-recognition
Dockerface
Face detection using deep learning.
Stars: ✭ 173 (-27.92%)
Mutual labels:  face-recognition, face
face-recognition
얼굴 인식에 대한 기술 동향 및 관련 모델 자료
Stars: ✭ 38 (-84.17%)
Mutual labels:  face, face-recognition
PyVGGFace
VGG-Face CNN descriptor in PyTorch.
Stars: ✭ 21 (-91.25%)
Mutual labels:  face, face-recognition
Nearest-Celebrity-Face
Tensorflow Implementation of FaceNet: A Unified Embedding for Face Recognition and Clustering to find the celebrity whose face matches the closest to yours.
Stars: ✭ 30 (-87.5%)
Mutual labels:  face, face-recognition
Face Pose Net
Estimate 3D face pose (6DoF) or 11 parameters of 3x4 projection matrix by a Convolutional Neural Network
Stars: ✭ 464 (+93.33%)
Mutual labels:  face-recognition, face
FaceNet-IOT
IOT implementation for FaceNet project by David Sandberg https://github.com/davidsandberg/facenet
Stars: ✭ 18 (-92.5%)
Mutual labels:  face, face-recognition
facematch
Facematch is a tool to verifies if two photos contain the same person.
Stars: ✭ 62 (-74.17%)
Mutual labels:  face, face-recognition
Awesome Face
😎 face releated algorithm, dataset and paper
Stars: ✭ 739 (+207.92%)
Mutual labels:  face-recognition, face
Lookatme
VideoView that plays video only when 👀 are open and 👦 is detected with various other features
Stars: ✭ 161 (-32.92%)
Mutual labels:  face-recognition, face

Build Status codecov PyPI version Documentation Status PyPI - Python Version

PyChubby

Tool for automated face warping

intro

Installation

pip install pychubby

If you get an error FileNotFoundError: [Errno 2] No such file or directory: 'cmake': 'cmake', you need to make sure cmake is installed. If you're on OSX you can install this via Homebrew with:

brew install cmake

For other platforms please consult the Cmake documentation at https://cmake.org/install/

Description

For each face in an image define what actions are to be performed on it, pychubby will do the rest.

Documentation

https://pychubby.readthedocs.io

Minimal Example

import matplotlib.pyplot as plt

from pychubby.actions import Chubbify, Multiple, Pipeline, Smile
from pychubby.detect import LandmarkFace

img_path = 'path/to/your/image'
img = plt.imread(img_path)

lf = LandmarkFace.estimate(img)

a_per_face = Pipeline([Chubbify(), Smile()])
a_all = Multiple(a_per_face)

new_lf, _ = a_all.perform(lf)
new_lf.plot(show_landmarks=False, show_numbers=False)

CLI

pychubby also comes with a CLI that exposes some of its functionality. You can list the commands with pc --help:

Usage: pc [OPTIONS] COMMAND [ARGS]...

  Automated face warping tool.

Options:
  --help  Show this message and exit.

Commands:
  list     List available actions.
  perform  Take an action.

To perform an action (Smile in the example below) and plot the result on the screen

pc perform Smile INPUT_IMG_PATH

or if you want to create a new image and save it

pc perform Smile INPUT_IMG_PATH OUTPUT_IMG_PATH

Development

git clone https://github.com/jankrepl/pychubby.git
cd pychubby
pip install -e .[dev]
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].