SkyBiometry Face Detection and Recognition

GRATUIT
Par skybiometry | Mise à jour vor 2 Monaten | Media
Popularité

7.5 / 10

Latence

2,336ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

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())

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires