Loading…

AI Face Recognition Gateway Interface Instructions for Use

#Interface address + Face detection [https://api.it120.cc/gate/faceAI/detectFaces](https://api.it120.cc/gate/faceAI/detectFaces) + Face comparison [https://api.it120.cc/gate/faceAI/compareFaceFeature](https://api.it120.cc/gate/faceAI/compareFaceFeature) + Extract facial features [https://api.it120.cc/gate/faceAI/faceFeature](https://api.it120.cc/gate/faceAI/faceFeature) + Liveness detection [https://api.it120.cc/gate/faceAI/livenessInfo](https://api.it120.cc/gate/faceAI/livenessInfo) # Select startup module ![](https://dcdn.it120.cc/yuque/0/2022/png/572726/1663337278278-1e826672-54cc-4a26-bf11-febe555b20ff.png) # Interface description ## Calling method POST method Public parameters: + merchantNo apifm merchant number + merchantKey apifm merchant key ![](https://dcdn.it120.cc/yuque/0/2022/png/572726/1663337449934-61c139e3-11c8-4ad3-8bea-2d7de4ead314.png) ## Face detection Given a photo, the face area positioning value is returned. You can circle each face frame on the picture based on the returned area coordinates. Business parameters: + picUrl The network address of the picture to be detected Request sample screenshot: ![](https://dcdn.it120.cc/yuque/0/2022/png/572726/1663337859943-3198ceba-aeb0-47ec-9260-765483044013.png) ## Face comparison Given two photos, return the similarity of the two faces. If it is greater than or equal to 0.8, it can be considered to be the same person. Business parameters: + sourcePicUrl The network address of the face photo + targetPicUrl The network address of the face photo Request sample screenshot: ![](https://dcdn.it120.cc/yuque/0/2022/png/572726/1663337883382-789d56d1-dc24-40ee-a853-9a3f3b837135.png) ## Extract facial features Given a photo of a face, extract the eigenvalues of the face. Essentially, face comparison is also done through eigenvalues. Business parameters: + picUrl The network address of the face photo Request sample screenshot: ![](https://dcdn.it120.cc/yuque/0/2022/png/572726/1663337900995-bd21992c-7fce-4171-86e5-dee8fa6d434e.png) ## Liveness detection Given a face photo, return body information: age, gender, etc. Business parameters: + picUrl The network address of the face photo Request sample screenshot: ![](https://dcdn.it120.cc/yuque/0/2022/png/572726/1663337935890-69b07a88-6877-42a7-a20a-27fa656a9a22.png)