CVFaceRecognizerSF - matt-s-clark/godot-gdextension-opencv GitHub Wiki
Implementation of SFACE face recognition. More information here.
align_crop
Prototype: CVMat align_crop(CVMat src_img, CVMat face_box)
Aligns detected face with the source input image and crops it.
feature
Prototype: CVMat feature(CVMat aligned_img)
Extracts face feature from aligned image.
match
Prototype: float match(CVMat face_feature1, CVMat face_feature2, Dictionary additional_parameters)
Calculates the distance between two face features.
- Additional parameters: dis_type: Int
create
Prototype: static CVFaceRecognizerSF create(String model, String config, Dictionary additional_parameters)
Creates an instance of this class with given parameters.
- Additional parameters: backend_id: Int, target_id: Int