Giter Club home page Giter Club logo

facerecog's Introduction

FaceRecog

OpenCV + libfacedetection + dlib + CUDA Face Recognition Demo

Environment Configuration

OpenCV 4.7.0
https://opencv.org/releases/
Download opencv-4.7.0-windows.exe
Extract opencv folder to your prefer location.
Files in opencv will be included in the opencv property of project.

CUDA Toolkit 12.1 Update 1
https://developer.nvidia.com/cuda-downloads

cuDNN v8.9.1 (May 5th, 2023), for CUDA 12.x
https://developer.nvidia.com/rdp/cudnn-download

Dlib v19.24
http://dlib.net/

  1. Download dlib-19.24.zip and extract dlib-19.24 to the project root folder. ( In the same folder as FaceRecog, libfacedetection, EZ_Source. )
    Imgur Image

  2. Create a new folder named build under dlib-19.24.
    And then create a new folder named x64 under build.

  • 3.1. Use CMake GUI to generate Visual Studio project.
    Imgur Image
    Imgur Image
    Or
  • 3.2. Use Command Line, cd to dlib-19.24\build\x64 folder and execute command:
    cmake -G "Visual Studio 16 2019" -A x64 -T host=x64 ../../dlib
  1. Open VS project in dlib-19.24\build\x64. Build 'Release' version.

Properties

Make sure all directories in properties are correct.
Imgur Image

Usage

  1. Put the face pictures that want to be recognized into the folder: faces.
    This folder should be in the same directory as the main program.
    Like: N:\Development\FaceRecog\FaceRecog\x64\Release\faces

  2. Open FaceRecog\FaceRecog.sln and make a Release x64 build.

Demo

Imgur Image

facerecog's People

Contributors

jordan5226 avatar

Watchers

Hafedh TRIMECHE avatar  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.