How to check a selfie is a real person, not a photo
Updated 21 November 2026
Short answer
Run a liveness check. Passive liveness judges a single selfie; active liveness asks the person to follow random head movements on camera, which also catches replayed videos and photos held up to a screen. Since March 2026 the CBN has required a liveness check whenever an account is opened or reactivated online; use active liveness and match the face with the photo on the national identity record.
What fraudsters try
- A printed photo of the real customer.
- A photo or video of the customer shown on another phone or screen.
- A recording replayed into the camera.
- Their own face on someone else’s identity.
- The same face opening many accounts under different names.
Passive or active liveness
| Passive | Active | |
|---|---|---|
| What the person does | Takes one selfie | Follows random head-turn prompts |
| Catches | Printed and on-screen photos, judged from one frame | Printed and on-screen photos, plus replayed video, judged across many frames |
| How it is protected | Image analysis on one frame | A single-use session with a server nonce, timing and replay checks |
| Best for | Low-risk sign-up and re-checks | Account opening, lending and payouts |
How active liveness works
The session asks for a centred face, then up to three moves at random from turn left, turn right, look up and look down. Opposite moves are never asked back to back.
Frames are checked for timing, one consistent face, each move completed, image quality and signs of a replay or a screen. A pass needs every check to pass, and each session works once.
Tie the face to an identity
Liveness proves a real person is present. To prove who they are, verify their NIN with the same selfie: Speedmap compares it with the photo on the national identity record.
Duplicate-face search is on by default. A face already enrolled in your workspace under another identity is flagged.
For banks, fintechs and payment companies, liveness is a CBN requirement. The CBN’s circular of 12 March 2026 on instant payments requires a liveness check and real-time BVN or NIN validation whenever an account is opened online or reactivated, and the Customer Due Diligence Regulations 2023 already asked for an additional check against impersonation for customers not met in person.
Fewer false failures
- Ask for good, even light and the front camera.
- Keep the face centred and fully in frame, with no cap or dark glasses.
- Use the Capture SDK or a hosted link, which guide the person through each move.
- Let people retry in a new session rather than resubmitting the same frames.
Example: passive check on one selfie
curl -X POST https://api.speedmap.io/v1/verify/face \
-H "Authorization: Bearer sk_test_..." \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"image": "<base64 selfie>",
"reason": "financialProducts"
}'Sources
- CBN circular PSP/DIR/PUB/CIR/001/001 (12 March 2026): additional functionalities for instant payment, summarised by Aluko & Oyebode
- CBN Customer Due Diligence Regulations 2023 (regulation 35, non-face-to-face customers)
This guide explains the rules in plain language. It is not legal advice.
Questions
- Do I need an SDK?
- Not for passive liveness: send any JPEG as Base64. Active liveness runs in the Capture SDK or on a hosted capture page.
- Can liveness tell me who the person is?
- No. Liveness proves presence. Combine it with NIN plus selfie to match the face with an identity.
- Does the CBN require a liveness check?
- Yes, for online onboarding. The CBN’s circular of 12 March 2026 requires a liveness check and real-time BVN or NIN validation when an account is opened online or reactivated.
Related services
- Free test mode
- Purpose code on every check
- Pay per check, no monthly fee
Start verifying in minutes. Go live when you’re ready.
Create your account in under a minute and explore the full dashboard. We switch your workspace live after a short compliance review.