FaceCandidate Class

Namespace: id3.Face

Definition

Represents a candidate in a one-to-many search.
class FaceCandidate
class FaceCandidate implements Finalizable
public partial class FaceCandidate
public class FaceCandidate implements AutoCloseable, Serializable
public class FaceCandidate
typedef struct id3FaceCandidate *ID3_FACE_CANDIDATE;

Usage

faceCandidateInstance = FaceCandidate()
# ...

Explicit destruction

# ...
del faceCandidateInstance
final faceCandidateInstance = sdk.FaceCandidate();
// ...

Explicit destruction

// ...
faceCandidateInstance.dispose()
using (var faceCandidateInstance = new FaceCandidate())
{
   // ...
}

Explicit destruction

var faceCandidateInstance = new FaceCandidate()
// ...
faceCandidateInstance.Dispose()
try (FaceCandidate faceCandidateInstance = new FaceCandidate()) {
// ...
}

Explicit destruction

FaceCandidate faceCandidateInstance = new FaceCandidate();
// ...
faceCandidateInstance.close();
private var faceCandidateInstance: FaceCandidate? = nil
faceCandidateInstance = try FaceCandidate()
ID3_FACE_CANDIDATE hFaceCandidate{};
int err = id3FaceCandidate_Initialize(&hFaceCandidate);
if (err == ID3_SUCCESS) {
    // ...
    id3FaceCandidate_Dispose(&hFaceCandidate);
}

Properties

Name

Type

Description

id

string

ID of the most similar face template as defined in the reference face template list used to perform the search.

score

int

Match score between the face probe template and the most similar one in the reference face template list used to perform the search.

Methods

Name

Description

clone

Clones the FaceCandidate object.