Repository navigation
Liveness reject floor; searchable country screen with the full country list - #11
Merged
Merged
Conversation
A failed liveness check is declined only below livenessRejectThreshold (default 0.2, a clear spoof); from the floor up it is borderline and goes to manual review. Laptop webcams often score just under 0.5 on a real person, which used to be an automatic decline. The floor may not sit above the liveness threshold; it is editable in the dashboard. A failed challenge sequence now scores 0, so it is always declined.
The country step is a search box over a scrollable list, matching names from the start of any word and ignoring accents, or a two-letter code, with the preselected country on top. The list was missing about 50 issuing countries and territories (Cote d'Ivoire, Palestine, Kosovo, Taiwan, Hong Kong, ...); it is regenerated from the ISO 3166-1 regions plus Kosovo, alphabetically.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Liveness reject floor. After 2.3.5 fixed the framing, a real person on a laptop webcam scored
realProbability0.46 with a correct crop (faceHeightRatio0.37,cropScale2.42), and was still declined.livenessRejectThreshold, default0.2, set under Settings → Verification thresholds.LIVENESS_LOW_CONFIDENCE).livenessThreshold, enforced by the API and the dashboard.Searchable country screen.
Tests