[Digikam-devel] face recognition database structure
Marcel Wiesweg
marcel.wiesweg at gmx.de
Tue Jun 30 21:37:49 BST 2009
> Option 2:
> Make the face tag a special kind of tag. That way two new tables would be
> needed:
> - faces: faceid, tagid (could be null)
> - imagefaces: imageid, faceid, x1, y1, x2, y2
>
> The second option is better suited to the face recognition problem:
> 1. A face detection algorithm would fill the faces table giving 0 to the
> faceid field in the imagefaces table.
> 2. Once faces are detected, some clustering technique is needed to look for
> different faces, so it would assign a positive value to face id. It then
> would ask the user to assing tags to faces.
>
>
> What database approach is better?
Remember that we need to preserve backwards compatibility as long as possible.
We do not backwards compatible changes from time to time, the last one was 0.9
-> 0.10, and there are quite a few wishes for the tags table that would
require a major overhaul, but we will not do this for 1.0.
There is no compatibility problem with adding tables - option 2.
I would not require your change to accomodate to all possible changes in the
album/tags tables, when the time comes we can integrate it in the schema
updating.
Marcel
More information about the Digikam-devel
mailing list