示例#1
0
        private async Task startDetection(MediaFile file)
        {
            faceDetectResult = await CognitiveService.FaceDetect(file.GetStreamWithImageRotatedForExternalStorage());

            //await Task.Delay(5000);
            processing = false;
        }
示例#2
0
        private async Task startDetection(MediaFile file)
        {
            // Appel de la fonction FaceDetect du dossier Services pour l'analyse du visage
            faceDetectResult = await CognitiveService.FaceDetect(file.GetStreamWithImageRotatedForExternalStorage());

            processing = false;
        }
        private async Task starDetection(Stream data)
        {
            faceDetectResult = await CognitiveService.FaceDetect(data);

            processing = false;
        }