Commit ea27c457 authored by Guillaume HEUSCH's avatar Guillaume HEUSCH

[database] added entry point and test for FARGO

parent 03490c05
Pipeline #29962 failed with stage
in 16 minutes and 6 seconds
#!/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)
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