Azure / Azure/AzureAIVisionFaceUI

Liveness Detection Stops Working & Camera Preview Freezes After Multiple Retries

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
3
Forks
7
Avg merge
15m
Merged PRs (30d)
1

Description

## Description
After performing several liveness detection retries within the AzureAIVisionFaceUI framework, the liveness workflow stops responding. The UI remains active, but no further liveness detection events are triggered. This forces the user to fully exit the camera or restart the feature to continue.

## Steps to Reproduce
1. Launch the liveness detection flow using AzureAIVisionFaceUI in Demo App.
2. Fail or restart the liveness check multiple times (e.g., 3–5 retries).
3. Observe behavior after repeated attempts.
4. Please see attached [screen recording](https://drive.google.com/file/d/1Xs9lX40vzb5siNaPOnzAxSt0yJVG5S8Y/view?usp=sharing)

## Expected Behavior
Liveness detection should continue functioning regardless of how many retries the user performs.
The system should properly reset state and reinitialize detection each time.

## Actual Behavior
After multiple retries, liveness detection stops triggering.
Camera preview freezes.
User must leave and re-enter the flow(or even kill application) to restore functionality.

## Environment
AzureAIVisionFaceUI version: 1.4.5
Device model: iPhone 14 Pro
OS version: iOS 26.1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.