Coder Social home page Coder Social logo

tamil-palace / face-recognition-service Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tabvn/face-recognition-service

0.0 1.0 0.0 710 KB

Face recognition online service, allow user training it.

Python 5.71% CSS 0.67% JavaScript 92.15% HTML 1.47%

face-recognition-service's Introduction

face-recognition-service

Face recognition online service, allow user training it.

IDE for Python Development Pycharm

Download Pycharm development tool https://www.jetbrains.com/pycharm/download/

Installation

sudo pip install virtualenv

Create new python project

mkdir project
cd project
virtualenv venv

Boost Python

To compile Boost.Python yourself download boost from http://boost.org and then go into the boost root folder

./bootstrap.sh --with-libraries=python
./b2
sudo ./b2 install

dlib C++ library

Dlib is a modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++ to solve real world problems. https://github.com/davisking/dlib

brew install cmake
git clone https://github.com/davisking/dlib.git
cd dlib
mkdir build; cd build; cmake .. -DDLIB_USE_CUDA=0 -DUSE_AVX_INSTRUCTIONS=1; cmake --build .
pkg-config --libs --cflags dlib-1

if above command error you may need instlal pkg-config use brew install pkg-config

Active python virtual enviroment and run

 python setup.py install --yes USE_AVX_INSTRUCTIONS --no DLIB_USE_CUDA

Flask

Use flask as Python framework build api service. Api http://flask.pocoo.org/docs/0.12/api

from flask import Flask,Response,json
app = Flask(__name__)

@app route('/', methods=['GET'])
def home():
  return Response(json.dumps({"api": "1.0"}), status=200, mimetype='application/json')
 
if __name__ == "__main__":

  app.run()

Database

we can use any database to store users info. in this project i just use sqlite3 support by Python default. Tool for design slqlite http://sqlitebrowser.org/

Videos

Full playlist: https://www.youtube.com/playlist?list=PLFaW_8zE4amMZxCOYt7954AaP397_tMFc

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.