A student attendance system using a Raspberry Pi