SkyBiometry Face Detection and Recognition

БЕЗКОШТОВНО
(Ким) skybiometry | Оновлено 2ヶ月前 | Media
Популярність

7.5 / 10

Затримки

2,328ms

Рівень обслуговування

100%

Health Check

N/A

Повернутися до всіх обговорень

SkyBiometry API: send an image saved on hard disk

I’m trying to send a photo saved on my pc through the SkyBiometry API but it says “error_message: MISSING_ARGUMENTS - access_token is missing” and I don’t know how to fix it. Can you help me??
this is the code I used:
auth_headers = {
‘api_key’: ‘my_api_key’,
‘api_secret’: ‘my_api_secret’,
‘Content-Type’: ‘application/json’
}

url = ‘http://api.skybiometry.com/fc/faces/detect

files = {‘source’: open(r"C:\Users\Diego\OneDrive\Desktop\API\img\happy.png", “rb”)

    }

data = {‘timeout’: 60

    }

response = requests.post(url, files=files, data=data, headers=auth_headers)

print(response.json())

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення