Skip to content
Snippets Groups Projects
Commit 1899e3dd authored by Guillaume HEUSCH's avatar Guillaume HEUSCH
Browse files

[database] added entry point and test for FARGO

parent 34fbef50
No related branches found
No related tags found
1 merge request!52Add Fargo database
#!/usr/bin/env python
from bob.bio.face.database import FargoBioDatabase
fargo_directory = "[YOUR_FARGO_DIRECTORY]"
database = FargoBioDatabase(
original_directory=fargo_directory,
original_extension=".png",
protocol='mc-rgb'
)
......@@ -390,3 +390,13 @@ def test_ijbc():
raise SkipTest(
"The annotations could not be queried; probably the annotation files are missing. Here is the error: '%s'" % e)
@db_available('fargo')
def test_fargo():
database = bob.bio.base.load_resource(
'fargo', 'database', preferred_package='bob.bio.face')
try:
check_database(database)
except IOError as e:
raise SkipTest(
"The database could not queried; Here is the error: '%s'" % e)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment