Unable to retrieve face landmark information from detect face array


I’m trying to build a facial recognition process using UiPath and I’ve managed to detect the image by passing it to a variable under the object type as UiPath.MicrosoftFace.Face. However, Face Landmark methods are under a specific type Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceLandmarks where I’ve tried to change the type argument but continued to receive an error message.

Error message is Check Detect Faces: Unable to cast object of type ‘UiPath.MicrosoftFace.Face’ to type ‘Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceLandmarks’.

Please can you advise how I can overcome this issue?