Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.bio.base bob.bio.base
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bob
  • bob.bio.basebob.bio.base
  • Issues
  • #107
Closed
Open
Created Apr 03, 2018 by Tiago de Freitas Pereira@tiago.pereiraOwner0 of 4 tasks completed0/4 tasks

Replace the bob_bio_database to our nice Global Configuration System

Hi,

Since we have this very elegant way to define system global parameters in bob.extension (https://www.idiap.ch/software/bob/docs/bob/bob.extension/stable/rc.html), I think it's time to use this solution instead of bob_bio_databases.txt https://www.idiap.ch/software/bob/docs/bob/bob.bio.base/stable/installation.html?highlight=bob_bio_databases#databases

Basically we would replace this:

atnt_directory = "[YOUR_ATNT_DIRECTORY]"
database = AtntBioDatabase(
    original_directory=atnt_directory,
    original_extension=".pgm",
)

to this

from bob.extension import rc
database = AtntBioDatabase(
    original_directory=rc['bob.db.atnt.directory'],
    original_extension=".pgm",
)

We would need to update the following packages:

  • bob.bio.base
  • bob.bio.face
  • bob.bio.vein
  • bob.bio.spear

What do you think?

Cheers

Assignee
Assign to
Time tracking