Skip to content
Face recognition online service, allow user training it.
JavaScript Python HTML CSS
Branch: master
Clone or download
Toan Nguyen Dinh Toan Nguyen Dinh
Toan Nguyen Dinh and Toan Nguyen Dinh Ep3
Latest commit db85833 Dec 23, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea Ep3 Dec 23, 2017
static Ep3 Dec 23, 2017
storage Ep3 Dec 23, 2017
templates Ep3 Dec 23, 2017
.gitignore Ep2 Dec 22, 2017 Update Dec 22, 2017 Ep3 Dec 23, 2017
database.db Ep3 Dec 23, 2017 Ep2 Dec 22, 2017 Ep2 Dec 22, 2017


Face recognition online service, allow user training it.

IDE for Python Development Pycharm

Download Pycharm development tool


sudo pip install virtualenv

Create new python project

mkdir project
cd project
virtualenv venv

Boost Python

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

./ --with-libraries=python
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.

brew install cmake
git clone
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 install --yes USE_AVX_INSTRUCTIONS --no DLIB_USE_CUDA


Use flask as Python framework build api service. 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__":


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


Full playlist:

You can’t perform that action at this time.