Face Enroll

FREEMIUM
Verified
Por PresentID | Atualizado 4달 전 | Visual Recognition
Popularidade

7.1 / 10

Latência

968ms

Nível de serviço

100%

Voltar para todos os tutoriais (2)

Login By Face

import requests


url = "https://face-enroll1.p.rapidapi.com/Login"

payload = "-----011000010111000001101001\r
Content-Disposition: form-data; name=\"photo\"\r
\r
\r
-----011000010111000001101001\r
Content-Disposition: form-data; name=\"personID\"\r
\r
<REQUIRED>\r
-----011000010111000001101001--\r
\r
"
headers = {
    'content-type': "multipart/form-data; boundary=---011000010111000001101001",
    'x-rapidapi-key': "f485496ab8msh2ea068a0bbe333cp179f86jsn2b4afe8962dd",
    'x-rapidapi-host': "face-enroll1.p.rapidapi.com"
    }

response = requests.request("POST", url, data=payload, headers=headers)

print(response.text)

If the value of the isLoginfield is true, the submitted image matches the enrolled user.

Avaliação: 5 - Votos: 1