[Digikam-devel] deleteIdentity
Gilles Caulier
caulier.gilles at gmail.com
Mon Jul 14 13:26:31 BST 2014
Marcel,
A patch attached below remove TLD data table from recognition
database. I incremented DB revision in XML config file...
It's fine for you ?
Gilles
2014-07-14 10:02 GMT+02:00 Gilles Caulier <caulier.gilles at gmail.com>:
> Marcel,
>
> look in source code. OpenTLDData creation queries still present :
>
> https://projects.kde.org/projects/extragear/libs/libkface/repository/revisions/master/entry/libkface/database/schemaupdater.cpp#L240
>
> https://projects.kde.org/projects/extragear/libs/libkface/repository/revisions/master/entry/libkface/database/schemaupdater.cpp#L247
>
> https://projects.kde.org/projects/extragear/libs/libkface/repository/revisions/master/entry/libkface/database/schemaupdater.cpp#L253
>
> https://projects.kde.org/projects/extragear/libs/libkface/repository/revisions/master/entry/libkface/database/dbconfig.xml#L67
>
> Does these code can be removed with schema ID updated ?
>
> Gilles
>
> 2014-07-13 22:18 GMT+02:00 Gilles Caulier <caulier.gilles at gmail.com>:
>> 2014-07-13 14:21 GMT+02:00 Marcel Wiesweg <marcel.wiesweg at gmx.de>:
>>> Am Samstag, 12. Juli 2014, 12:25:05 schrieb Gilles Caulier:
>>>> Marcel,
>>>>
>>>> I just analyzed recognition.db file with sqlitebrowser and add small
>>>> tables description in libkface Mainpage.dox :
>>>>
>>>> https://projects.kde.org/projects/extragear/libs/libkface/repository/revisio
>>>> ns/master/entry/libkface/Mainpage.dox
>>>>
>>>> Please review. there are 2 tables where i don't know exactly the role
>>>>
>>>> : OpenCVLBPHRecognizer and
>>>
>>> This table currently will have only one entry, there is only one recognizer.
>>> But the db in theory supports to have multiple recognizers, possibly with
>>> different settings. Or with training data from different sources, or different
>>> subsets of training data.
>>>
>>>> OpenTLDData
>>>
>>> -> was used by the TLD algorithm which was removed, because it never worked
>>
>> I work with traindb test program, which create a fresh recognition.db
>> file, where i can see this table.
>>
>> As this entry is obsolete, why it's still created yet ? Can remove it ?
>>
>> Gilles
>>
>>> _______________________________________________
>>> Digikam-devel mailing list
>>> Digikam-devel at kde.org
>>> https://mail.kde.org/mailman/listinfo/digikam-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TLDremove.patch
Type: application/octet-stream
Size: 3780 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20140714/d96d6988/attachment.obj>
More information about the Digikam-devel
mailing list