SkyBiometry Face Detection and Recognition

無料
よって skybiometry | 更新済み לפני חודשיים | Media
人気

7.5 / 10

レイテンシー

2,336ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

SkyBiometry API: send an image saved on hard disk

Rapid account: Diegofedele Zuf G Ul B Zq Y
diegofedele-zufGUlBZqY
לפני 3 שנים

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

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