Created
October 4, 2018 01:15
-
-
Save vmussak/748ee641d6430ecf73d3da9df68b8056 to your computer and use it in GitHub Desktop.
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
async function _atualizarReconhecimentoFacial(idCliente, imagem) { | |
let imageName = `${idCliente}.jpg`; | |
await azureStorage.upload('cliente', imageName, imagem); | |
let face = await reconhecimentoFacial.uploadImagem(imageName); | |
let faceId = face.persistedFaceId; | |
await repository.atualizarFaceId(idCliente, faceId); | |
reconhecimentoFacial.treinarReconhecimento(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment