Skip to content

Instantly share code, notes, and snippets.

@kashitan
Last active November 20, 2015 10:11
Show Gist options
  • Save kashitan/c9d5ed745122522775da to your computer and use it in GitHub Desktop.
Save kashitan/c9d5ed745122522775da to your computer and use it in GitHub Desktop.
Verification APIのサンプル
library(httr)
res <- POST(url = 'https://api.projectoxford.ai/face/v0/verifications',
add_headers('Content-Type' = 'application/json',
'Ocp-Apim-Subscription-Key' = '[Subscription key]'),
body = '{
"faceId1":"[比較元のFace ID]",
"faceId2":"[比較先のFace ID]"
}'
)
content(res)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment