Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.db.banca
Commits
7e6ac136
Commit
7e6ac136
authored
Nov 13, 2013
by
Manuel Günther
Browse files
Adapted database to new xbob.db.verification.utils interface.
parent
a13b9f1a
Changes
2
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
7e6ac136
...
...
@@ -23,7 +23,7 @@ from setuptools import setup, find_packages
setup
(
name
=
'xbob.db.banca'
,
version
=
'1.
1.4
a0'
,
version
=
'1.
2.1
a0'
,
description
=
'BANCA Database Access API for Bob'
,
url
=
'https://pypi.python.org/pypi/xbob.db.banca'
,
license
=
'GPLv3'
,
...
...
@@ -41,7 +41,7 @@ setup(
'setuptools'
,
'six'
,
# py2/3 compatibility library
'bob'
,
# base signal proc./machine learning library
'xbob.db.verification.utils>=
0.1.4
'
# defines a set of utilities for face verification databases like this one.
'xbob.db.verification.utils>=
1.0.0
'
# defines a set of utilities for face verification databases like this one.
],
namespace_packages
=
[
...
...
xbob/db/banca/query.py
View file @
7e6ac136
...
...
@@ -37,10 +37,10 @@ class Database(xbob.db.verification.utils.SQLiteDatabase, xbob.db.verification.u
and for the data itself inside the database.
"""
def
__init__
(
self
):
def
__init__
(
self
,
original_directory
=
None
,
original_extension
=
None
):
# call base class constructors
xbob
.
db
.
verification
.
utils
.
SQLiteDatabase
.
__init__
(
self
,
SQLITE_FILE
,
File
)
xbob
.
db
.
verification
.
utils
.
ZTDatabase
.
__init__
(
self
)
xbob
.
db
.
verification
.
utils
.
ZTDatabase
.
__init__
(
self
,
original_directory
=
original_directory
,
original_extension
=
original_extension
)
def
__group_replace_alias__
(
self
,
l
):
"""Replace 'dev' by 'g1' and 'eval' by 'g2' in a list of groups, and
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment