SkyBiometry Face Detection and Recognition

KOSTENLOS
Durch skybiometry | Aktualisiert 2 महीने पहले | Media
Popularität

7.8 / 10

Latenz

2,444ms

Service Level

100%

Health Check

N/A

Zurück zu allen Diskussionen

SkyBiometry API: send an image saved on hard disk

Rapid account: Diegofedele Zuf G Ul B Zq Y
diegofedele-zufGUlBZqY
2 वर्ष पहले

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

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen