Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.vein
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.bio.vein
Commits
d1a0fab0
Commit
d1a0fab0
authored
2 years ago
by
Amir MOHAMMADI
Committed by
André MAYORAZ
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
refactor for
bob.bio.base!300
parent
55637309
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!65
refactor for bob.bio.base!300
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bob/bio/vein/database/utfvp.py
+6
-6
6 additions, 6 deletions
bob/bio/vein/database/utfvp.py
bob/bio/vein/database/verafinger_contactless.py
+5
-5
5 additions, 5 deletions
bob/bio/vein/database/verafinger_contactless.py
with
11 additions
and
11 deletions
bob/bio/vein/database/utfvp.py
+
6
−
6
View file @
d1a0fab0
...
...
@@ -10,13 +10,13 @@ from sklearn.pipeline import make_pipeline
import
bob.io.base
from
bob.bio.base.database
import
CSVDatase
t
,
CSVTo
SampleLoader
Biometrics
from
bob.bio.base.database
import
CSVData
ba
se
,
File
SampleLoader
from
bob.bio.vein.database.roi_annotation
import
ROIAnnotation
from
bob.extension
import
rc
from
bob.extension.download
import
get_file
class
UtfvpDatabase
(
CSVDatase
t
):
class
UtfvpDatabase
(
CSVData
ba
se
):
"""
The University of Twente Finger Vascular Pattern dataset
...
...
@@ -166,16 +166,16 @@ class UtfvpDatabase(CSVDataset):
super
().
__init__
(
name
=
"
utfvp
"
,
dataset_protocol_path
=
filename
,
dataset_protocol
s
_path
=
filename
,
protocol
=
protocol
,
csv_to_sample_load
er
=
make_pipeline
(
CSVTo
SampleLoader
Biometrics
(
transform
er
=
make_pipeline
(
File
SampleLoader
(
data_loader
=
bob
.
io
.
base
.
load
,
dataset_original_directory
=
rc
.
get
(
"
bob.bio.vein.utfvp.directory
"
,
""
),
extension
=
""
,
referenc
e_id_equal_subject_id
=
False
,
templat
e_id_equal_subject_id
=
False
,
),
ROIAnnotation
(
roi_path
=
rc
.
get
(
"
bob.bio.vein.utfvp.roi
"
,
""
)),
),
...
...
This diff is collapsed.
Click to expand it.
bob/bio/vein/database/verafinger_contactless.py
+
5
−
5
View file @
d1a0fab0
...
...
@@ -8,12 +8,12 @@
import
bob.io.base
from
bob.bio.base.database
import
CSVDatase
t
,
CSVTo
SampleLoader
Biometrics
from
bob.bio.base.database
import
CSVData
ba
se
,
File
SampleLoader
from
bob.extension
import
rc
from
bob.extension.download
import
get_file
class
VerafingerContactless
(
CSVDatase
t
):
class
VerafingerContactless
(
CSVData
ba
se
):
"""
The VERA Fingervein Contactless database contains 1330 finger vein images of 133 persons,
with id ranging from 1 to 137 (with 4 defects).
...
...
@@ -61,15 +61,15 @@ class VerafingerContactless(CSVDataset):
super
().
__init__
(
name
=
"
verafinger_contactless
"
,
dataset_protocol_path
=
filename
,
dataset_protocol
s
_path
=
filename
,
protocol
=
protocol
,
csv_to_sample_loader
=
CSVTo
SampleLoader
Biometrics
(
transformer
=
File
SampleLoader
(
data_loader
=
bob
.
io
.
base
.
load
,
dataset_original_directory
=
rc
.
get
(
"
bob.bio.vein.verafinger_contactless.directory
"
,
""
),
extension
=
""
,
referenc
e_id_equal_subject_id
=
False
,
templat
e_id_equal_subject_id
=
False
,
),
score_all_vs_all
=
True
,
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment