SkyBiometry Face Detection and Recognition

免费
通过 skybiometry | 已更新 il y a 2 mois | Media
人气

7.7 / 10

延迟

2,315ms

服务等级

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

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论