This project is not worked on and should be rewritten if you want to build upon this.
To what extent can a camera system help increase the skills of the students by opening up collaborative learning for the Nurse Education at NTNU Gjøvik, and can this system be used as a basis for giving assessment in the subject? And how can it help sensors grade students?
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
Windows 10 or Linux based OS (Ubuntu, Fedora, Zorin OS.. etc)
Python 3.6 or above
OBS Studio 25.0.8 or above
obs-websocket - Remote-control OBS Studio from WebSockets
It is recommended you install the ISO file on a sd card, and not installing everything yourself.
But if you want to run it on another server you need to install Flask, Requests, asyncio, mfrc522, sqlite3.
Check requirements.txt for detailed info about required files and software.
Installation for specific systems
Each of these can be installed by running this command in windows 10
pip install flask requests asyncio
or if you are on a linux based OS.
sudo pip3 install flask requests asyncio
For sqlite you install it with
sudo apt-get install sqlite3
If you want to use RFID scanner, install mfrc522 with pip.
Web-server
This program should be run with uWSGI and Nginx for optimal performance and load balancing.
For first time installation go to IP/install (ex 192.168.0.1/install)
To check if the user actually exists, we do a simple comparison against our database record, and if he or she doesn't exists, we redirect them to our registration page.
def user_exist(x):
def check_if_user_exists(user):
db = Database()
usr = db.student_exists(user)
return usr
res = check_if_user_exists(x)
return res
The code is made to be simple and expanded upon as time goes on. This basic setup is what we use to check if as user exists based on input made to our index page. There is no sanitization, as most people wont have access to this website at all.
exists = user_exist(saved)
session['account'] = form_data['studentID']
session.permanent = True
if exists is True:
session['f_name'] = Database().get_user_f_name(session['account'])
Install on a SD card for use in Raspberry Pi 3 or above.
Write the ISO file to SD card, and it should work.
- Flask - The web framework used
- Nginx - Open Source Web server
- uWSGI - Application servers
- Python 3.6+ - Programming language
- André Tølen Lønvik - Backend developer - Burning-Panda
- Kay André Smådal - Frontend designer
- Christian Ringlund - Technician and Frontend developer
See also the list of contributors who participated in this project.
This project is a bachelor project, and has limited access. Please don't distibute these files. License after 02.06.2020 CC BY-NC-SA 4.0
- "Department of Health Sciences in Gjøvik" for bringing us this assignment.
- NTNU i Gjøvik
- Veileder Kjell Are