Commit 85b6fd88 authored by Artur Costa Pazo's avatar Artur Costa Pazo
Browse files

Add client009 (devel). Fix documentation. Increase version

parent b41e6df4
......@@ -2,25 +2,27 @@
.. Manuel Guenther <manuel.guenther@idiap.ch>
.. Fri Oct 31 14:18:57 CET 2014
.. TODO: Should be checked
.. image:: http://img.shields.io/badge/docs-stable-yellow.png
:target: http://pythonhosted.org/bob.db.replay/index.html
:target: http://pythonhosted.org/bob.db.replaymobile/index.html
.. image:: http://img.shields.io/badge/docs-latest-orange.png
:target: https://www.idiap.ch/software/bob/docs/latest/bioidiap/bob.db.replay/master/index.html
:target: https://www.idiap.ch/software/bob/docs/latest/bioidiap/bob.db.replaymobile/master/index.html
.. image:: https://travis-ci.org/bioidiap/bob.db.replay.svg?branch=master
:target: https://travis-ci.org/bioidiap/bob.db.replay
:target: https://travis-ci.org/bioidiap/bob.db.replaymobile
.. image:: https://coveralls.io/repos/bioidiap/bob.db.replay/badge.png
:target: https://coveralls.io/r/bioidiap/bob.db.replay
:target: https://coveralls.io/r/bioidiap/bob.db.replaymobile
.. image:: https://img.shields.io/badge/github-master-0000c0.png
:target: https://github.com/bioidiap/bob.db.replay/tree/master
:target: https://github.com/bioidiap/bob.db.replaymobile/tree/master
.. image:: http://img.shields.io/pypi/v/bob.db.replay.png
:target: https://pypi.python.org/pypi/bob.db.replay
:target: https://pypi.python.org/pypi/bob.db.replaymobile
.. image:: http://img.shields.io/pypi/dm/bob.db.replay.png
:target: https://pypi.python.org/pypi/bob.db.replay
:target: https://pypi.python.org/pypi/bob.db.replaymobile
.. image:: https://img.shields.io/badge/original-data--files-a000a0.png
:target: http://www.idiap.ch/dataset/replayattack
:target: http://www.idiap.ch/dataset/replaymobile
===================================================
Replay Mobile Database Database Interface for Bob
Replay Mobile Database Interface for Bob
===================================================
This package contains the access API and descriptions for the `Replay Mobile`_ Database.
......
......@@ -56,8 +56,8 @@ class ReplayMobileDatabaseTest(unittest.TestCase):
db = Database()
f = db.objects(cls='real')
#self.assertEqual(len(f), 400) # Still have to capture 2 users
self.assertEqual(len(f), 380)
#self.assertEqual(len(f), 400) # Still have to capture 1 users (client009)
self.assertEqual(len(f), 390)
for v in f[:10]: #only the 10 first...
self.assertTrue(isinstance(v.get_realaccess(), RealAccess))
o = v.get_realaccess()
......@@ -67,16 +67,16 @@ class ReplayMobileDatabaseTest(unittest.TestCase):
self.assertEqual(len(train), 120)
dev = db.objects(cls='real', groups='devel')
#self.assertEqual(len(dev), 120) # Still have to capture 2 users
self.assertEqual(len(dev), 100)
#self.assertEqual(len(dev), 120) # Still have to capture 1 users (client009)
self.assertEqual(len(dev), 110)
test = db.objects(cls='real', groups='test')
self.assertEqual(len(test), 160)
#tests train, devel and test files are distinct
s = set(train + dev + test)
#self.assertEqual(len(s), 40) # Still have to capture 2 users
self.assertEqual(len(s), 380)
#self.assertEqual(len(s), 400) # Still have to capture 1 users (client009)
self.assertEqual(len(s), 390)
@db_available
def queryAttackType(self, protocol, N):
......@@ -135,7 +135,7 @@ class ReplayMobileDatabaseTest(unittest.TestCase):
self.assertTrue(db.has_client_id(40))
self.assertTrue(db.has_client_id(6))
self.assertTrue(db.has_client_id(21))
self.assertTrue(db.has_client_id(40))
self.assertTrue(db.has_client_id(30))
self.assertFalse(db.has_client_id(0))
self.assertFalse(db.has_client_id(50))
self.assertFalse(db.has_client_id(60))
......
......@@ -5,7 +5,7 @@
.. _bob.db.replaymobile:
======================================
Replay-Attack Face Spoofing Database
Replay-Mobile Face Spoofing Database
======================================
.. todolist::
......@@ -13,11 +13,12 @@
.. todo::
Upload this documentation to PythonHosted (to review)
The `Replay-Mobile Database <http://www.idiap.ch/dataset/replayattack>`_ for face spoofing consists of 1200 video clips of photo and video attack attempts to 40 clients, under different lighting conditions.
The `Replay-Mobile Database <http://www.idiap.ch/dataset/replaymobile>`_ for face spoofing consists of 1200 video clips of photo and video attack attempts to 40 clients, under different lighting conditions.
This database was produced at the `Idiap Research Institute <http://www.idiap.ch>`_, in Switzerland.
If you use this database in your publication, please cite the following paper on your references:
TODO: Should be changed
.. code-block:: latex
@INPROCEEDINGS{Chingovska_BIOSIG-2012,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment