Facelium - Third-party models and runtime files ================================================ This directory (/models) and the runtime directories (/ort, /mediapipe) of Facelium (https://facelium.com) contain files from the third parties listed below. Each file is redistributed under its own license. A human-readable list is also published at https://facelium.com/licenses 1. MiniFASNet (Silent-Face-Anti-Spoofing) ----------------------------------------- Files: minifasnet_v2_2.7_80x80.onnx minifasnet_v1se_4.0_80x80.onnx Source: https://github.com/minivision-ai/Silent-Face-Anti-Spoofing commit b6d5f04ad78778917853b25c778acef6d5626d15 (2020-08-05) resources/anti_spoof_models/2.7_80x80_MiniFASNetV2.pth resources/anti_spoof_models/4_0_0_80x80_MiniFASNetV1SE.pth Copyright 2020 Minivision Licensed under the Apache License, Version 2.0 (the "License"); you may not use these files except in compliance with the License. A copy of the License is in LICENSE-minifasnet.txt in this directory, and is also available at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Modifications made by Facelium (Activated Trigger): - The original PyTorch weights (.pth) listed above were converted to the ONNX format (opset 17) with torch.onnx.export. The weights were not retrained or changed. The network definitions are those of the original repository. - A softmax layer was appended to the output, as in the original anti_spoof_predict.py (output name "prob", 3 classes). - The conversion script is scripts/models/export_minifasnet_onnx.py in the Facelium source repository. 2. BlazeFace short range (MediaPipe Face Detector) -------------------------------------------------- File: blaze_face_short_range.tflite Source: Google MediaPipe - Face Detector https://ai.google.dev/edge/mediapipe/solutions/vision/face_detector Copyright The MediaPipe Authors Licensed under the Apache License, Version 2.0. The license text is the same as LICENSE-minifasnet.txt in this directory. The file is redistributed without modification. 3. MediaPipe Tasks Vision runtime (/mediapipe/wasm) --------------------------------------------------- Source: npm package @mediapipe/tasks-vision 0.10.34 https://github.com/google-ai-edge/mediapipe Copyright The MediaPipe Authors Licensed under the Apache License, Version 2.0 (same text as above). Redistributed without modification. 4. ONNX Runtime Web (/ort) -------------------------- Source: npm package onnxruntime-web 1.24.3 https://github.com/microsoft/onnxruntime Copyright (c) Microsoft Corporation Licensed under the MIT License. The license text is in /ort/LICENSE-onnxruntime.txt Redistributed without modification.