Giter Club home page Giter Club logo

facemandaraannoy's Introduction

FaceMandara

Abstract

FaceMandara searches similar face to you in real time from over 200,000 face data(celebA).

Dependency(I checked it could work)

OS: MacOS10.13.6 or Ubuntu16.04

dlib

face_recognition

faiss

opencv-python

Usage

  • At first, install Anaconda.

  • make virtual env by using conda

$ conda create -n face_mandara python=3.5 dlib opencv-python face_recognition numpy
$ source activate face_mandara
  • install faiss which is the package which can do Product Quantization from FaceBook
# CPU version only
$ conda install faiss-cpu -c pytorch
# Make sure you have CUDA installed before installing faiss-gpu, otherwise it falls back to CPU version
$ conda install faiss-gpu -c pytorch # [DEFAULT]For CUDA8.0
$ conda install faiss-gpu cuda90 -c pytorch # For CUDA9.0
$ conda install faiss-gpu cuda91 -c pytorch # For CUDA9.1
# cuda90/cuda91 shown above is a feature, it doesn't install CUDA for you.
  • download CelebA dataset and put the data to "big_database_def" directory. CelebA dataset

  • Rename the directory "big_database_def" to "big_database"

  • Then put the command terminal like bellow

$ python image2vector.py
$ python face_mandara.py
  • You don't have to do this command from next execution
$ python image2vector.py

facemandaraannoy's People

Contributors

onikazu avatar

Stargazers

 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.