Skip to content

Tien-Nam-Nguyen/Singalarity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facial recognition on video

COVER

  1. Create a conda environment .conda

  2. Clone and build dlib from source:

$ git clone https://github.com/davisking/dlib.git
$ cd dlib
$ mkdir build
$ cd build
$ cmake .. -DDLIB_USE_CUDA=1 -DUSE_AVX_INSTRUCTIONS=1 -DCUDAToolkit_ROOT=/path/to/your/nvcc/bin/
$ cmake --build .
$ cd ..
$ python setup.py install --set DLIB_USE_CUDA=1
  1. Install dependencies:
$ cd project/
$ pip install -r requirements.txt
  1. Put face images of people you want to recognize to project/Image with file name {person_name}0.jpg

  2. Image augmentation:

$ cd Image/
$ python augmentation.py
  1. Image encode:
$ python encode.py
$ cd ..
  1. Run Django server:
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py runserver
  1. Post video:
  • Using Postman:

POST-video

RESPONSE-video

  • Using video upload site:

Upload-site

Response-url

  1. Download video

DOWNLOAD-video

This is changed using Gitlab This is added after add in new branch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published