Exemplary OCR Computer Science Project Writeup, High school final essays of Computer science

This is an example of the kind of writeup the OCR Computer Science NEA project needs in order to get an A*

Typology: High school final essays

2025/2026

Uploaded on 03/11/2026

tanmay-manas
tanmay-manas 🇬🇧

4 documents

1 / 231

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
5/7/2019 H446-03 Project CURRENT - Google Docs
https://docs.google.com/document/d/1iPTMsZPo5-IPveDRVsb3ThwQFb6wAIMSmjHirWBuWvQ/edit#heading=h.bvo3ttav5bab 1/231
Candidate Name: Candidate Number:
OCR GCE A
COMPUTER SCIENCE
PROJECT
H446-03
Name :
Candidate Number :
School :
Title of Project : Facial Recognion Registraon System
Page 1 of 231
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Exemplary OCR Computer Science Project Writeup and more High school final essays Computer science in PDF only on Docsity!

Candidate Name: Candidate Number:

OCR GCE A

COMPUTER SCIENCE

PROJECT

H446-

Name :

Candidate Number :

School :

Title of Project : Facial Recognion Registraon System

Page 1 of 231

Candidate Name: Candidate Number:

H446-03 – P CONTENTS

Candidate Name: Candidate Number:

AddNewClass.py 220

Registraon.py 225

A. ANALYSIS

DEFINING THE PROBLEM AND STAKEHOLDERS

The Problem

At the moment teachers have to manually register students. A student's name is read aloud and the student responds, idenfying if they are present within the lesson. There are many problems with this current model of taking the register. One being that there is a responsibility for the teacher to remember to take the register at the beginning of each and every lesson. By aempng to complete this task, nearly 10% of the lesson is spent reading out the names of each student and the students having to wait and listen for their name to be read out, risking a name being missed.

The register is only taken once at one point in me and if someone is late, the register has to be manually updated again and I’ve observed the frustraons of teachers where precious me is wasted as me is spent talking to the student and marking them as late, impacng the flow of the lesson as a whole.

To tackle these frustraons, I thought it would be appropriate to create a school registraon system where pupils are registered via facial recognion, instead of a teacher having to manually go through and mark pupils in. This system will work where the student will enter the classroom, log-in and open the registraon program where it captures an image of their face which can be used to idenfy and register the student.

To accompany this I’ll design a management system which is compable with the facial recognion program. This will act as a place to handle registraon, misidenficaon of students and other problems which may arise.

This proposed soluon does not only help with reducing responsibilies for the teacher and saving me but abuse of the current system is prevented. In the Sixth Form you can sign yourself in and students will abuse this privilege by signing in their friends if they are running late, saving the late person from any punishments and retaining their punctuality percentages. By employing a computaonal approach, such as the use of facial recognion, means that one student will not be able to sign in for another as your facial features is a biometric unique to you.

The Stakeholders ( Clients/ Users)

My client are the teachers, working at Secondary School and Sixth Form Centre. They administer a number of classes with each containing around 30 students. On top of the classes they teach, they may be asked to cover another teachers lesson if they are away. Each one of those less will require the register to be taken before the class commences.

Page 4 of 231

Candidate Name: Candidate Number: When I spoke to a client (Conversaon outlined on pg 4), they concerned that me is everything and the more students you have, the more me is lost, which is important for teachers to minimise as it greatly impacts the academic life of students as actual learning me is reduced.

The use of facial recognion would migate any chance of a teacher forgeng to take the register and takes away the risk of the student not hearing their name which is pivotal for the safeguarding and wellbeing of students at the school.

I plan to conduct a formal interview with the client to gain a deeper understanding of any personal problems they find as well as geng an idea of certain features that the client desires.

Also, the end users will be not only the teacher, as they interact with the management students, but also the students will use a facial recognion program I will develop in my first iteraon. For this program, I plan to create mockup screens to gain feedback and guidance for the layout from the students.

Summary Conversation with a Stakeholder

Mr :

When I first introduced the idea of using facial recognion to register students my stakeholder suggested to use fingerprints as the biometric for registraon, which would consist of having a physical hardware component to use opcal imaging to allow for a more accurate idenficaon of the student. Moreover, if you take a convenonal opcal fingerprint sensor then at any me of day with whatever lighng, it will be able to gain an image of the print.

However, I argued that fingerprinng, if there is one sensor, will require students to queue up to register. Each student will scan their finger one by one hence it is almost as me-consuming as a teacher manually doing the register but with facial recognion each student can walk into the classroom and scan their faces seamlessly, taking a fracon of the me with the cost of accuracy.

Furthermore, since the facial recognion system will be implemented in a classroom environment, each room will be well lit hence the lighng shouldn’t be an issue when detecng faces.

The main point the stakeholder reiterated is that me is everything, anything to save me for the teachers is great.

