0% found this document useful (0 votes)
27 views

Python Microproject Report Final

The document discusses a micro project proposal on face detection. It includes the aims of the project, course outcomes addressed, proposed methodology which involves selecting a topic, dividing work, collecting material and presenting to the teacher. It also includes an action plan with timeline and responsibilities.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

Python Microproject Report Final

The document discusses a micro project proposal on face detection. It includes the aims of the project, course outcomes addressed, proposed methodology which involves selecting a topic, dividing work, collecting material and presenting to the teacher. It also includes an action plan with timeline and responsibilities.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

KENNEDY ROAD, NEAR R.T.O.

, PUNE 411001
Institute Code: 0141

“Face Detection”

Academic Year: 2023-24

Program Code: CO6I

Course Name: Programming with Python(PWP)

Course Code: 22616

Submitted By:

Roll No Student Name Branch Batch Enrollment Number

2402 Anita Ashok Dinde Computer CO-1 2101410186


2412 Durga Vilas Jagtap Computer CO-1 2101410206

2415 Shruti Shailesh Ingle Computer CO-1 2101410204

Under Guidance of:


Mrs. V.C.Sanap

1
ALL INDIA SHRI SHIVAJI MEMORIAL SOCIETY’S POLYTECHNIC, PUNE -1

COMPUTER ENGINEERING DEPARTMENT


VISION AND MISSION OF THE INSTITUTE

 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.

M2: Upgrade teaching-learning process and industry-institute interactioncontinuousl

VISION AND MISSION OF THE COMPUTER DEPARTMENT

 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.

 To develop positive attitude, communication skills, team spiritand


entrepreneurship.

 To develop awareness about societal and ethical responsibility for


Professionalism.

2
ALL INDIA SHRI SHIVAJI MEMORIAL SOCIETY’S POLYTECHNIC, PUNE
-1

COMPUTER ENGINEERING DEPARTMENT

PROGRAM OUTCOMES (POs)

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.

PROGRAM SPECIFIC OUTCOMES (PSO)

The Diploma in Computer Engineering will prepare students to attain:

 PSO 1: Apply computing knowledge with standard practices to develop software.


 PSO 2: Maintain Computer Hardware and Software System

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

Academic Year: 2023-2024 Name of faculty: Mrs. V.C.Sanap


Course: Programing with Python Semester: CO 6-I-Scheme

Course Code: 22616

TITLE OF THE PROJECT: “Face Detection”

Comments/Suggestions about team work/leadership/inter-personal communication (if any)


More technical applications may be developed.

Roll Student Name Marks out of 6 Marks out of 4 Total


No for performance in for performance in out of 10
group activity (D5 oral / presentation
:Col. 6) (D5 :Col. 4)
2402 Anita Ashok Dinde
2412 Durga Vilas Jagtap
2415 Shruti Shailesh Ingle

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

Sr. No. Content Page No.

1. Annexure I 8-10

2. Micro Project Proposal 8-10

3. Annexure II 11-21

4. Rationale 11

5. Aims/Benefits of the Micro Project 11

6. Course Outcome achieved 11

7. Literature Review 11-12

8. Actual Methodology Followed 13

9. Actual Resources Used 13

10. Output of the Micro Projects 14-20

11. Skill Developed / Learning outcome of the Micro 21


Project

12. Applications of the Micro Project 21

13. Assessment of Micro Project (Annexure –III) 22-23

14. Micro Project Evaluation Sheet (Annexure –IV) 24-28

15. Logbook 29

7
ANNEXURE I

Micro-Project Proposal

“Face Detection”

1.0 Aims/Benefits of the Micro-Project:


1. To use in Security.
2. To provide Personalization.
3. To use in Biometric Identification.
4. To use in Healthcare.

2.0 Course Outcomes Addressed:


a. Display message on screen using Python script on IDE.
b. Develop python program to demonstrate use of Operation.
c. Perform operations on data structures in Python.
d. Develop functions for given problem.
e. Design classes for given problem.
f. Handle exception.

3.0 Proposed Methodology:


1. As soon as we get the topic, the respective group members will sit together and
discuss regarding the micro project.
2. The selection of topic will be relevant which will teach us to learn something new.
3. The work of the project will be divided in such a way that each and every member
of our group can contribute equally.
4. Collection of the material will be done as per the requirements.
5. Later, soft copy will be made and shown to the respected subject teacher.
6. Corrections will be done accordingly as per the suggestions given to us.
7. The final hard copy will be submitted.

8
4.0Action Plan:

Sr. Details of Activity Planned Start Planned Name of Responsible


No. Date Finish Date Team Members

1 Formation of groups 2-1-2024 2-1-2024 All members

2 Selected the topic for micro 9-1-2024 9-1-2024 All members


project
3 Discussed about the project 16-1-2024 16-1-2024 All members

4 Assigned the work to each 23-1-2024 23-1-2024 All members


group member
5 Detailed study of micro- 30-1-2024 30-1-2024 All members
project
6 Collected information on 13-2-2024 13-2-2024 All members
assignment topic
7 Started working on micro- 20-2-2024 20-2-2024 All members
project
8 Assembled all the data 27-2-2024 27-2-2024 All members

9 Evaluation of data 5-3-2024 5-3-2024 All members

10 Prepared rough copy of 12-3-2024 12-3-2024 All members


micro-project
11 Project proposal presentation 19-3-2024 19-3-2024 All members
to guide
12 Corrected the micro-project 19-3-2024 19-3-2024 All members
suggested by guide
13 Actual implementation of 26-3-2024 26-3-2024 All members
micro-project
14 Execution of overall data / 26-3-2024 26-3-2024 All members
prepared final draft copy
15 Final micro-project 02-4-2024 02-4-2024 All members
presentation
16 Micro-project submitted 02-4-2024 02-4-2024 All members

9
5.0 Resource Required:

Sr No. Name of Specifications Qty. Remarks


Resources/material
1. Computer/ Laptop Any desktop or laptop with 1 ---
basic configuration

2. Software MS Office, NetBeans IDE 8.1, --- ---


Eclipse IDE, Selenium IDE

6.0 Names of Team Members with Roll Nos.

Sr. No Name of Students Roll No


1 Anita Ashok Dinde 2402
2 Durga Vilas Jagtap 2412
3 Shruti Shailesh Ingle 2415

Mrs. V.C.Sanap
Name and Signature of Teacher

10
ANNEXURE - II

Micro Project Report


“Face Detection”

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.

2.0 Aims/ Benefits of the Micro Project:


1. To use in Security.
2. To provide Personalization.
3. To use in Biometric Identification.
4. To use in Healthcare.

3.0 Course Outcomes Achieved:


a. Display message on screen using Python script on IDE.
b. Develop python program to demonstrate use of Operation.
c. Perform operations on data structures in Python.
d. Develop functions for given problem.
e. Design classes for given problem.
f. Handle exception.

4.0 Literature Review:


Python GUI – tkinter
Python offers multiple options for developing GUI (Graphical User Interface). Out of all the GUI
methods, tkinter is the most commonly used method. It is a standard Python interface to the Tk GUI
toolkit shipped with Python. Python with tkinter is the fastest and easiest way to create the GUI
applications. Creating a GUI using tkinter is an easy task.
To create a tkinter app:

1. Importing the module – tkinter


2. Create the main window (container)
3. Add any number of widgets to the main window
4. Apply the event Trigger on the widgets.
Importing tkinter is same as importing any other module in the Python code. Note that thename of
the module in Python 2.x is „Tkinter‟ and in Python 3.x it is „tkinter‟.

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:

m=tkinter.Tk() where m is the name of the main window object

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:

1. Button:To add a button in your application, this widget is used.The


general syntax is:
w=Button(master, option=value)
2. Canvas: It is used to draw pictures and other complex layout like graphics, text and
widgets.
The general syntax is:
w = Canvas(master, option=value)
#master is the parameter used to represent the parent window

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.

6.0 Actual Resources Used:

Sr. No. Name of Specifications Qty. Remarks


Resources/material
1. Computer/ Laptop Any desktop or laptop with 1 ---
basic configuration

2. Software Anaconda,Jupiter --- ---

13
7.0 Outputs of the Micro Project:-

Code of Face Detection:

Now, let us go through the code to understand how it works:

# import the libraries

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.

# make a list of all the available images

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:

images = ['shah_rukh_khan.jpg', 'warren_buffett.jpg', 'barack_obama.jpg', 'ray_dalio.jpg', 'bill_gat

es.jpg', 'jeff_bezos.jpg', 'mark_zuckerberg.jpg']

Now, the code below loads the new celebrity’s image:

# load your image

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:

# encoded the loaded image into a feature vector

image_to_be_matched_encoded = face_recognition.face_encodings(

image_to_be_matched)[0]

The rest of the code now is fairly easy:

# iterate over each image

for image in images:

# load the image

current_image = face_recognition.load_image_file("images/" + image)

# encode the loaded image into a feature vector

current_image_encoded = face_recognition.face_encodings(current_image)[0]

# match your image with the image and check if it matches


15
result = face_recognition.compare_faces(

[image_to_be_matched_encoded], current_image_encoded)

# check if it was a match

if result[0] == True:

print "Matched: " + image

else:

print "Not matched: " + image

16
OUTPUT:

Matched: shah_rukh_khan.jpg

Not matched: warren_buffett.jpg

Not matched: barack_obama.jpg

Not matched: ray_dalio.jpg

Not matched: bill_gates.jpg

Not matched: jeff_bezos.jpg

Not matched: mark_zuckerberg.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.

9.0 Applications of this Micro Project:


1. This project is applicable for different kind of educational and financial purposes.
2. Students can use this project to understand the math arithmetic operations.
3. This micro project will help people to make the calculations accurate.
4. Also, made easier to calculate the big number very easy and fast.

Mrs. V.C.Sanap

(Name & Signature of faculty)

18
19
Annexure - III

Suggested Rubric for Assessment of Micro Project


(The marks may be allotted to the characteristics of the Micro-Project by considering the suggested
rubrics)

S. Characteristics to be Poor Average Good Excellent


No assessed (Marks 1-3) (Marks 4-5) (Marks 6-8) (Marks 9-10)
1. Relevance to the Related to Related to Addressed at- Addressed
Course very few some Los least one CO more than one
LOs CO
2. Literature Not more At-least 5 At-least 7 About 10
Review/information than two relevant relevant relevant
collection sources sources, at sources, most sources, most
(Primary and least 2 latest latest latest
Secondary),
very old
reference
3. Completion of Target Completed Completed 50 Completed 60 Completed
as per Project proposal less than 50% to 60% to 80% more than
80%
4. Analysis of Data and Sample Size Sufficient and Sufficient and Enough data
representation all, data appropriate appropriate collected by
neither sample, sample, sufficient and
organized nor enough data enough data appropriate
presented generated but generated sample size.
well not organized which is Proper
and not well organized and inferences
presented presented drawn by
well. No or well. But organizing
poor poor and
inferences inferences presenting
drawn drawn data through
tables, charts
and graphs
5. Quality of Incomplete Just Well a Just Well a Just
prototype/Model fabrication/ assembled/ assembled/ assembled/
assembly fabricated and fabricated fabricated
parts are not with proper with proper
functioning functioning functioning
well. Not in parts.in parts. In
proper shape, proper shape, proper shape,
dimensions within within
beyond tolerance tolerance
tolerance dimensions dimensions

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

7. Presentation of the Major Includes Includes Well


Micro-Project information is major major organized,
not included; information information includes
information is but not well but not well major
not well organized not organized not information,
organized. presented presented presented
well. well. well.

8. Viva Could not Replied to Replied Replied most


reply to considerable properly of the
considerable number of considerable questions
number of questions nut number of properly
question not very question.
properly

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”

Course Outcomes Achieved:


 CO22616a. Display message on screen using Python script on IDE.
 CO22616b. Develop python program to demonstrate use of Operators.
 CO22616c. Perform operations on data structures in python.
 CO22616d. Develop functions for given problem.
 CO22616e. Design classes for given problem.
 CO22616f. Handle exceptions.
Sr Characteristic to be Poor Average Good Excellent Sub
No. accessed Total
(Marks 1- (Marks 4- (Marks 6- (Marks 9-
3) 5) 8) 10)
(A) Process and Product Assessment (Convert above total marks out of 6 Marks)
1 Relevance to the
course
2 Literature
Review/information
collection
3 Completion of the
Target as per project
proposal
4 Analysis of Data and
representation
5 Quality of the
Prototype/Model
6 Report Preparation
(B) Individual Presentation/ Viva (Convert above total marks out of 4 Marks)
7 Presentation
8 Viva
(A) (B) Total Marks
Process and Product Assessment Individual Presentation/ Viva 10
(6 Marks) (4 Marks)

Comments/ suggestions about Team work/ Leadership/Inter-Personal communication (If any)


…………………………………………………………………………………………
Name and Designation of the Teacher: ……………
Dated Signature………………………………

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”

Course Outcomes Achieved:


 CO22616a. Display message on screen using Python script on IDE.
 CO22616b. Develop python program to demonstrate use of Operators.
 CO22616c. Perform operations on data structures in python.
 CO22616d. Develop functions for given problem.
 CO22616e. Design classes for given problem.
 CO22616f. Handle exceptions.
Sr Characteristic to be Poor Average Good Excellent Sub
No. accessed Total
(Marks 1- (Marks 4- (Marks 6- (Marks 9-
3) 5) 8) 10)
(A) Process and Product Assessment (Convert above total marks out of 6 Marks)
1 Relevance to the
course
2 Literature
Review/information
collection
3 Completion of the
Target as per project
proposal
4 Analysis of Data and
representation
5 Quality of the
Prototype/Model
6 Report Preparation
(B) Individual Presentation/ Viva (Convert above total marks out of 4 Marks)
7 Presentation
8 Viva
(A) (B) Total Marks
Process and Product Assessment Individual Presentation/ Viva 10
(6 Marks) (4 Marks)

Comments/ suggestions about Team work/ Leadership/Inter-Personal communication (If any)


…………………………………………………………………………………………
Name and Designation of the Teacher: ……………
Dated Signature………………………………

23
Annexure IV

Micro Project Evaluation Sheet


Name of Student: Shruti Shailesh Ingle Enrollment No: 2101410204
Name of Program: TYCO Semester: CO 6I
Course Name: Programming with Python Code: 22616
Title of the Micro-project: “Face Detection”

Course Outcomes Achieved:


 CO22616a. Display message on screen using Python script on IDE.
 CO22616b. Develop python program to demonstrate use of Operators.
 CO22616c. Perform operations on data structures in python.
 CO22616d. Develop functions for given problem.
 CO22616e. Design classes for given problem.
 CO22616f. Handle exceptions.
Sr Characteristic to be Poor Average Good Excellent Sub
No. accessed Total
(Marks 1- (Marks 4- (Marks 6- (Marks 9-
3) 5) 8) 10)
(A) Process and Product Assessment (Convert above total marks out of 6 Marks)
1 Relevance to the
course
2 Literature
Review/information
collection
3 Completion of the
Target as per project
proposal
4 Analysis of Data and
Representation
5 Quality of the
Prototype/Model
6 Report Preparation
(B) Individual Presentation/ Viva (Convert above total marks out of 4 Marks)
7 Presentation
8 Viva
(A) (B) Total Marks
Process and Product Assessment Individual Presentation/ Viva 10
(6 Marks) (4 Marks)

Comments/ suggestions about Team work/ Leadership/Inter-Personal communication (If any)


…………………………………………………………………………………………
Name and Designation of the Teacher: ……………
Dated Signature……………………………

24
Evaluation Sheet for the Micro Project

Academic Year: 2022-2023 Name of Faculty: Mrs. V.C.Sanap


Course: Programming with Python
Course Code: 22616 Semester: 6-I-Scheme

Title of the Project: Face Detection

Comments/Suggestions about team work/leadership/inter-personal communication (if any):

Roll Student Name Marks out of 6 Marks out of 4 Total


No for performance in for performance in oral / out of 10
group activity (D5 presentation (D5 :Col. 9)
:Col. 8)

2402 Anita Ashok Dinde

2412 Durga Vilas Jagtap

2415 Shruti Shailesh Ingle

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

Sr. No./ Date Time Work Done


Hour No.

1. 2-1-2024 1.00pm-2.00pm Formation of groups

2. 9-1-2024 1.15pm-2.15pm Selected the topic for micro project

3. 16-1-2024 1.00pm-2.00pm Discussed about the project

4. 23-1-2024 1.30pm-2.30pm Assigned the work to each group member

5. 30-1-2024 4.00pm-5.00pm Detailed study of micro-project

6. 13-2-2024 4.00pm-5.00pm Collected information on assignment topic

7. 20-2-2024 4.15pm-5.15pm Started working on micro-project

8. 27-2-2024 4.00pm-5.00pm Assembled all the data

9. 5-3-2024 4.30pm-5.30pm Evaluation of data

10. 12-3-2024 1.45pm-2:45pm Prepared rough copy of micro-project

11. 19-3-2024 2.00pm-3.00pm Project proposal presentation to guide

12. 19-3-2024 2.15pm-3.15pm Corrected the micro-project suggested by


guide

13. 26-3-2024 4.00pm-5.00pm Actual implementation of micro-project

14. 26-3-2024 1.30pm-2.30pm Execution of overall data / prepared final draft


copy

15. 02-4-2024 2.00pm-3.00pm Final micro-project presentation

16. 02-4-2024 2.00pm-3.00pm Micro-project submitted

Mrs.V.C.Sanap
(Name & Signature of faculty)
26
27
28
29

You might also like