diff --git a/bob/bio/vein/database/utfvp.py b/bob/bio/vein/database/utfvp.py index 3b002c3dcf8421f821fbe4d58e3cc2601742d9f1..aab0982ee3be82f56d2f2e04c6957db4b3ac1801 100644 --- a/bob/bio/vein/database/utfvp.py +++ b/bob/bio/vein/database/utfvp.py @@ -13,7 +13,6 @@ import bob.io.base from bob.bio.base.database import CSVDatabase, FileSampleLoader from bob.bio.vein.database.roi_annotation import ROIAnnotation from bob.extension import rc -from bob.extension.download import get_file class UtfvpDatabase(CSVDatabase): @@ -154,13 +153,14 @@ class UtfvpDatabase(CSVDatabase): that generated the model being matched. So, there are 1299 probes per model. """ + name = "utfvp" category = "vein" dataset_protocols_name = "utfvp.tar.gz" dataset_protocols_urls = [ - "https://www.idiap.ch/software/bob/databases/latest/vein/utfvp-fe51ba85.tar.gz", - "http://www.idiap.ch/software/bob/databases/latest/vein/utfvp-fe51ba85.tar.gz", - ] + "https://www.idiap.ch/software/bob/databases/latest/vein/utfvp-fe51ba85.tar.gz", + "http://www.idiap.ch/software/bob/databases/latest/vein/utfvp-fe51ba85.tar.gz", + ] dataset_protocols_hash = "fe51ba85" def __init__(self, protocol): diff --git a/bob/bio/vein/database/verafinger_contactless.py b/bob/bio/vein/database/verafinger_contactless.py index ec52d00a0cbe37c1b021cb479433f45d9c72e34e..4c71ff66cda9e05af6738f97c26d411990f64bfc 100644 --- a/bob/bio/vein/database/verafinger_contactless.py +++ b/bob/bio/vein/database/verafinger_contactless.py @@ -10,7 +10,6 @@ import bob.io.base from bob.bio.base.database import CSVDatabase, FileSampleLoader from bob.extension import rc -from bob.extension.download import get_file class VerafingerContactless(CSVDatabase): @@ -50,14 +49,16 @@ class VerafingerContactless(CSVDatabase): * Probes : session 3, 4 &5 """ + name = "verafinger_contactless" category = "vein" dataset_protocols_name = "verafinger_contactless.tar.gz" dataset_protocols_urls = [ - "https://www.idiap.ch/software/bob/databases/latest/vein/verafinger_contactless-656ef935.tar.gz", - "http://www.idiap.ch/software/bob/databases/latest/vein/verafinger_contactless-656ef935.tar.gz", - ] + "https://www.idiap.ch/software/bob/databases/latest/vein/verafinger_contactless-656ef935.tar.gz", + "http://www.idiap.ch/software/bob/databases/latest/vein/verafinger_contactless-656ef935.tar.gz", + ] dataset_protocols_hash = "656ef935" + def __init__(self, protocol): super().__init__(