FaceTracker Class¶
Namespace: id3.Face
Definition¶
class FaceTracker
class FaceTracker implements Finalizable
public partial class FaceTracker
public class FaceTracker implements AutoCloseable, Serializable
public class FaceTracker
typedef struct id3FaceTracker *ID3_FACE_TRACKER;
Usage¶
faceTrackerInstance = id3face.FaceTracker()
Explicit destruction
# ...
del faceTrackerInstance
final faceTrackerInstance = sdk.FaceTracker();
// ...
Explicit destruction
// ...
faceTrackerInstance.dispose()
using (var faceTrackerInstance = new FaceTracker())
{
// ...
}
Explicit destruction
var faceTrackerInstance = new FaceTracker()
// ...
faceTrackerInstance.Dispose()
try (FaceTracker faceTrackerInstance = new FaceTracker()) {
// ...
}
Explicit destruction
FaceTracker faceTrackerInstance = new FaceTracker();
// ...
faceTrackerInstance.close();
private var faceTrackerInstance: FaceTracker? = nil
faceTrackerInstance = try FaceTracker()
ID3_FACE_TRACKER hFaceTracker{};
int err = id3FaceTracker_Initialize(&hFaceTracker);
if (err == ID3_SUCCESS) {
// ...
id3FaceTracker_Dispose(&hFaceTracker);
}
Properties¶
Name |
Type |
Description |
---|---|---|
int |
Confidence threshold, in the range [0;100]. |
|
Model used to detect and track faces. |
||
Model used to create features and assess consistancy among views of a given face. |
||
int |
Minimum match score to reach to preserve the ID of a tracked face between frame ‘t-1’ and frame ‘t’. |
|
int |
Maximum number of consecutive non-detections to reach before deleting a tracked face. |
|
int |
Minimum number of consecutive detections to reach before creating a tracked face. |
|
int |
Non-maximum suppression (NMS) intersection-over-union (IOU) threshold, in the range is [0;100]. |
|
int |
Number of threads to be used for face detection and tracking. |
Methods¶
Name |
Description |
---|---|
Detects faces in an image and update their info in a TrackedFaceList object. |
|
Tracks faces in an image and update their info in a TrackedFaceList object. |
|
Gets the face tracker module ready to work on a specific image size by initializing all its internal memory layout. |