Skip to content

Instantly share code, notes, and snippets.

@kashitan kashitan/similar.R
Last active Nov 20, 2015

Embed
What would you like to do?
FindSimilarFaces APIのサンプル
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
You can’t perform that action at this time.