Skip to content

exception on FaceAiSharpBundleFactory.CreateFaceDetectorWithLandmarks() #37

@wsoftone

Description

@wsoftone

Hi,
I tried your example to compare two face (code below) and it worked fine on .net maui (win & andtoid).
After making an update of the faceaisharp, the android app throw an exception:
Microsoft.ML.OnnxRuntime.OnnxRuntimeException: '[ErrorCode:NoSuchFile] Load model from /data/data/com.companyname.facerecognitiontest/files/.override/onnx/scrfd_2.5g_kps.onnx failed:Load model /data/data/com.companyname.facerecognitiontest/files/.override/onnx/scrfd_2.5g_kps.onnx failed. File doesn't exist'

On windows it still working. but on Adroid i am getting the exception on this line:
var det = FaceAiSharpBundleFactory.CreateFaceDetectorWithLandmarks();
I am not able to resolve this issue. Can you please help with this. Is it possible to provide an example that works on .net maui for Android.

thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions