The anti-spoof-mn3
model is an anti-spoofing binary classifier based on the MobileNetV3, trained on the CelebA-Spoof dataset. It's a small, light model, trained to predict whether or not a spoof RGB image given to the input. A lot of advanced techniques have been tried and selected the best suit options for the task.
For details see original repository.
Metric | Value |
---|---|
Type | Classification |
GFlops | 0.15 |
MParams | 3.02 |
Source framework | PyTorch* |
Metric | Original model | Converted model |
---|---|---|
ACER | 3.81% | 3.81% |
Image, name: actual_input_1
, shape: 1, 3, 128, 128
, format: B, C, H, W
, where:
B
- batch sizeC
- number of channelsH
- image heightW
- image width
Expected color order: RGB
.
Mean values: [151.2405, 119.5950, 107.8395], scale factor: [63.0105, 56.4570, 55.0035]
Image, name: actual_input_1
, shape: 1, 3, 128, 128
, format: B, C, H, W
, where:
B
- batch sizeC
- number of channelsH
- image heightW
- image width
Expected color order: BGR
.
Probabilities for two classes (0 class is a real person, 1 - is a spoof image). Name: output1
Shape: 1, 2
, format: B, C
, where:
B
- batch sizeC
- vector of probabilities.
Probabilities for two classes (0 class is a real person, 1 - is a spoof image). Name: output1
Shape: 1, 2
, format: B, C
, where:
B
- batch sizeC
- vector of probabilities.
You can download models and if necessary convert them into OpenVINO™ IR format using the Model Downloader and other automation tools as shown in the examples below.
An example of using the Model Downloader:
omz_downloader --name <model_name>
An example of using the Model Converter:
omz_converter --name <model_name>
The model can be used in the following demos provided by the Open Model Zoo to show its capabilities:
The original model is distributed under the MIT License.