ID Liveness API
ID 문서의 진위 여부를 확인하기 위해 이미지를 분석하여 변조나 위조 여부를 검증합니다
요청 시 유의사항
idImage에는 이미지 파일의 바이트를 base64로 인코딩한 문자열을 넣습니다.data:image/png;base64,같은 접두사 없이 인코딩된 문자열만 넣습니다.pipelines의sr,pc,ps는 모두 필수이며 boolean 값입니다.callbackUrl을 넣으면 요청이 비동기로 처리되어 결과가 해당 URL로 전달됩니다. 응답으로 바로 결과를 받으려면callbackUrl을 넣지 않습니다.- 플레이그라운드에서 테스트할 때도
idImage칸에 같은 base64 문자열을 붙여 넣습니다.
응답 속성
screenReplay- liveness_scorepaperPrinted- liveness_scorereplacePortraits- liveness_score
1001- Workspace is unavailable | 워크스페이스를 사용할 수 없습니다1003- Fail to process data | 데이터 처리에 실패했습니다1005- idImage is required | idImage가 필요합니다1007- pipelines is required | pipelines가 필요합니다1008- invalid pipelines format | 잘못된 pipelines 형식입니다1009- Fail to analyze document | 문서 분석에 실패했습니다1010- callbackUrl is required | callbackUrl이 필요합니다
관련 문서
ID 라이브니스 개요
이미지 모범 사례
콜백 응답 예시
인증
본문
The ID document image to analyze for liveness detection, as a base64-encoded string. Encode the bytes of the image file and send only the encoded string, without a data URI prefix such as data:image/png;base64,. The image should contain a clear view of the ID document.
Forgery detection options object
Use the upcoming version of the liveness engine
Optional callback URL where the liveness detection results will be sent upon completion. If provided, the process works asynchronously.
"https://your-domain.com/callback"
