Menu

1 / 2

Selfie Clock-In for Field Workers: Face Verification Time Clock in Python

DEV Community: api·AI Engine·16 days ago
#1YnD0oUu
#devtoapi#devto#dev#clock#selfie
Long article (2278 words) — no AI summary yet.
Reading 0:00
15s threshold

Construction crews, cleaning teams, home care workers and security guards rarely start their day in front of a shared time clock. They start at a job site, and they clock in from a phone. A selfie clock-in solves the two problems a plain mobile time clock cannot: was the employee really on site, and was it really them? This tutorial builds one in Python: each punch is accepted only if the selfie matches the employee's profile photo and the GPS position is inside the job site.

We tested the code on seven punches over two days for two employees. To keep everything public, the "employees" are NASA astronauts Jessica Meir and Christina Koch: their official portraits are the profile photos, and photos taken aboard the International Space Station play the selfies. ESA astronaut Sophie Adenot plays a coworker who tries to clock in for someone else. All photos are public domain.

Want to build it?…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.