JUSTIFICATION OF HOW TO SOLVE THE PROBLEM CAN BE SOLVED BY COMPUTATIONAL

METHODS

Thinking Abstractly

  • Management System
    • Tile-based interacons: Once the teacher has logged in they will be presented the funcons of the management system in the form of les. For example in each corner, ‘Register Class’, ‘Student Data’, ‘Aendance & Punctuality’ and ‘Your Timeline’. This simple format makes it easy for new teachers or supply teachers to interact with the management system. ‘Register Class’ is clearly outlined to them as one of the main funconalies

Page 5 of 231

Candidate Name: Candidate Number:

  1. School Management System
  2. Database Integraon

Decomposing Further

  • The Facial Recognion Program will capture an image
  • Convert The Image To Greyscale
  • Recognise A Face
  • Idenfy A Face
  • Display a confirmaon box to confirm if the user was correctly idenfied.
  • Facilitates A Session for the Client to log-in
  • Gives access to the register.
  • Flags if someone was misidenfied.
  • The database will hold student informaon such as their name, form and class.
  • It will hold an image of the student for training purposes.
  • The database will acvely receive requests from the Facial Recognion Program to idenfy students and the School Management System to create student profiles and gain details of students.

These categories will be split into their own individual scripts and further broken down into subprograms. This will help with code readability as well as isolang any problems that are found quickly which is pivotal for a system that will be used every school day.

Thinking Concurrently

  • Management System
    • Mulple teachers will login and access the management system so I have to make sure the system is consistent with details that are being displayed as teachers will constantly change and update the data on the management system.
  • Facial Recognion System and Database
    • Many students will access the Facial Recognion program with each class averaging around 28 students. Each student who accesses the system will constantly and potenally concurrently be making requests to the database checking if their facial scan matches the one found in the database. Concurrent searches can increase the response me from the database but it will need to be stress tested to see if it can handle the load.

Page 7 of 231

Candidate Name: Candidate Number: INTERVIEW WITH STAKEHOLDER ANALYSIS(Teacher)

Interview Transcript can be found in the Appendices Page 194

For my first interview, I tried to gauge the impact that taking a register manually has and the addional problems that arise with the current system.

One key problem was the risk of forgeng to take the register. The client clearly outlined how it is a huge safeguarding risk and the school needs to know the whereabouts of each student. By employing the use of the proposed facial recognion system there will be reduced human error where if teachers miss a students name or the student did not hear their name being called out, with the facial recognion system the student will be registered as soon as they walk in, alleviang the stress associated with remembering to take the register.

Another problem is that remembering supply teachers struggle to idenfy and register students so in my soluon a high chance of correct idenficaon is required. This is key as when there is a supply teacher a student will fake their name or pretend to be another student. With facial recognion and idenficaon, you can correctly idenfy the student and prevent any of these games the students play with a new teacher from unfolding.

Furthermore, in the interview, it was stated that the register has to be taken within 5 minutes of the start of the lesson, which is hard to achieve if you are trying to sele down and manually take the register. The fully automated system will save me for the teacher as they will not have to go down a register, marking a student in one by one. The first iteraon will be using the computer webcams where the students will manually take the pictures and if there is enough training data I can move it all to a raspberry pi where I can register students seamlessly as they walk in through a door saving even more me.

PROBLEM RESEARCH

SIMS

Page 8 of 231

Candidate Name: Candidate Number: SIMS provides analycal data in the form of bar charts and in this case an aendance breakdown with green as present, red as authorised absence, yellow as unauthorised absence and grey as missing marks. Charts allow the teacher to get a quick visual summary of what the aendance is like for the class and school.

I’ve taken away that this is an effecve way to form a summary as striking vibrant colours such as green, red and yellow are used. This means any sharp rise of absences will be easily noceable rather than a teacher purely seeing numbers regarding aendance. As well as the teacher will be able to see clearly if anyone was missed and not marked in.

Toolbar

SIMS provides a toolbar which contains opons such as taking the register, adding comments, finding future lessons, seeing class summaries and more. A toolbar like this allows a quick shortcut to features that will be most frequently used by teachers instead of them having to navigate through various drop down boxes. This will increase speed as well as it makes the User Experience more pleasant as the tools required are upfront and ready to use.

Timeline

Page 10 of 231

Candidate Name: Candidate Number:

A meline is provided showcasing the future lessons a teacher has at a given date and me. It is displayed in a grid format with the me on the Y-axis and the date on the X-axis. This allows teachers to have an overview of upcoming lessons. This enables the teacher to be nofied if a lesson is rescheduled or they are asked to take another class, making them quickly aware of any changes.

Page 11 of 231

Candidate Name: Candidate Number: up/down missing a student. Another feature is that SIMS instantly shis to the next line when the code is generated, making it easier for the teacher to transion to the next student.

