Last active
November 20, 2015 11:45
-
-
Save kashitan/bfb1e42bae2a521e69a1 to your computer and use it in GitHub Desktop.
FindSimilarFaces APIのサンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(httr) | |
res <- POST(url = 'https://api.projectoxford.ai/face/v0/findsimilars', | |
add_headers('Content-Type' = 'application/json', | |
'Ocp-Apim-Subscription-Key' = '[Subscription key]'), | |
body = '{ | |
"faceId":"[比較元のFace ID]", | |
"faceIds": [ | |
"[比較先のFace ID]", | |
"[比較先のFace ID]", | |
... | |
"[比較先のFace ID]" | |
] | |
}' | |
) | |
content(res) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment