public async Task <IActionResult> RecognizePersonFace(IFormFile file)
        {
            if (file == null || file.Length == 0)
            {
                return(BadRequest("[file] is required"));
            }

            FaceRecognitionResult response = null;

            using (var fileStream = file.OpenReadStream())
            {
                response = await _faceRecognitionService.RecognizeFaceAsync(fileStream);

                if (response == null)
                {
                    return(NotFound("Person not found in the system. Please register the person first."));
                }
            }

            return(Ok(response));
        }