Commit 5de28675 authored by André Anjos's avatar André Anjos 💬

[databases] Remove directory, declare all in a single file

parent d5ff08f6
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
import bob.bio.db
verafinger = bob.bio.db.VerafingerBioDatabase(
original_directory = '/idiap/project/vera/databases/VERA-fingervein',
original_extension = '.png',
)
utfvp = bob.bio.db.UtfvpBioDatabase(
original_directory = '/idiap/resource/database/UTFVP/data',
extension = ".png",
)
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
import bob.db.putvein
from bob.bio.base.database import DatabaseBob
directory = "/idiap/resource/database/PUT_Vein_Dataset"
extension = ".bmp"
#database = Database(
# database = bob.db.putvein.Database(
# original_directory = directory,
# original_extension = extension,
# ),
# name = 'putvein',
# )
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
import bob.db.utfvp
from bob.bio.base.database import DatabaseBob
directory = "/idiap/resource/database/UTFVP/data/"
extension = ".png"
database = DatabaseBob(
database = bob.db.utfvp.Database(
original_directory = directory,
original_extension = extension,
),
name = 'utfvp',
)
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
import bob.db.vera
from bob.bio.base.database import DatabaseBob
directory = "/idiap/project/vera"
extension = ".png"
database = DatabaseBob(
database = bob.db.vera.Database(
original_directory = directory,
original_extension = extension,
),
name = 'vera',
)
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