Automatic Assignment of Tag Icons

Gilles Caulier caulier.gilles at gmail.com
Sun Jun 7 09:15:38 BST 2020


Hi Kartik,

Excellent. I'm waiting your detailles blog post to inform also end
users in digikam-users ML where some people want to know the current
works done on *Faces* features while this summer....

Nghia,

Do you plan to write a detailed blog post as Kartik about your project ?

Best
gilles Caulier

Le dim. 7 juin 2020 à 09:38, Kartik Ramesh <kartikx2000 at gmail.com> a écrit :
>
> Thank you for your kind words, Gilles.
>
> I have already been writing about Project progress here. However it's not as detailed as Thanh's blogposts that you shared.
> I've also been asked by KDE to publish Status Reports on the community.kde.org website, so I'll try to make my posts as detailed as possible there.
>
> Regards
> Kartik.
>
> On Sat, Jun 6, 2020 at 2:46 PM Gilles Caulier <caulier.gilles at gmail.com> wrote:
>>
>> Hi Kartik,
>>
>> Thanks for your great job. You progress sounds interesting. I plan to
>> test your branch in the near future when time permits.
>>
>> Usually, KDE core team asks students to written a blog about the
>> project advancements. This permit to follow the progress and to link
>> blogs entries in grouped announcements in dot.kde.org.
>>
>> Typically in your case, this will include your mails in this mailing
>> list about your project.
>>
>> A very good exemple is the Thanh blog post about the GoSC 2019 with
>> the DNN face engine :
>>
>> https://community.kde.org/GSoC/2019/StatusReports/ThanhTrungDinh
>>
>> I recommend doing the same... This will permit also the end users to
>> know the changes introduced with your project.
>>
>> My best regards
>>
>> Gilles Caulier
>>
>>
>> Le sam. 6 juin 2020 à 06:19, Kartik Ramesh <kartikx2000 at gmail.com> a écrit :
>> >
>> > Hello all,
>> >
>> > I've implemented automatic addition and removal of icons to face tags. Changes have been made to utilities/facemanagement and app/views/stack.
>> >
>> > This automatic addition/removal will happen only on confirmed tags and not on unknown/unconfirmed/ignored.
>> > Desired Functionality:
>> > 1. Whenever the user confirms the face to a tag (either pre-existing or just going to be created), if the tag does not have a tag icon, then the face just confirmed will be added as the tag icon. This icon remains the tag icon for all further confirmations to this tag, i.e. the tag icon does not change again and again.
>> > 2. When the user deletes a face from a tag (either using Rejection Overlay (i.e. the Red Cross Button) or using Remove Tag Context Menu), if after deletion the tag has no faces associated to it, the tag icon will get reset.
>> >
>> > The implementation is such that the changes are TAlbum specific and not TagModel, hence even if we have a very large number of TAlbums(tags) performance should not go down. Furthermore, changes only happen once so repeated assignments aren't carried out.
>> >
>> > Note on implementation : Changes to TAlbum icons require AlbumManager methods, which can only be used in files that are compiled in gui_digikam. Hence, I've made changes in upper level files (which are compiled with gui_digikam) and not the lower level database methods (where the actual confirm/reject happens). I have used QTimer at places, to ensure the confirm/reject operations (in the lower level) are carried out, before setting/removing icons.
>> >
>> > One Issue that I notice is that since we're assigning faces as the Icon, the size of the Icon depends on the size of the Face (which was cropped by Face Detector). Hence, icon sizes are unequal. I will try to fix this.
>> >
>> > Regards
>> > Kartik


More information about the Digikam-devel mailing list