[digiKam-users] FaceTags not showing

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[digiKam-users] FaceTags not showing

Mick Sulley
Running DK 7.1.0 appImage  I have noticed a problem with 2 of my
pictures, I suspect there may be more but most are fine.  They are from
2014 so have been in my album for some time.  There are 4 people in the
both pics, and if I open Captions > Tags on right panel the correct
people show ticked but there are no face boxes on the picture.

The odd thing is that I still have DK 5.6 on my laptop and the problem
pictures show just fine on that.  I have copied them across and the face
boxes don't show on the copies on DK 7.1.0

If I look at the exif for pictures that show the face boxes I see
entries for Region Name, Type, Area, etc but the problem picture do not
have that, BUT they show face boxes in DK 5.6.

Is it possible that the face data is written to the database but not to
exif for these pics?  If so how can I fix it?

Thanks

Mick

Reply | Threaded
Open this post in threaded view
|

Re: FaceTags not showing

Mick Sulley
Can anyone help with this?  Looking at it some more there are loads of
pictures affected.

I also noticed a difference in how I select in the left panel. If I
select a person in the People tab I get some of them, if I select that
same person in Tags > People I get many more.

I am suspecting a mismatch between exif data and the database. Is there
a way to test this?

Thanks

Mick

On 07/09/2020 22:44, Mick Sulley wrote:

> Running DK 7.1.0 appImage  I have noticed a problem with 2 of my
> pictures, I suspect there may be more but most are fine.  They are
> from 2014 so have been in my album for some time.  There are 4 people
> in the both pics, and if I open Captions > Tags on right panel the
> correct people show ticked but there are no face boxes on the picture.
>
> The odd thing is that I still have DK 5.6 on my laptop and the problem
> pictures show just fine on that.  I have copied them across and the
> face boxes don't show on the copies on DK 7.1.0
>
> If I look at the exif for pictures that show the face boxes I see
> entries for Region Name, Type, Area, etc but the problem picture do
> not have that, BUT they show face boxes in DK 5.6.
>
> Is it possible that the face data is written to the database but not
> to exif for these pics?  If so how can I fix it?
>
> Thanks
>
> Mick
>
Reply | Threaded
Open this post in threaded view
|

Re: FaceTags not showing

woenx
In my experience, that looks like a mismatch between the database and the
metadata in the files. Either those faces were never written to the
picture's metadata, or the newer digikam could not "see" those pictures. The
former is more likely.

You mention you still have digikam 5.6 where you still see these faces. Are
the pictures shared between your laptop (digikam 5.6) and the computer where
7.1 is installed? In that case, changes made in 5.6 should be seen by 7.1
during the initial scan (or if you re-read the metadta).

In any case, I would do the following:

- Use an external tool to see the metadat on one of these pictures and make
sure the faces are really in there: http://exif.regex.info/exif.cgi
   - If they are there, in digikam 7.1 just select these files (or the whole
library) and Item/Re-read the metadata
   - If they are not there, in digikam 5.6, Item/Write metadata to files
(and then re-read them in 7.1).

That should sync both libraries.

Or you could share one of these pictures we can check for ourselves if you
are unsure.

I hope I helped.



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: FaceTags not showing

Mick Sulley
OK I have tried and not solved it.  I have uploaded P1.jpg and P4.jpg as
examples, P4 shows face tags correctly in DK5.6 and DK7, P1 only
displays correctly in DK5.6  Looking at the metadata both have tags
defined, but P4 has XMP data for Regions, P1 does not.

In DK5.6 I have tried Tools > Maintenance > Sync Metadata and Database,
Direction From database to metadata, but still the Region info is not there.

I have shared the 2 files on Dropbox.

Any ideas what to do to fix this?

Thanks

Mick

On 19/09/2020 11:04, woenx wrote:

> In my experience, that looks like a mismatch between the database and the
> metadata in the files. Either those faces were never written to the
> picture's metadata, or the newer digikam could not "see" those pictures. The
> former is more likely.
>
> You mention you still have digikam 5.6 where you still see these faces. Are
> the pictures shared between your laptop (digikam 5.6) and the computer where
> 7.1 is installed? In that case, changes made in 5.6 should be seen by 7.1
> during the initial scan (or if you re-read the metadta).
>
> In any case, I would do the following:
>
> - Use an external tool to see the metadat on one of these pictures and make
> sure the faces are really in there: http://exif.regex.info/exif.cgi
>     - If they are there, in digikam 7.1 just select these files (or the whole
> library) and Item/Re-read the metadata
>     - If they are not there, in digikam 5.6, Item/Write metadata to files
> (and then re-read them in 7.1).
>
> That should sync both libraries.
>
> Or you could share one of these pictures we can check for ourselves if you
> are unsure.
>
> I hope I helped.
>
>
>
> --
> Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: FaceTags not showing

woenx
Hi. I think you forgot the dropbox link...



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: FaceTags not showing

Sveinn í Felli-2
The links were in two separate and previous mails.
But they require being logged into Dropbox... ;-(

best,
Sveinn í Felli

Þann 20.9.2020 10:25, skrifaði woenx:
> Hi. I think you forgot the dropbox link...
>
>
>
> --
> Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
>

Reply | Threaded
Open this post in threaded view
|

Re: FaceTags not showing

Mick Sulley
In reply to this post by woenx
I've just sent a link to your direct email.

Is there a better method than Dropbox for this sort of thing?

Mick

On 20/09/2020 11:25, woenx wrote:
> Hi. I think you forgot the dropbox link...
>
>
>
> --
> Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: FaceTags not showing

woenx
Ok, I just checked. P1.JPG (the one you have in digikam 5.6) does not have
any face information in it, but P4.JPG does (it has three faces in it). This
is why digikam 7.1 cannot find any faces in P1.JPG. Basically, the
information of P1.JPG is only in digikam's 5.6 database, but not in the
picture.

In order to correct that, you should write the metadata from digikam 5.6 to
the files themselves. Select all the files you want to synchronize, go to
"Item / Write metadata to file". Then copy those pictures to digikam's 7.1
library, re-scan them, and you'll see how the faces now appear.

As I mentioned before, if you just want to make sure some metadata has been
written to a picture without having to open digikam, use this simple
website: http://exif.regex.info/exif.cgi . If you upload a picture with
faces, it will show as Faces and Picasa Face Data in the Basic Image
Information table.

I hope I helped.




--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: FaceTags not showing

Mick Sulley
Yes you certainly have helped, thank you.

This is what I did -

First took a backup of whole album on DK7.1 and DK5.6
On 5.6 ran Tools > Maintenance > Sync Metadata and Database - direction
from database to image
Copied all pictures from 5.6 system to 7.1 system
On 7.1 ran Tools > Maintenance > Sync Metadata and Database - direction
from image to database

It took many, many hours to run, but it is all done now and it all looks
fine.

Many thanks for your help

Mick


On 20/09/2020 22:51, woenx wrote:

> Ok, I just checked. P1.JPG (the one you have in digikam 5.6) does not have
> any face information in it, but P4.JPG does (it has three faces in it). This
> is why digikam 7.1 cannot find any faces in P1.JPG. Basically, the
> information of P1.JPG is only in digikam's 5.6 database, but not in the
> picture.
>
> In order to correct that, you should write the metadata from digikam 5.6 to
> the files themselves. Select all the files you want to synchronize, go to
> "Item / Write metadata to file". Then copy those pictures to digikam's 7.1
> library, re-scan them, and you'll see how the faces now appear.
>
> As I mentioned before, if you just want to make sure some metadata has been
> written to a picture without having to open digikam, use this simple
> website: http://exif.regex.info/exif.cgi . If you upload a picture with
> faces, it will show as Faces and Picasa Face Data in the Basic Image
> Information table.
>
> I hope I helped.
>
>
>
>
> --
> Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html