PRESENTATION FOR MINI PROJECT
SUBMITTED BY: COURSE:
MANAS PANDEY B.TECH(CSE)
PRASHASTI PATHAK
SAPNA MUSUNI
TANISHA SAXENA
FACE DETECTION
USING OPENCV AND C++
INTRODUCTION
• The project here is a terminal based program written in C++ language which determines
the presence of humanoid faces on an image file and gives a file as output marking
rectangular profiles on the result, OpenCV modules which contain pretrained facial data
models on Haar-cascades.
• The objective of the project is to detect object of interest(face) in real time.
• OpenCV is a cross-platform library using which we can develop real-time computer
vision applications and mainly focuses on image processing, video capture and analysis
including features like face detection and object detection.
HOW WE THOUGHT OF THE IMPLEMENTATION?
The inspiration of this mini project was drawn from the 2-Weeks Winter Programming
Bootcamp workshop given by Ms. Meenakshi Maindola where OpenCV project utilities
were discussed.
H/W AND S/W REQUIREMENTS
• SOFTWARE:
• 1. Windows operating system(64 bit)
• 2. VS code
• 3. Open CV 4.5.2
• HARDWARE:
• 1. Keybord
• 2. Monitor
• 3. Mouse
• 4. Cabinet(CPU/ALU/MU)
LIBRARIES USED
The libraries which are used are as follows:
• #include<iostream>
• #include<stdlib.h>
• #include<string.h>
• #include<opencv2\highgui\highgui.hpp>
• #include<opencv2\imgproc\imgproc.hpp>
• #include<opencv2\objdetect\objdetect.hpp>
IMPLEMENTATION
For detection of faces in our code we will be using HAAR-Cascade in OpenCV. Object
Detection using Haar feature-based cascade classifiers is an effective object detection
method. It is a machine learning based approach where a cascade function is trained from a
lot of positive and negative images. It is then used to detect objects in other images.
OpenCV already contains many pre-trained classifiers for face, eyes, smile etc.
CONCLUSION WITH DEMONSTRATION
FUTURE SCOPE
The program with appropriate modifications can be further used in a training library for AI
assisted learning of non-humanoid faces with apt training sample data.
REFERENCES
• https://www.cplusplus.com/reference/cstring/?kw=string.h
• https://www.cplusplus.com/reference/cstdlib/
• https://www.cplusplus.com/reference/iostream/
• https://docs.opencv.org/3.4/d7/dfc/group__highgui.html
• https://docs.opencv.org/master/d7/da8/tutorial_table_of_content_imgproc.html
• https://docs.opencv.org/master/d2/d64/tutorial_table_of_content_objdetect.html
• https://docs.opencv.org/3.4/d2/d99/tutorial_js_face_detection.html
• https://docs.opencv.org/master/d4/da8/group__imgcodecs.html#ga288b8b3da0892bd651fce07b3bbd3a56
• https://docs.opencv.org/master/d4/da8/group__imgcodecs.html#gabbc7ef1aa2edfaa87772f1202d67e0ce
• https://www.geeksforgeeks.org/python-opencv-cv2-imwrite-method/
• https://en.wikipedia.org/wiki/Haar-like_feature