Skip to content

JerryTseee/FaceDetectionSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FaceDetectionSystem

implement a face detection system with Haar Cascade Algorithm, by using OpenCV in C++

environment configuration: make sure to download OpenCV and Visual Studio in the computer.(eg. in here, my OpenCV file path is "C:\opencv")
Below are the instructions in my case, please kindly modify them by yourselves.
The Project is conducted in Visual Studio 2022

Visual Studio 2022 Environment Configuration
open Project Property Pages -> configuration properties -> debugging -> environment -> add the path: PATH=%PATH%;C:\opencv\build\x64\vc16\bin

go to VC++ Directories -> include Directories -> add: C:\opencv\build\include;
go to vc++ Directories -> Library Directories -> add: C:\opencv\build\x64\vc16\lib;
go to C/C++ -> General -> Additional Include Directories -> add: C:\opencv\build\include;
go to Linker -> General -> Additional Library Directories -> add: C:\opencv\build\x64\vc16\lib;
go to Linker -> Input -> Additional Dependencies -> add: opencv_world490d.lib;

Below is the testing result (age estimation is not accurate enough)
image

Problem fixed: upload the wrong "age_deploy.prototxt" and "age_net.caffemodel" :( but still not that good image

Since the model is not accurate, the age number will need to add back around 20
image

About

implement a face detection system by using OpenCV, language is C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages