Skip to main content
QUICK REVIEW

[Paper Review] Real-Time Face Recognition System

Adarsh Ghimire, Naoufel Werghi|arXiv (Cornell University)|Apr 19, 2022
Face and Expression RecognitionComputer Science8 citations
TL;DR

This paper presents a real-time face recognition system using YOLOv5n0.5 for fast, accurate face detection and MobileFaceNet for efficient face verification, achieving 152 FPS on Jetson TX2 after TensorRT optimization and 75 FPS regardless of face count, enabling robust real-time deployment on robot platforms.

ABSTRACT

Over the past few decades, interest in algorithms for face recognition has been growing rapidly and has even surpassed human-level performance. Despite their accomplishments, their practical integration with a real-time performance-hungry system is not feasible due to high computational costs. So in this paper, we explore the recent, fast, and accurate face recognition system that can be easily integrated with real-time devices, and tested the algorithms on robot hardware platforms to confirm their robustness and speed.

Motivation & Objective

  • Address the computational bottleneck in real-time face recognition systems by optimizing both detection and verification components.
  • Enable integration of state-of-the-art face recognition into resource-constrained robot platforms with real-time performance.
  • Overcome the high latency of traditional face detectors and heavy verification models in embedded systems.
  • Achieve high accuracy and speed simultaneously for deployment on edge devices like Jetson TX2.
  • Demonstrate system robustness under varying lighting, face size, and multi-face scenarios on embedded hardware.

Proposed method

  • Selected YOLOv5n0.5 as the face detector due to its balance of speed, accuracy, and compatibility with PyTorch on embedded systems.
  • Optimized the YOLOv5n0.5 model using TensorRT to significantly improve inference speed on Jetson TX2.
  • Chose MobileFaceNet for face verification due to its low FLOPS, small model size (4 MB), and high accuracy (99.55% on LFW).
  • Applied quantization to MobileFaceNet weights to stabilize inference speed on Jetson TX2, maintaining 75 FPS even with increasing face counts.
  • Evaluated performance across multiple platforms: CPU, Colab GPU, and Jetson TX2, to ensure cross-platform compatibility.
  • Integrated the optimized detection and verification models into a full pipeline for real-time face recognition on robot hardware.

Experimental results

Research questions

  • RQ1Can a lightweight, fast, and accurate face detection model be effectively deployed on edge devices like Jetson TX2?
  • RQ2How does model optimization via TensorRT impact the inference speed of deep learning-based face detectors on embedded platforms?
  • RQ3Can a face verification model maintain consistent real-time performance regardless of the number of faces in a frame?
  • RQ4What is the trade-off between model accuracy, FLOPS, and inference speed when selecting face recognition components for real-time systems?
  • RQ5Is it feasible to achieve human-level face recognition performance in real-time on low-power robot platforms?

Key findings

  • YOLOv5n0.5 achieved 152 FPS on Jetson TX2 after conversion to TensorRT, a 10x improvement over the original PyTorch implementation.
  • The optimized YOLOv5n0.5 model maintained high accuracy with 90.8% and 73.8% on WiderFace easy and hard sets, respectively.
  • MobileFaceNet achieved 75 FPS on Jetson TX2 regardless of the number of faces in the frame, demonstrating stable real-time performance.
  • Quantization of MobileFaceNet weights preserved performance on CPU but significantly improved and stabilized inference speed on Jetson TX2.
  • The combined system achieved real-time performance (152 FPS for detection, 75 FPS for verification) on a single Jetson TX2 board.
  • The system demonstrated robustness in challenging conditions such as low light and small face sizes, outperforming traditional detectors like Dlib and Haar Cascade.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.