Face Enroll

フリーミアム
Verified
よって PresentID | 更新済み 6ヶ月前 | Visual Recognition
人気

7.6 / 10

レイテンシー

1,478ms

サービスレベル

100%

すべてのチュートリアルに戻る (2)

Enroll By Face

import requests


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

payload = "-----011000010111000001101001\r
Content-Disposition: form-data; name=\"email\"\r
\r
yourname@example.com\r
-----011000010111000001101001\r
Content-Disposition: form-data; name=\"photo1\"\r
\r
\r
-----011000010111000001101001\r
Content-Disposition: form-data; name=\"photo2\"\r
\r
\r
-----011000010111000001101001\r
Content-Disposition: form-data; name=\"group\"\r
\r
example.com_Users\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)
評価:5-投票:1