insightface icon indicating copy to clipboard operation
insightface copied to clipboard

The cpp sample hasn't been updated?

Open shi-yan opened this issue 10 months ago • 1 comments

I think the cpp sample for face detection hasn't been updated:

the code requests face_detect

    INSPIRE_LAUNCH->Load("test_res/pack/Megatron");
    auto archive = INSPIRE_LAUNCH->getMArchive();
    auto ret = archive.LoadModel("face_detect", detModel);

but the models included in the zip file doesn't have it:

== Megatron v0.1.3 ==
yaml tag
yaml version
yaml face_detect_160
yaml face_detect_320
yaml face_detect_640
yaml landmark
yaml refine_net
yaml pose_quality
yaml feature
yaml mask_detect
yaml rgb_anti_spoofing
yaml face_attribute
yaml blink_predict
detection model loaded -13

shi-yan avatar Jan 18 '25 00:01 shi-yan