Masking Personal Information

פרמיום
על ידי Arithmer API | מְעוּדכָּן 1ヶ月前 | Visual Recognition
Health Check

N/A

תקרא אותי

Usage example in Python

url = "https://masking-personal-information.p.rapidapi.com/v1/maskFace"

querystring = {"key":"YOUR KEY"}

img = open('xxxxx.jpg', 'br').read()
img = base64.b64encode(img).decode()

payload = "{ /"image/": /"" + img + "/"}"

headers = {
    'x-rapidapi-host': "masking-personal-information.p.rapidapi.com",
    'x-rapidapi-key': "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    'content-type': "application/json",
    'accept': "application/json"
    }

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

text_json = response.json()

with open("masked_data.jpg", "bw") as f:
    f.write(base64.b64decode(text_json["image"].encode()))
עוקבים: 1
אֶמְצָעִי:
אתר מוצר תנאי שימוש
יוצר API:
Rapid account: Arithmer API
Arithmer API
rakuten.api
היכנס כדי לדרג את ה- API
דירוג: 5 - הצבעות: 1