Hi Ailbhe,
antispoofing.* packages are deprecated and no longer supported.
Your problem is that you have bob.db.replay==3 which is a new version and does not support antispooing packages anymore.
What you can do is this:
pip uninstall bob.db.replay
conda install --force bob.extension bob.db.base # to get the files deleted by pip back
pip install bob.db.replay==2
When you do that, you'll see replay an option:
bin/motion_framediff.py --help
usage: motion_framediff.py [-h] [-e] [-m PIXELS] [--bbx]
[DIR] [DIR] {casia_fasd,replay,all} ...
Calculates the normalized frame differences for face and background, for all
input videos. This technique is described on the paper: Counter-Measures to
Photo Attacks in Face Recognition: a public database and a baseline, Anjos &
Marcel, IJCB'11.
positional arguments:
DIR Base directory containing the videos to be treated by
this procedure (defaults to
"/home/amir/antispoofing.motion/database")
DIR Base output directory for every file created by this
procedure defaults to
"/home/amir/antispoofing.motion/framediff")
optional arguments:
-h, --help show this help message and exit
-e, --enrollment If True, will do the processing of the enrollment data
of the database (defaults to "False")
-m PIXELS, --mininum-face-size PIXELS
Minimum face size to be considered when pre-processing
and extrapolating detections (defaults to 0)
--bbx, --boundingbox If True, will read the face locations using the bbx
function of the File class of the database. If False,
will use faceloc.read_face utility to read the
faceloc. For MSU-MFSD only (defaults to "False")
Databases:
choose one of the following databases to run this script with:
{casia_fasd,replay,all}
Available databases
casia_fasd CASIA Face Anti-Spoofing database (FASD)
replay Anti-Spoofing database with 1300 videos produced at
Idiap, Switzerland
all Fusion with all antispoofing databases available in