public class TrackedFaceList extends java.lang.Object implements java.lang.AutoCloseable, java.io.Serializable, java.lang.Iterable<TrackedFace>
| Constructor and Description |
|---|
TrackedFaceList()
Creates a new instance of the TrackedFaceList class.
|
TrackedFaceList(long handle)
Creates a new instance of the TrackedFaceList class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(TrackedFace trackedFaceItem)
Adds an item to the TrackedFaceList object.
|
void |
clear()
Clears the TrackedFaceList object.
|
TrackedFaceList |
clone()
Creates a copy of the TrackedFaceList object.
|
void |
close()
Releases all resources used by this TrackedFaceList.
|
protected void |
finalize()
Finalizer for this class.
|
TrackedFace |
findTrackedFace(int id)
Finds a tracked face by ID.
|
TrackedFace |
get(int index)
Gets an item of the TrackedFaceList object.
|
int |
getCount()
Gets the number of elements in the TrackedFaceList object.
|
long |
getHandle()
Gets the native handle.
|
int[] |
getIdList()
Gets the list of IDs in the list.
|
TrackedFace |
getLargestFace()
Gets the largest face in the list.
|
java.util.Iterator<TrackedFace> |
iterator() |
void |
removeAt(int index)
Removes an element of the TrackedFaceList object.
|
void |
rescaleAll(float scale)
Rescales all tracked faces in the list.
|
void |
resize(int newSize)
TrackedFaceList object.
|
void |
set(int index,
TrackedFace trackedFaceItem)
Sets an item of the TrackedFaceList object.
|
public TrackedFaceList()
throws FaceException
FaceException - An error has occurred during Face Library execution.public TrackedFaceList(long handle)
throws FaceException
handle - Handle to the TrackedFaceList.FaceException - An error has occurred during Face Library execution.public void close()
close in interface java.lang.AutoCloseableprotected void finalize()
finalize in class java.lang.Objectpublic long getHandle()
public TrackedFaceList clone() throws FaceException
clone in class java.lang.ObjectFaceException - An error has occurred during Face Library execution.public void clear()
throws FaceException
FaceException - An error has occurred during Face Library execution.public void add(TrackedFace trackedFaceItem) throws FaceException
trackedFaceItem - TrackedFace item to add.FaceException - An error has occurred during Face Library execution.public TrackedFace get(int index) throws FaceException
index - Index of the TrackedFace item to get.FaceException - An error has occurred during Face Library execution.public void set(int index,
TrackedFace trackedFaceItem)
throws FaceException
index - Index of the TrackedFace item to set.trackedFaceItem - TrackedFace item to set.FaceException - An error has occurred during Face Library execution.public int getCount()
throws FaceException
FaceException - An error has occurred during Face Library execution.public void removeAt(int index)
throws FaceException
index - Index of the TrackedFace item to remove.FaceException - An error has occurred during Face Library execution.public void resize(int newSize)
throws FaceException
newSize - TrackedFace object.FaceException - An error has occurred during Face Library execution.public TrackedFace findTrackedFace(int id) throws FaceException
id - ID of the tracked face to find in the list.FaceException - An error has occurred during Face Library execution.public int[] getIdList()
throws FaceException
FaceException - An error has occurred during Face Library execution.public TrackedFace getLargestFace() throws FaceException
FaceException - An error has occurred during Face Library execution.public void rescaleAll(float scale)
throws FaceException
scale - Scale factor to apply. Range is [0;+inf[.FaceException - An error has occurred during Face Library execution.public java.util.Iterator<TrackedFace> iterator()
iterator in interface java.lang.Iterable<TrackedFace>Copyright © id3 Technologies. All rights reserved. eu.id3.face