eu.id3.face

## Enum TrackingStatus

- java.lang.Object
- - java.lang.Enum<TrackingStatus>
  - - eu.id3.face.TrackingStatus

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TrackingStatus>

      public enum TrackingStatus
      extends java.lang.Enum<TrackingStatus>

  Enumerates the possible face-tracking statuses.

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant and Description
    `CONFIRMED` The face was detected and tracked for the required number of consecutive frames, hence the track is confirmed.
    `DELETED` The face was missed for too many frames, the track is over.
    `INITIALIZED` A face was detected and a track is initialized.
    `NONE` No status.
    `TEMPORARY_LOST` The face was missed for at least one frame.

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static TrackingStatus` | `fromValue(int value)` Creates an enumeration value from int.
    `int` | `getValue()` Gets the enumeration value as int.
    `static TrackingStatus` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static TrackingStatus[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

    - ### Methods inherited from class java.lang.Enum

      `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Enum Constant Detail

    - #### NONE

          public static final TrackingStatus NONE

      No status.

    - #### INITIALIZED

          public static final TrackingStatus INITIALIZED

      A face was detected and a track is initialized. Once the required number of consecutive detections will be reached (see MinimumTrackedFaceAge in FaceTracker), the track will move on to 'Confirmed' status.

    - #### CONFIRMED

          public static final TrackingStatus CONFIRMED

      The face was detected and tracked for the required number of consecutive frames, hence the track is confirmed.

    - #### TEMPORARY_LOST

          public static final TrackingStatus TEMPORARY_LOST

      The face was missed for at least one frame. It can come back to 'Confirmed' if it is re-detected or move on to 'Deleted' if it keeps being missed for a given number of consecutive frames (see MinimumTrackedFaceAge in FaceTracker).

    - #### DELETED

          public static final TrackingStatus DELETED

      The face was missed for too many frames, the track is over. Remark: this state is purely internal.

  - ### Method Detail

    - #### values

          public static TrackingStatus[] values()

      Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

          for (TrackingStatus c : TrackingStatus.values())
              System.out.println(c);

      Returns:
        an array containing the constants of this enum type, in the order they are declared

    - #### valueOf

          public static TrackingStatus valueOf(java.lang.String name)

      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
        `name` - the name of the enum constant to be returned.
      Returns:
        the enum constant with the specified name
      Throws:
        `java.lang.IllegalArgumentException` - if this enum type has no constant with the specified name
        `java.lang.NullPointerException` - if the argument is null

    - #### getValue

          public int getValue()

      Gets the enumeration value as int.
      Returns:
        The value.

    - #### fromValue

          public static TrackingStatus fromValue(int value)

      Creates an enumeration value from int.
      Parameters:
        `value` - The int value.
      Returns:
        The created TrackingStatus.

Copyright © id3 Technologies. All rights reserved. eu.id3.face