Mini Project
Mini Project
Mini Project
Submitted by
AADHITH S [RA2211003011933]
B.Tech. CSE - CORE
ABISHEK P [RA2211003012013]
B.Tech. CSE - CORE
SCHOOL OF COMPUTING
COLLEGE OF ENGINEERING AND TECHNOLOGY
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY
(Under Section 3 of UGC Act, 1956)
S.R.M. NAGAR, KATTANKULATHUR – 603 203
KANCHEEPURAM DISTRICT
December 2022
1
TABLE OF CONTENTS
ChapterNo.
Title Page No.
1 Problem Definition 3
2 Methodology / Procedure
3
3 Coding (Python) 5
4 Results 7
5 Conclusion 9
2
PROBLEM DEFINITION
given in which the number of faces is more than one and using the
algorithm and classifier we use to detect the faces and accordingly it crops it
into a certain ratio in two dimension that is length and breath. After all this it
saves the separate images in jpeg form which tells the no of count of faces
METHODOLOGY / PROCEDURE
We are taking the raw image as an input in which the number of faces is
more than one and then we save the real image and its path too and after
that we are importing cv2 classifier and defining the four dimensional
variables for length breath height and width then after we are detecting the
faces using cascade class and cropping that image in the scale ratio of 1:3
and saving it separately into jpeg format. Hence, we can use this for an
3
ALGORITHM IMPLEMENTATION
We will define the four types of variables for the various dimensions
Then by calling the classifier we will crop the image in the ratio of 1:3 in length
and height.
4
codi
ng
5
6
SCREENSHOTS
Original image
7
NUMBER OF FACES : 3
8
PROS AND CONS:
And the cons part is, this isn’t that much accurate and efficient as
CONCLUSION:
The best part of this project is that the code is really simple and
usede any complex classifiers this is the simplest way for face
learning in future.