Mobile App Face Recognition Implementation

NOVASOLUTIONS.TECHNOLOGY is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
Mobile App Face Recognition Implementation
Complex
~1-2 weeks
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1052
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

Face Recognition Implementation in Mobile Applications

Face recognition in a mobile app is technically one of the most complex computer vision tasks, legally one of the most sensitive. Incorrectly implemented anti-spoofing opens vulnerability to bypass via photograph. Non-compliance with GDPR or local regulations becomes a regulatory issue. We address both.

Face Recognition System Architecture

The recognition pipeline consists of three independent steps:

  1. Detection — find face in frame, get bounding box and landmarks.
  2. Verification/Identification — get face embedding (128- or 512-dimensional vector) and compare with reference base.
  3. Anti-Spoofing — ensure it's a live person, not photo/video/mask.

Skipping the third step creates a system bypassed by any printed photograph.

Detection and Landmarks

On iOS: VNDetectFaceLandmarksRequest from Vision framework returns VNFaceObservation with landmarks (76 points: face contour, eyebrows, nose, lips, eyes) and boundingBox. On-device, no network, ~8–15 ms on iPhone 12.

On Android: ML Kit Face Detection with FaceDetectorOptions.ACCURATE returns FirebaseFace with 468 points when setContourDetectionEnabled(true) is enabled—full face mesh, not just keypoints. Heavier but needed for precise face alignment before embedding.

Face alignment before embedding inference is critical. Without eye-aligned alignment, face recognition accuracy drops 15–25%. Geometrically: find eye centers, compute rotation angle, affine transform to standard position (eyes at 1/3 from top, symmetric).

Embedding and Comparison

Standard choices: FaceNet (128D) or ArcFace (512D). FaceNet available as TFLite model. ArcFace more accurate but heavier. For mobile: FaceNet INT8 — 12 MB, ~35 ms inference on Pixel 6.

Cosine distance between vectors is the main metric. Threshold for "same face": typically cosine similarity > 0.75. Threshold is dataset-specific, not universal.

Store reference embeddings in encrypted Keychain (iOS) or EncryptedSharedPreferences / Android Keystore (Android). Never store original photos. Embeddings are theoretically irreversible; photos are not.

Anti-Spoofing: Critical

Two approaches:

Passive — model analyzes skin texture and optical artifacts of photo/screen. MiniFASNet, Silent-Face-Anti-Spoofing. Works without user action but weaker against 3D masks.

Active — challenge-response: "blink," "turn head left." Implementation: sequence of VNDetectFaceLandmarksRequest with Eye Aspect Ratio (EAR) change analysis for blink detection, or Head Pose Estimation via VNFaceObservation.yaw/roll/pitch.

For banking and fintech apps, combine: passive anti-spoofing + active challenge. For corporate access, passive suffices.

Regulatory Requirements

Biometric data (face embedding is biometrics per GDPR article 9 and local regulations) requires explicit user consent separate from general ToS. Storing embeddings in cloud requires encryption in transit and at rest, plus DPA with provider. Apps in regulated jurisdictions face additional data localization requirements.

App Store Review Guidelines section 5.1.1 explicitly forbids collecting biometrics without permission. Review rejection on this point is common.

Timeline

Detection + identification on-device without anti-spoofing: 1–2 weeks. Full pipeline with anti-spoofing, encrypted reference storage, and compliance audit: 3–4 weeks. Cost calculated individually.