Go To MPAI-PAF AI Modules

1     Function 2     Reference Model 3     Input/Output Data
4     SubAIMs 5     JSON Metadata 6     Profiles
7     Reference Software 8     Conformance Texting 9     Performance Assessment

1     Functions

Face Identity Recognition (PAF-FIR):

Receives Auxiliary Text
Image
Face Time
Visual Scene Geometry of the scene where the Face is located.
Searches for Bounding Boxes including Faces and finds the best match between the Faces and those in a database.
Produces Face Identities
Bounding Boxes

2     Reference Model

Figure 1 depicts the Reference Model of the Face Identity Recognition  AIM.

Figure 1 – Face Identity Recognition AIM

3    Input/Output Data

Table 1 specifies the Input and Output Data of the of the Face Identity Recognition AIM.

Table 1 – I/O Data of  Face Identity Recognition AIM

Input Description
Auxiliary Text Text with a content related to Face ID.
Image An image containing the Face to be identified.
Face Time The Time during which the Face should be identified.
Visual Scene Geometry The Geometry of the Scene where the Face is located.
Output Description
Face Identifiers Associate strings to  elements belonging to some levels in hierarchical classifications (taxonomies).
Bounding Boxes The box containing the Face identified.

4     SubAIMs

No SubAIMs.

5     JSON Metadata

https://schemas.mpai.community/PAF/V1.2/AIMs/FaceIdentityRecognition.json

6     Profiles

No Profiles.

7     Reference Software

7.1    Disclaimers

  1. This PAF-FIR Reference Software Implementation is released with the BSD-3-Clause licence.
  2. The purpose of this PAF-FIR Reference Software is to show a working Implementation of PAF-FIR, not to provide a ready-to-use product.
  3. MPAI disclaims the suitability of the Software for any other purposes and does not guarantee that it is secure.
  4. Use of this Reference Software may require acceptance of licences from the respective repositories. Users shall verify that they have the right to use any third-party software required by this Reference Software.

7.2    Guide to the PAF-FIR code

Use of this Reference Software for the PAF-FIR AI Module is for developers who are familiar with Python, Docker, RabbitMQ, and downloading models from HuggingFace

PAF-FIR performs face identity recognition with a pretrained FaceNet model; that is, it identifies the faces in a given number of frames per scene by comparison with a dataset of faces.

The PAF-FIR Reference Software is found at the MPAI gitlab site. It contains:

  1. src: a folder with the Python code implementing the AIM
  2. Dockerfile: a Docker file containing only the libraries required to build the Docker image and run the container
  3. requirements.txt: dependencies installed in the Docker image
  4. README.md: where to find and save weights of face recognition model FaceNet512.

Library: https://github.com/serengil/deepface

7.3    Acknowledgements

This version of the PAF-FIR Reference Software has been developed by the MPAI AI Framework Development Committee (AIF-DC).

8     Conformance Testing

9     Performance Assessment

Go To MPAI-PAF AI Modules