Skip to content

mertguner/OpenCV-Face-Detection-With-Visual-Studio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCV Face Detection With Visual Studio 2017

Installation

Extract

  • Create New Project

Create New Project

  • Change to X64

ChangeTox64

  • Click Project Properties

  • Set to [C/C++]/[General]/[Additional Include Directories] -> "C:\opencv\build\include"

  • Set to [Linker]/[General]/[Additional Library Directories] -> "C:\opencv\build\x64\vc15\lib"

  • Set to [Linker]/[Input]/[Additional Dependencies] -> "opencv_world401d.lib"

  • I took the test image from Link

Final

  • cascade.detectMultiScale(gray, faces, 1.1, 3, CASCADE_SCALE_IMAGE, Size(30, 30)); Result 1

  • cascade.detectMultiScale(gray, faces, 1.1, 3, CASCADE_SCALE_IMAGE, Size(10, 10)); Result 2