$ cat face-antispoofing/README.md
Winter 2025 · CIS 589 Edge Computing, M.S. AI, University of Michigan-Dearborn · Dearborn, MI

Face anti-spoofing on a Jetson Nano

An edge system that checks whether a face in front of a camera is a live person or a presentation attack, and sends an email alert when an unauthorized person is seen. Detection and the spoof check run on the device; only the alert goes out over the network.

Role
Built for CIS 589 Edge Computing (Winter 2025) in the M.S. in AI: hardware setup, detection pipeline and cloud alerting
Goal
Detect and reject spoofed face presentations on the device, alert on unauthorized access
Stack
NVIDIA Jetson Nano · DeepFace · SIFT · OpenCV · PyTorch · MQTT · AWS IoT Core · AWS Lambda · S3
Problem

Detecting a spoofed face on the device, with only alerts leaving over the network

The system can't send raw frames to a server for analysis: the spoof check runs locally on the Jetson. The only outbound traffic is the alert, which goes through MQTT to AWS IoT Core when an unauthorized person is detected.

Setup
01Frame ingestion: camera frames are piped to the Jetson Nano over MQTT.
02Face detection and identification: DeepFace, a pre-built library, finds the face in the frame and identifies it. This was integration work, not model training.
03Spoof check: SIFT keypoint analysis on the detected face region classifies the face region as genuine or spoofed.
04Alerting: results are published over MQTT to AWS IoT Core. An AWS Lambda function emails the user when an unauthorized person is detected.
05Framework path: prototyped in TensorFlow, then moved the deployed path to PyTorch and OpenCV. Code was stored in S3.
Results

Qualitative evaluation only

This project was evaluated qualitatively. No on-device FPS, per-frame latency or spoof-detection accuracy numbers are reported here.

Limitations
  • No quantitative evaluation is reported.
  • The spoof check uses SIFT keypoint analysis rather than a trained anti-spoofing model.
  • Face detection and identification use DeepFace, a pre-built library; that part was integration work rather than model training.
Skills demonstrated
edge deploymentNVIDIA Jetson NanoDeepFaceSIFTOpenCVPyTorchTensorFlow (prototype)MQTTAWS IoT CoreAWS LambdaS3