Skip to content

Instantly share code, notes, and snippets.



Created Dec 11, 2018
What would you like to do?
async function uploadFaceParaDeteccao(imageName) {
let config = {
method: 'POST',
uri: `${faceApi}/detect?returnFaceId=true&returnFaceLandmarks=false`,
headers: {
'Ocp-Apim-Subscription-Key': faceApiKey
json: true,
body: {
url: `${blobReconhecimentoUrl}/${imageName}`
let response = await request(config);
return response;
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.