Comments

SIMS gives the ability to provide a comment. This may be to give addional context regarding why a student is ill or late. Providing the comment and contextualising certain informaon allows all teachers to update and nofy each other of problems regarding a student in one central locaon.

Features I Didn’t Like

Multiple Drop Down Tabs To Take Register

I didn’t like how there were mulple drop down menus unl you got to the part where you click to take the register. Having these numerous tabs makes it difficult for any new teachers to quickly grasp the system as ‘Take Register’ is hidden away. It would be beer if the register can pop up in the meline and a teacher can click/right click the class to take a register.

In my soluon, I will most likely use a le-based system so important funconality like registraon can easily be found.

Clicking ‘Save’ to Save Register

Page 13 of 231

Candidate Name: Candidate Number:

I don’t like how you have to click the ‘Save’ buon for the register to save. This is due to the fact this means the teacher will have to remember to click the ‘Save’ buon aer every register. An alternave soluon I’d suggest is to have live autosaves where every me a teacher updates the register, the update is saved.

In my soluon, the students will be registered as they walk into the classroom, so there is no need for a ‘Save’ buon.

ZENUS BIOMETRICS

Description:

There are parallels between registering for an event and registraon for a classroom where the eventgoers are the students and the event staff validang their entry are the teachers. Zenus Biometrics is a provider of biometrics soluons and facial recognion soware. The main use of their facial recognion soware is to cut down on registraon me at events. Instead of using a paper cket or an e-cket from your smartphone. The way in which this is achieved is that a photograph of the eventgoer is taken before the event as training data to be added to the facial recognion soware.

FEATURES APPLICABLE TO MY PROJECT

Using facial recognion instead of a manned kiosk with an event staff checking each person’s cket is beer due to the fact the eventgoer doesn’t have to take out their cket, some may have not registered beforehand and the person manning the kiosk will take considerably more me scanning a QR code or typing in an event code to find out if they are a valid cket holder.

Reducing Check-in mes is important as it allows the eventgoer to spend more me at an event. This leads to beer enjoyment for them as well as a higher likelihood they will spend money on goods at the event or buying food and beverages along the way generang more revenue for the event planners. My client stressed how important saving me is and this would result in lesson me being saved which may lead to beer student grades.

Page 14 of 231

Candidate Name: Candidate Number: Asking an Eventgoer to Take a Headshot Prior to the Event:

The reason I didn’t like this feature is due to the fact it may seem somewhat inconvenient to ask an eventgoer to take a picture of themselves before going to the event. There could be issues with lighng, quality of the photographs which may affect if they will be recognised when they go to one of the kiosks at the event. Using facial recognion may be faster than using an e-cket with a QR code however does asking an aendee to take a photograph waste more me for the eventgoer than it saves.

In my soluon, I will have to ask students to take a photograph of themselves which begs the queson, will I save more me compared to a teacher manually taking the register. I believe that since this system will be used at least five mes every school day with over 750 students, the net me savings will outweigh the me it takes to capture images of students.

Not All Eventgoers Will Take a Headshot

In the case with Zenus Biometrics, aendees opted in to use the facial recognion system. This indicates that not all people wanted to use the system. This may be since people didn’t feel comfortable with a company holding an image of their face or many just forgot to use the system. In this scenario, that means you will have a mixture of people using e-ckets as well as using facial recognion which may lead to irregularies in the me it takes to register an eventgoer as some will be using e-ckets and others facial recognion.

In my soluon, as I’ve stated above, I will get the image of the student; however, all students will be using the facial recognion system. If the soluon was on an opt-in basis, then it will probably take even more me to register the students with the facial recognion system and to do the register normally.

FEATURES

Aer breaking down the problem, speaking to stakeholders and looking at relevant features in exisng soluons I’ve idenfied some of the key features to be:

● Tile Based Format : As outlined, this will facilitate teachers to clearly see what key funcons are available to them making it to new/supply teachers using this system. ● Send a message to attendance officer if a student is 10 minutes late : The client emphasised how this is a feature that they would like. The feature is necessary to alert staff of a missing student as the safety of students is one of the schools top priority. ● A teacher won’t have to take register: Teachers will no longer have to take the register manually as all the registering is done automacally by the automated system. This is achieved by the facial recognion system idenfying the student and that data being sent to the central system management database server to mark a user as in.

Page 16 of 231

