Skip to content

Potential issue? [coreml] Failed to get the home directory when checking model path #44

@Dr-Zhi

Description

@Dr-Zhi

Hi,

This is a great plugin that I've found very promising to be used in my project. But when I was trying the ImageReader app, it could not recognize any string from image. And Xcode shows error messages like this:

[coreml] Failed to get the home directory when checking model path

Did you see such issue before? Wondering if there is configuration incorrect on my side. But I did not do anything except following the README file.

Thanks!

Appendix: the full log:

2022-11-28 11:36:26.575162-0800 App[46081:18346803] [AXRuntimeCommon] Unknown client: App
⚡️ TO JS {"exif":{"PixelYDimension":2532,"PixelXDimension":1170,"ColorSpace":1},"webPath":"capacitor://localhost/capacitor_file/Users/yanling/Library/Developer/CoreSimulator/Devices/E2544E30-426D-4546-B07A-7C38FB6D13E3/data/Containers/Data/Applicati
⚡️ To Native -> CapML detectText 19700326
2022-11-28 11:36:28.991429-0800 App[46081:18347629] [coreml] Failed to get the home directory when checking model path.
2022-11-28 11:36:29.140541-0800 App[46081:18347629] Metal API Validation Enabled
2022-11-28 11:36:30.076851-0800 App[46081:18347629] [coreml] Failed to get the home directory when checking model path.
⚡️ TO JS {"textDetections":[]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions