Now I am trying to train a face recognition model on a dataset that is not standard for facereclib, namely color FERET.
I tried to learn examples from facereclib/facereclib/configurations/databases and bob.db.atnt-2.0.2-py2.7.egg/bob/db/atnt, but it seems that for the face recognition, database definition is more complicated compared to speaker recognition.
So, my question is: Can I define a database with a single configuration file like I did it for speaker recognition? Something like:
import facereclib
database = facereclib.databases.DatabaseBob(
database = bob.db.verification.utils.Database(
name = "colorferet-thumbnail"
original_directory = "/home/work/corpora/colorferet/thumbnail",
original_extension = ".ppm"
),
name = 'colorferet-thumbnail'
)
How do I define 'world' and 'dev' groups? How to specify file lists corresponding to those groups?I do not really want to create a package for the database, what would be the easiest way to do it?
Many thanks in advance.
Dmytro