Face Enrollment Results

The following XML shows a single record that is produced when Media Server enrolls an image of a face.

<record>
   ...
   <trackname>EnrollFaces.Result</trackname>
   <EnrollResult>
      <id>608f22bb-06ad-469f-811b-5d6cabd0db98</id>
      <identity>
         <identifier>608f22bb-06ad-469f-811b-5d6cabd0db98</identifier>
         <database>EnrolledFaces</database>
         <imagelabel>f6e5e0f8aa471812fe0e01c4dd35c05d</imagelabel>
      </identity>
      <error>Failed: no face detected</error>
   </EnrollResult>
</record>

The record contains the following information:

  • The id element contains a unique identifier for the detected face. The face detection engine issues an ID for each detected appearance of a face, and the records output from the enroll engine use the same IDs as the input records.

  • The identity element provides information about the image that was enrolled in the database.

    • The database element provides the name of the database that the image was added to.
    • The identifier element provides the identifier of the face that the image was added to.
    • The imagelabel element provides the label that was created to identify the enrolled image.
  • The error element is present only when an error occurs and provides information about the problem.