Candidate Name: Candidate Number: ● Charts : Charts are necessary for the visualisaon of data. This will let teachers easily idenfy if a student has a track record of being late as the chart system can plot correlaon and trend lines or quickly idenfy if any student is missing. ● Codes : Codes allows for the explanaon of the absence of a student to be summarised by a single leer. This means by a single leer, e.g I, the teacher can know the student is ill and prepare any work for the student to catch up with if necessary. ● Comments : Comments allow for addional informaon to be added which codes may not be able to provide. An example of this may be that if a student is late, the reason why the student is late can be known and measures can be put in place to help improve the students aendance. ● Log-in System : A login system is necessary to prevent unauthorised people from having access to the database. This is necessary to be in compliance with GDPR (Integrity and confidenality:hps://ico.org.uk/for-organisaons/guide-to-data-protecon/guide-to-the-gener al-data-protecon-regulaon-gdpr/principles/) as I need to handle personal data in a way I protect the identy of my client. A way of achieving this is by encrypng the images I am going to keep of students so anyone with access to the database can’t go through a data users informaon for no reason as well as if the database is compromised, an unauthorised person will not be able to see the images.

LIMITATIONS

- Misidentification of A Student A problem that could occur is that a student could be misidenfied leading to the registraon of the wrong student. This could be because the student could have a twin hence having very similar facial features or it could be due to the lighng, angle or environment of the camera shot, making it difficult to match it with a photograph that was shot in a different seng.

To combat this there will be a misidenficaon system where the student can manually correct any errors due to the system. If the student is logged into the computer, I can check the username of the account and figure out who the student is without their input. An indicaon that a student has been misidenfied is if a student from a different class is idenfied or a student is marked in twice. A teacher can be sent a noficaon of this misidenficaon and the image of the student.

- Security Problems With Holding Faces Of Students Since I am holding other students photographs it is my obligaon, legally, to store the photographs in a way where access to the photographs is restricted and safe as well as if the photographs were compromised, they are in an unreadable form. Prior to me gaining the photographs for training purposes I would need to find out which students would like to parcipate with tesng of my registraon system. Following that, I would have to give them a rundown of how their data will be used and I will have to be ready to erase or delete any data if requested.

To ensure physical security, the raspberry pi containing the database will stay within school grounds, prevenng anyone outside the school geng their hands on or tampering with the raspberry pi and its contents.

Page 17 of 231

Candidate Name: Candidate Number: OpenCV Library: OpenCV will be an essenal library for powering my facial recognion soware as this contains the CASCADES, RECOGNISERS, GRAYSCALE CONVERSION, VIDEO CAPTURE READ/WRITE/SHOW.

JSON Library: This is for wring and reading data that we have saved locally for the labels and training file.

Numpy Library: This is required for converng the pixels into a numpy array for training

Pillow Library: To easily open and manipulate the image, for example, converng it into greyscale.

Python 3.X.X: The code will be wrien in Python 3.X.X hence the program and a compable interpreter is required.

MySQL: This will be required for creang the structured, organised and persistent database.

phpMyAdmin: This will act as the database management system for my database with a useful feature of having a web interface allowing it to be accessed anywhere on the network.

tkinter: This is necessary for the Graphical User Interface for the School Management system.

mysql.connector: To establish a connecon to the database.

- Hardware

As python is able to run on something like a raspberry pi 1 it will not require any expensive new hardware for the program to run. Hence here are the requirements windows suggest for running Windows 7.

Minimum Requirements for Windows 7

1 gigahertz (GHz) or faster 32-bit(x86) or 64 bit (x64) processor

1 gigabyte (GB) RAM (32-bit)

16 GB Hard Disk Space

Monitor – For the teacher to interact with the management system and aain a summary of class aendance. The student also requires a monitor to see if their face has been registered, idenfied correctly and that they have been marked in.

Mouse, Keyboard – Required to enter their username if in a training session or correct name if misidenfied.

Raspberry Pi – To host the database containing student images.

Webcam - This is required to actually take the image of students in the training sessions or when the facial recognion soware is running and actually idenfying the students. The best resoluon would be 480p as this will sufficient detail with a lower file size.

Page 19 of 231

Candidate Name: Candidate Number:

SUCCESS CRITERIA AND REQUIREMENTS

Requirements Justification Tests/Evidence

Confirmaon box pop up once face is detected.

This is required as if anyone is misidenfied, the user can select no and manually enter their name to be manually marked in.

Proposed Soluon

Box around a detected face. This is needed so the user knows which face has been idenfied if there is a frame with mulple faces.

Proposed Soluon

Camera input displayed on the screen

The input from the camera needs to be displayed to the user so they know if their face has been recognised and that they have been marked in.

Proposed Soluon

Aain at least 5 images of students.

These images are required so they can be used to train the recogniser.

Proposed Soluon

Send picture of face to teacher if student is misidenfied.

If a student is signed in twice or a student who is not in the class is signed in is registered.

Proposed Soluon

Encrypted file transfer of users images to database.

Keeping students images encrypted prevents someone from being able to view the images if they intercept the files during data transfer.

Proposed Soluon

Page 20 of 231