Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.db.meds bob.db.meds
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • 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
  • bobbob
  • bob.db.medsbob.db.meds
  • Issues
  • #4
Closed
Open
Issue created Apr 09, 2020 by Tiago de Freitas Pereira@tiago.pereiraOwner

Add Metadata into the samples

Hey @ydayer

Is it possible to add all the possible metadata in the samples?

For instance, here https://gitlab.idiap.ch/bob/bob.db.meds/blob/master/bob/db/meds/database.py#L351

You could have amended the metadata from here direct in the samples: https://gitlab.idiap.ch/bob/bob.db.meds/blob/master/bob/db/meds/subject_metadata.csv

Like this:

            sets[subject].insert(
                index=-1, # Insert at last position
                item=DelayedSample(
                    load=functools.partial(
                        bob.io.image.load,
                        os.path.join(self.directory, path),
                    ),
                    key=path,
                    subject=subject,
                    annotations=self._annotations(filename),
                    gender=GENDER,
                    ethnicity=ETHNICITY,
                    height=HEIGHT,
                    weight=WEIGHT,
                    pode=POSE,

This can be useful in the future.

For instance, we could craft a script that given a score file and a database, we could do all the analysis we want without having to parse the score file.....

Can you add these metadata in the database if you have the time?

Thanks

Assignee
Assign to
Time tracking