Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

人脸图存储目录是否可以自定义? #58

Open
AnyLifeZLB opened this issue Dec 19, 2024 · 0 comments
Open

人脸图存储目录是否可以自定义? #58

AnyLifeZLB opened this issue Dec 19, 2024 · 0 comments

Comments

@AnyLifeZLB
Copy link
Owner

AnyLifeZLB commented Dec 19, 2024

暂不支持,目前公共版本SDK 是固定两种类型。其他自定义存储方式涉及到权限管理

    //初始化人脸识别 人脸搜索存储目录,VIP 用户支持自定义存储目录
    //内部私有空间,其他应用不可以访问,卸载应用人脸图一起卸载了
    // https://developer.android.com/training/data-storage?hl=zh-cn
    // Warming: 目前仅能存储在context.getCacheDir() 或者context.getFilesDir()
    // 否则会提示无法找到人脸,VIP 可解除限制
    CACHE_BASE_FACE_DIR = context.getCacheDir().getPath() + "/faceVerify XXX XXXXXXXX/";    //1:1 人脸识别目录
    CACHE_SEARCH_FACE_DIR = context.getFilesDir().getPath() + "/faceSearch XXXXXXXXXXXX/";  //人脸搜索人脸库目录
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant