Python Microproject Report Final
Python Microproject Report Final
, PUNE 411001
Institute Code: 0141
“Face Detection”
Submitted By:
1
ALL INDIA SHRI SHIVAJI MEMORIAL SOCIETY’S POLYTECHNIC, PUNE -1
VISION:
Achieve excellence in quality technical education by imparting knowledge,skills and
abilities to build a better technocrat.
MISSION:
M1: Empower the students by inculcating various technical and soft skills.
VISION:
“Enhance skills by providing value based technical education for fulfillingglobal needs in the
field of computer engineering.”
MISSION:
To provide quality education in computer engineering by improving
Psychomotor skills.
2
ALL INDIA SHRI SHIVAJI MEMORIAL SOCIETY’S POLYTECHNIC, PUNE
-1
PO1 Basic and Discipline specific knowledge: Apply knowledge of basic mathematics, science and
engineering fundamentals and engineering specialization to solve the engineering problems..
PO2 Problem analysis: Identify and analyse well-defined engineering problems using codified standard
methods.
PO3 Design/ development of solutions: Design solutions for well-defined technical problems and assist
with the design of systems components or processes to meet specified needs.
PO4 Engineering Tools, Experimentation and Testing: Apply modern engineering tools and appropriate
technique to conduct standard tests and measurements.
PO5 Engineering practices for society, sustainability and environment: Apply appropriate technology
in context of society, sustainability, environment and ethical practices.
PO6 Project Management: Use engineering management principles individually, as a team member or a
leader to manage projects and effectively communicate about well-defined engineering activities.
PO7 Life-long learning: Ability to analyse individual needs and engage in updating in the context of
technological changes.
3
KENNEDY ROAD, NEAR R.T.O., PUNE 411001
Institute Code: 0141
CERTIFICATE
Certified that this micro project report titled “ Face Detection ” is the bonafied work
of Ms. Anita Dinde, Durga Jagtap, Shruti Ingle. Roll no. 2402, 2412, 2415 of third
year diploma in Computer engineering for the course: Programming with Python
Course code: 22616 during the academic year 2023-24, who carried out the micro
project work under my supervision.
Mrs. V.C.Sanap
Subject teacher
4
Evaluation Sheet for the Micro Project
Mrs. V.C.Sanap
Subject teacher
5
ACKNOWLEDGEMENT
We would like to express our heartfelt gratitude towards our teacher for
guiding us in this Microproject. After this, we would like to say a huge
Thankyou to our group members for being so much understanding and for
cooperating with each other.
Thankyou!
6
Index
1. Annexure I 8-10
3. Annexure II 11-21
4. Rationale 11
15. Logbook 29
7
ANNEXURE I
Micro-Project Proposal
“Face Detection”
8
4.0Action Plan:
9
5.0 Resource Required:
Mrs. V.C.Sanap
Name and Signature of Teacher
10
ANNEXURE - II
1.0 Rationale:
Python is powerful programming language. It has efficient high-level data structures and a
simple but effective approach to object-oriented programming. Python code is simple, short,
readable, intuitive and powerful, and thus it is effective for introducing computing and
problem solving to beginners, It’s elegant syntax and dynamic typing, together with its
interpreted nature, make it an ideal language for scripting and rapid application development
in many areas on most platforms.
11
There are two main methods used which the user needs to remember while creating thePython
application with GUI.
1. Tk(screenName=None, baseName=None, className=’Tk’, useTk=1): To create amain
window, tkinter offers a method
„Tk(screenName=None, baseName=None, className=‟Tk‟, useTk=1)‟. To change thename of
the window, you can change the className to the desired one. The basic code used to create the
main window of the application is:
2. mainloop(): There is a method known by the name mainloop() is used when your application is
ready to run. mainloop() is an infinite loop used to run the application, waitfor an event to occur
and process the event as long as the window is not closed.
m.mainloop()
tkinter also offers access to the geometric configuration of the widgets which can organize the
widgets in the parent windows. There are mainly three geometry managerclasses class.
1. pack() method:It organizes the widgets in blocks before placing in the parent widget.
2. grid() method:It organizes the widgets in grid (table-like structure) before placing in theparent
widget.
3. place() method:It organizes the widgets by placing them on specific positions directedby the
programmer.
There are a number of widgets which you can put in your tkinter application. Some of themajor
widgets are explained below:
12
5.0 Actual Methodology Followed:
1. As per planned, as soon as we got the topic, the respective group members sat together and
discussed regarding the micro project.
2. The selection of topic is relevant which teaches us to learn something new.
3. The work of the project was divided in such a way that each and every member of our group
contributed equally.
4. Collection of the material has been done as per the requirements.
5. Later, soft copy was made and shown to the respected subject teacher.
6. Corrections were accordingly as per the suggestions given to us.
7. The final hard copy was successfully submitted with DVD attached to it.
13
7.0 Outputs of the Micro Project:-
import os
import face_recognition
These are simply the imports. We will be using the built-in os library to read all the images in our corpus and we
will use face_recognition for the purpose of writing the algorithm.
images = os.listdir('images')
This simple code helps us identify the path of all of the images in the corpus. Once this line is executed, we will
have:
image_to_be_matched = face_recognition.load_image_file('my_image.jpg')
14
To make sure that the algorithms are able to interpret the image, we convert the image to a feature vector:
image_to_be_matched_encoded = face_recognition.face_encodings(
image_to_be_matched)[0]
current_image_encoded = face_recognition.face_encodings(current_image)[0]
[image_to_be_matched_encoded], current_image_encoded)
if result[0] == True:
else:
16
OUTPUT:
Matched: shah_rukh_khan.jpg
17
8.0 Skills developed/ Learning Outcome of the Micro Project:
1. Learnt the concepts of tkinter class.
2. Applied various tkinter methods.
3. Prepared user friendly Calculator.
4. Successfully made different working arithmetic operations.
5. Learned the use of Biometric.
Mrs. V.C.Sanap
18
19
Annexure - III
20
limit. and good and good
Appearance/ finish. But no finish/
finish are creativity in appearance.
shabby. design and Creativity in
use of design and
material use of
material.
6. Report Preparation Very short, Nearly Detailed, Very detailed,
poor quality sufficient and correct and correct, clear
sketches, correct details clear description of
Details about about description of methods,
methods, methods, methods, materials,
materials, materials, materials, precautions
Precautions precautions precautions and
and and and conclusion.
Conclusions conclusion. conclusion. Enough
omitted, some But clarity is Sufficient tables, charts
details are not there in graphic and sketches
wrong. presentation. description
But not
enough
graphic
description
21
Annexure IV
Micro Project Evaluation Sheet
Name of Student: Anita Ashok Dinde Enrollment No: 2101410186
Name of Program: TYCO Semester: CO 6I
Course Name: Programming with Python Code: 22616
Title of the Micro-project: “Face Detection”
22
Annexure IV
Micro Project Evaluation Sheet
Name of Student: Durga Vilas Jagtap Enrollment No: 2101410213
Name of Program: TYCO Semester: CO 6I
Course Name: Programming with python Code: 22616
Title of the Micro-project: “Face Detection”
23
Annexure IV
24
Evaluation Sheet for the Micro Project
Mrs. V.C.Sanap
(Name & Signature of faculty)
25
Log Book of the Student (Weekly Work Report)
Academic Year: 2023-2024
Name of Students: Anita Dinde, Durga Jagtap, Shruti Ingle
Title of the Project: “Face Detection”
Course: Programming with Python Course Code: 22616 Semester: 6I
Mrs.V.C.Sanap
(Name & Signature of faculty)
26
27
28
29