Facial Recognition Access Control: How It Works, Accuracy, Anti-Spoofing & Privacy in Bangladesh
Author
SSAL Technical TeamPublished
Reading time
9 min read

A garments factory in Gazipur replaced its fingerprint access control terminals at all 6 entry gates with facial recognition devices after monsoon season created chronic authentication failures. Workers arriving with wet hands from rain were being rejected repeatedly, causing congestion and daily operational disruption at shift changes. The facial recognition system processed the same workforce faster with a lower rejection rate — and no physical contact with any surface.
Facial recognition access control has evolved from a security research curiosity into the dominant biometric technology for high-throughput, contactless access management. Understanding how it works technically — including its specific strengths and limitations — allows you to deploy it correctly and meet Bangladesh's emerging data protection legal framework.
The Face Recognition Process: Four Stages
Every facial recognition access control system follows the same four-stage pipeline:
Stage 1: Face Detection
The camera continuously scans its field of view for human faces. A real-time object detection algorithm (typically a CNN-based face detector) identifies face regions in each video frame, regardless of lighting, partial occlusion by glasses or scarves, or angle.
Detection accuracy is near-perfect in modern systems under standard conditions: 99.9%+ detection rate for faces within the operational zone (typically 0.5–2 metres from the terminal).
Stage 2: Face Alignment
The detected face region is normalised — corrected for rotation, tilt, and scale — to produce a standardised face image of consistent dimensions. This normalisation ensures that the feature extraction stage receives comparable input regardless of the user's exact position or head angle.
Stage 3: Feature Extraction
The normalised face image is processed by a deep neural network that extracts a high-dimensional feature vector (typically 128–512 dimensions) representing the face's distinctive geometric and textural characteristics. This feature vector is the face template.
The neural network is trained on millions of face images and learns to extract features that are:
- Discriminative: Different between different people
- Consistent: Similar for different images of the same person
- Robust: Stable across lighting variations, aging, expressions, and accessories
Modern deep learning face recognition models achieve template extraction in under 50 milliseconds on modern hardware.
Stage 4: Matching
The extracted template is compared against stored enrolled templates using a similarity metric (typically cosine similarity or Euclidean distance). If the similarity score exceeds the configured threshold (typically representing the top 0.1% probability of a match occurring by chance), the system authenticates the user and opens the door.
For systems with large databases (10,000+ enrolled faces), matching is performed using approximate nearest-neighbour algorithms that maintain sub-second response times even with large enrollment databases.
2D vs. 3D Facial Recognition
2D Face Recognition
Uses a standard visible-light or near-infrared 2D camera. The face template is derived from a 2D image's pixel intensities and geometric relationships.
Advantages: Lower cost hardware, faster processing, adequate for most corporate and factory access control applications.
Vulnerability: A 2D system can potentially be spoofed with a high-quality photograph printed on paper or displayed on a smartphone screen — if liveness detection is not implemented.
3D Depth-Sensing Face Recognition
Uses structured light or time-of-flight (ToF) sensors to map the 3D geometry of the face. A structured light system projects a grid of infrared dots onto the face and measures their distortion to derive a precise depth map.
Advantages: Immune to 2D photograph spoofing (a printed photograph has no 3D depth). Required for highest-security applications.
Limitations: Higher cost hardware. More sensitive to wearing face coverings that alter 3D geometry (masks). Slightly slower than 2D in some implementations.
iPhone Face ID uses 3D structured light — the same technology principle used in high-end access control terminals.
Anti-Spoofing and Liveness Detection
The most important security feature in facial recognition access control is liveness detection — the system's ability to determine that the presented face belongs to a live person, not a photograph, video, or silicone mask.
Types of Liveness Detection
NIR-based liveness (near-infrared): Infrared cameras reveal blood vessel patterns beneath the skin surface. These patterns are absent in printed photographs or displayed screens. Near-infrared liveness detection is a cost-effective, passive method that adds no user interaction requirement.
3D depth liveness: As described above — a 2D photograph has no depth dimension, and the 3D sensor detects this immediately.
Blink detection: The system requests a random eye blink. Photographs do not blink; video replays may have been recorded without a blink at the right moment. Adds slight user interaction requirement.
Motion challenge-response: The system requests a random head movement (turn left, nod). Effective against static photographs and simple video replays.
Deep learning anti-spoofing: A separate neural network trained specifically on spoof attacks analyses the face image for artefacts associated with printing, screens, or silicone masks (moiré patterns, colour distortion, texture artefacts).
ISO 30107-3 Presentation Attack Detection (PAD) Levels
The international standard ISO 30107-3 defines levels of Presentation Attack Detection:
- Level 1 (PAD Level 1): Defends against print attacks (photographs)
- Level 2 (PAD Level 2): Defends against video replay attacks
- Level 3 (PAD Level 3): Defends against 3D artefact attacks (masks)
For enterprise access control in Bangladesh, Level 2 PAD is the recommended minimum. Level 3 is recommended only for the highest-security applications where motivated, sophisticated attackers are anticipated.
Mask Detection
Mask wearing became normalised during and after COVID-19. Modern facial recognition access control systems handle masked subjects in several ways:
Identification with mask: Some systems identify individuals from above-mask features (eyes, nose bridge, forehead). Accuracy is reduced — typically 85–92% compared to 95–99% without masks. This is acceptable for access control with a low FRR threshold.
Mask + card fallback: The system detects a mask is being worn and automatically requires card presentation as an alternative authentication method.
Mask policy enforcement: The system can be configured to deny access to unmasked individuals in environments requiring PPE (clean rooms, healthcare facilities).
ZKTeco SpeedFace-V5L and Hikvision DS-K1T671 series support all three mask modes with configurable policies.
Throughput: Managing Large Workforces
Throughput — the number of authentications per minute — is critical for factory shift changes, hospital shift handovers, and high-density office entrances.
| System | Authentication Speed | Throughput (persons/minute) |
|---|---|---|
| ZKTeco SpeedFace-V5L | <0.3 seconds | 30–40 |
| Hikvision DS-K1T671TM-3XF | <0.5 seconds | 25–30 |
| Dahua DHI-ASI7213X-T1 | <0.3 seconds | 30 |
| Enterprise server-based (multi-lane) | <0.2 seconds | 60+ (multiple lanes) |
For a factory with 600 workers arriving at shift change over 30 minutes, a single terminal at 30 persons/minute processes 900 workers per hour — more than adequate for most single-gate scenarios. For gates with multiple simultaneous arrivals, specify multi-lane configurations with parallel terminals.
Database Capacity and Scalability
Stand-alone terminal databases: Device-stored enrollment databases typically hold 3,000–50,000 faces. ZKTeco SpeedFace-V5L holds 50,000 faces. This is adequate for most single-site deployments.
Server-based matching: For larger deployments — hospitals with thousands of staff, factories with 5,000+ workers — server-based matching is required. The terminal captures a live face image and sends it to an authentication server, which matches against a database of unlimited size. The server returns an authentication result to the terminal in under 1 second over a local network.
Server-based matching enables:
- Unlimited enrollment capacity
- Centralised database management across multiple terminals
- Consistent enrollment across all terminals (one enrollment, access everywhere)
- Centralised audit logging of all authentication events
Outdoor Performance: Sunlight Challenges
Outdoor facial recognition is significantly more challenging than indoor for three reasons:
Direct sunlight overexposure: Bright direct sunlight can saturate the camera sensor, washing out facial features. High Dynamic Range (HDR) cameras or sunshaded mounting positions mitigate this.
IR interference: Outdoor infrared light from the sun can interfere with the infrared liveness detection sensors used in some terminals, reducing liveness detection accuracy.
Temperature range: Outdoor terminals must operate in Bangladesh's temperature range (10°C–45°C ambient, up to 55°C+ in direct sunlight). Verify the terminal's operating temperature specification for outdoor mounting.
Recommended outdoor terminal specifications:
- HDR visible light camera or dedicated NIR camera for liveness detection
- IP65 minimum weatherproofing
- Operating temperature 0°C–60°C
- Sunshade canopy (often an optional accessory)
For outdoor factory gates and building entrances, ZKTeco SpeedFace-V5L and Hikvision DS-K1T671T series are designed with outdoor performance in mind.
PDPO 2025 and Facial Recognition Access Control
Bangladesh Regulatory Callout
PDPO 2025 classifies facial recognition templates as biometric data — a special category of personal data requiring the highest protection level. For organisations deploying facial recognition access control:
Lawful basis: For employee access control, employment contract or legitimate business interest typically provides lawful basis. Document this in your data protection policy.
Explicit consent for visitors: Visitor facial enrollment requires explicit, informed consent. Display a clear notice at the entrance explaining that facial recognition is in use.
Template security: Facial templates must be encrypted at rest and in transit. Access to the enrollment database must be restricted to authorised personnel only, with audit logging of all access.
Template deletion: When an employee leaves, their facial template must be deleted within a reasonable period (recommended: within 30 days of departure). Implement an automated deletion workflow tied to HR offboarding.
Data residency: If using cloud-based facial matching or remote server-based matching hosted outside Bangladesh, verify data residency location and ensure a PDPO-compliant data processing agreement is in place.
Bangladesh Bank IT Rooms: Bangladesh Bank's ICT Security Guideline mandates biometric access control for bank IT rooms. Facial recognition satisfies this requirement. Ensure enrollment database is on-premise or in a PDPO-compliant environment.
Key Takeaways
- Facial recognition follows a four-stage pipeline: detection → alignment → feature extraction → matching
- 3D depth-sensing face recognition is significantly more spoof-resistant than 2D-only systems
- Liveness detection (NIR-based or 3D depth) is mandatory for any security application — do not deploy face recognition without it
- Modern systems achieve 30+ persons/minute throughput — sufficient for most Bangladesh factory and office applications
- Mask detection is a standard feature on current-generation terminals; configure the appropriate policy for your facility
- Outdoor deployment requires HDR cameras, IP65+ housing, and careful sunshade positioning
- PDPO 2025 requires lawful basis, template encryption, deletion on departure, and visitor consent — these are not optional
Ready to Deploy Facial Recognition Access Control?
SSAL designs and installs facial recognition access control systems across Bangladesh, from single-door office installations to 6-gate factory deployments managing thousands of workers. Our team configures liveness detection, mask policies, and PDPO 2025-compliant template management as part of every installation.
Contact SSAL for a free facial recognition access control consultation:
- Phone: +880 1799-986890
- Email: info@smartsafety.com.bd
- Web: www.smartsafety.com.bd
- Office: Youth Tower Level 2, 822/2 Rokeya Sarani, Dhaka-1216
Want to evaluate facial recognition performance with your actual workforce? Request a pilot installation — we install a trial terminal at your main entrance for 30 days, measure real-world FAR, FRR, and throughput, and provide a performance report before you commit to a full deployment.
Filed under
- facial recognition
- access control
- anti-spoofing
- liveness detection
- PDPO 2025
- ZKTeco
- Hikvision
- Bangladesh
- biometric
- mask detection
SSAL Technical Team
SSAL engineering team — Bangladesh-focused technical writing on security, fire-safety, ICT, and building technology.
Related Articles
Biometric Access Control for Bangladesh Factories: Managing Large Workforces & Compliance
Manage large factory workforces with biometric access control. ZKTeco recommendations, BGMEA compliance, HR integration, and contractor management for Bangladesh RMG factories.
OpenHow Biometric Access Control Works: Fingerprint, Facial Recognition, Iris & Vein Technology Explained
Understand how fingerprint, facial recognition, iris, and vein biometric access control works. FAR/FRR rates, Bangladesh humidity effects, and PDPO 2025 compliance.
OpenCloud-Based vs. On-Premise Access Control: Which Is Right for Bangladesh Enterprises?
Compare cloud and on-premise access control for Bangladesh businesses. Internet dependency, PDPO 2025 biometric data sovereignty, offline mode, and cost analysis.
OpenNeed Help Choosing the Right Solution?
SSAL engineers respond to RFQ submissions within 1 business day with a scoping call request.
- 48-hour site survey
- Free consultation
- 24/7 priority support