[Bug 277429] New: Write out face rectangles to XMP file

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

[digikam] [Bug 277429] Write out face rectangles to XMP file

Veaceslav Munteanu
https://bugs.kde.org/show_bug.cgi?id=277429

Veaceslav Munteanu <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #20 from Veaceslav Munteanu <[hidden email]> ---
Hello,
picassafacetag brach was merged into master:

http://quickgit.kde.org/?p=digikam.git&a=commit&h=0e69485123b1a4938e2c338a9c5142972b89bf82

Now, digiKam can both read/write/update face tags :)

Also, this option is disabled by default and you need to enable it from
settings-»metadata.

Nothing bad should happen, but I recommend to begin testing with a small
collection :)

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

Gilles Caulier-4
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |3.3.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

harry
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #21 from [hidden email] ---
Hi

Just tried this using digikam 3.4.0 for Windows.
I just wanted to clarify whether digikam is writing faces in the same metadata
format it is reading them?

Currently if I write a face tag in Windows Live Photo Gallery, digikam will
recognise it as per bug 271030, but when I set digikam to write face tags as
per this bug, a normal tag is detected in Windows Live Photo  Gallery, but a
people tag is not?

Just wanted to clarify.

Thanks,
Harry

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

Veaceslav Munteanu
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #22 from Veaceslav Munteanu <[hidden email]> ---
Do you have write face tags from digiKam settings enabled?

Also, can you provide me some photos tagged with Windows Live photo?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

harry
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #23 from [hidden email] ---
Created attachment 82982
  --> https://bugs.kde.org/attachment.cgi?id=82982&action=edit
This is a photo with one photo tag position around the face in windows photo
gallery

Yes, I do have the write setting enabled.

Here is one sample image from Windows Photo Gallery

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

harry
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #24 from [hidden email] ---
Created attachment 82983
  --> https://bugs.kde.org/attachment.cgi?id=82983&action=edit
Here is another image tagged in Windows Live Photo Gallery, this one is
slightly different as it includes email address as well as names.

This one has two faces in it, the details contained in each tag are typed under
the tagged area.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

Veaceslav Munteanu
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #25 from Veaceslav Munteanu <[hidden email]> ---
Ok... Writting face rectangles was implemented by me, and it only supports
Metadata Speciafications (also used in Picassa):

Xmp.mwg-rs.Regions/mwg-rs:RegionList         XmpText     0  type="Bag"
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]      XmpText     0  type="Struct"
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Name XmpText     6  Mihnea
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Type XmpText     4  Face
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area XmpText     0
type="Struct"
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:x XmpText     8
0.746528
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:y XmpText     7
0.26196
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:w XmpText     8
0.255916
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:h XmpText     8
0.489198
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:unit XmpText    10
normal

And here is what Window want to see:

Xmp.MP.RegionInfo                            XmpText     0  type="Struct"
Xmp.MP.RegionInfo/MPRI:Regions               XmpText     0  type="Bag"
Xmp.MP.RegionInfo/MPRI:Regions[1]            XmpText     0  type="Struct"
Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:Rectangle XmpText    38  0.438073,
0.301923, 0.185780, 0.311538
Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:PersonDisplayName XmpText    12
Example Face
Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:PersonEmailDigest XmpText    40
E43A0343081CABFE3D1ED5C9F414B68E9F1D7EF8
Xmp.MP.RegionInfo/MPRI:Regions[2]            XmpText     0  type="Struct"
Xmp.MP.RegionInfo/MPRI:Regions[2]/MPReg:Rectangle XmpText    38  0.126147,
0.232692, 0.178899, 0.300000
Xmp.MP.RegionInfo/MPRI:Regions[2]/MPReg:PersonDisplayName XmpText     3  Bob
Xmp.MP.RegionInfo/MPRI:Regions[2]/MPReg:PersonEmailDigest XmpText    40
F4F6C938D35ACA3A4B5EBFD68A2A4B207EB327EE
Xmp.xmpMM.InstanceID                         XmpText    41
uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b

Above all, I like the encrypted email :)

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

Ananta Palani
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

Ananta Palani <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #26 from Ananta Palani <[hidden email]> ---
(In reply to comment #25)

> Ok... Writting face rectangles was implemented by me, and it only supports
> Metadata Speciafications (also used in Picassa):
>
> Xmp.mwg-rs.Regions/mwg-rs:RegionList         XmpText     0  type="Bag"
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]      XmpText     0  type="Struct"
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Name XmpText     6  Mihnea
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Type XmpText     4  Face
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area XmpText     0
> type="Struct"
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:x XmpText     8
> 0.746528
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:y XmpText     7
> 0.26196
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:w XmpText     8
> 0.255916
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:h XmpText     8
> 0.489198
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:unit XmpText  
> 10  normal
>
> And here is what Window want to see:
>
> Xmp.MP.RegionInfo                            XmpText     0  type="Struct"
> Xmp.MP.RegionInfo/MPRI:Regions               XmpText     0  type="Bag"
> Xmp.MP.RegionInfo/MPRI:Regions[1]            XmpText     0  type="Struct"
> Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:Rectangle XmpText    38  0.438073,
> 0.301923, 0.185780, 0.311538
> Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:PersonDisplayName XmpText    12
> Example Face
> Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:PersonEmailDigest XmpText    40
> E43A0343081CABFE3D1ED5C9F414B68E9F1D7EF8
> Xmp.MP.RegionInfo/MPRI:Regions[2]            XmpText     0  type="Struct"
> Xmp.MP.RegionInfo/MPRI:Regions[2]/MPReg:Rectangle XmpText    38  0.126147,
> 0.232692, 0.178899, 0.300000
> Xmp.MP.RegionInfo/MPRI:Regions[2]/MPReg:PersonDisplayName XmpText     3  Bob
> Xmp.MP.RegionInfo/MPRI:Regions[2]/MPReg:PersonEmailDigest XmpText    40
> F4F6C938D35ACA3A4B5EBFD68A2A4B207EB327EE
> Xmp.xmpMM.InstanceID                         XmpText    41
> uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b
>
> Above all, I like the encrypted email :)

In case you didn't see the specification:

http://msdn.microsoft.com/en-us/library/windows/desktop/ee719905%28v=vs.85%29.aspx

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

harry
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #27 from [hidden email] ---
(In reply to comment #25)

> Ok... Writting face rectangles was implemented by me, and it only supports
> Metadata Speciafications (also used in Picassa):
>
> Xmp.mwg-rs.Regions/mwg-rs:RegionList         XmpText     0  type="Bag"
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]      XmpText     0  type="Struct"
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Name XmpText     6  Mihnea
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Type XmpText     4  Face
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area XmpText     0
> type="Struct"
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:x XmpText     8
> 0.746528
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:y XmpText     7
> 0.26196
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:w XmpText     8
> 0.255916
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:h XmpText     8
> 0.489198
> Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:unit XmpText  
> 10  normal
>
> And here is what Window want to see:
>
> Xmp.MP.RegionInfo                            XmpText     0  type="Struct"
> Xmp.MP.RegionInfo/MPRI:Regions               XmpText     0  type="Bag"
> Xmp.MP.RegionInfo/MPRI:Regions[1]            XmpText     0  type="Struct"
> Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:Rectangle XmpText    38  0.438073,
> 0.301923, 0.185780, 0.311538
> Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:PersonDisplayName XmpText    12
> Example Face
> Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:PersonEmailDigest XmpText    40
> E43A0343081CABFE3D1ED5C9F414B68E9F1D7EF8
> Xmp.MP.RegionInfo/MPRI:Regions[2]            XmpText     0  type="Struct"
> Xmp.MP.RegionInfo/MPRI:Regions[2]/MPReg:Rectangle XmpText    38  0.126147,
> 0.232692, 0.178899, 0.300000
> Xmp.MP.RegionInfo/MPRI:Regions[2]/MPReg:PersonDisplayName XmpText     3  Bob
> Xmp.MP.RegionInfo/MPRI:Regions[2]/MPReg:PersonEmailDigest XmpText    40
> F4F6C938D35ACA3A4B5EBFD68A2A4B207EB327EE
> Xmp.xmpMM.InstanceID                         XmpText    41
> uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b
>
> Above all, I like the encrypted email :)

Thanks for the clarification, I just wanted to check seeing as digikam reads
face tags from windows live.

Should I post a new feature request for writing windows live face tags?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

Veaceslav Munteanu
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #28 from Veaceslav Munteanu <[hidden email]> ---
Created attachment 83037
  --> https://bugs.kde.org/attachment.cgi?id=83037&action=edit
Photo tagged with test program implementing Live Photo tagging

Here is a photo tagged with my test program, please tell me if Windows Live
Photo can detect it and rectangle is positioned correctly on Artist's face :)

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

harry
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #29 from [hidden email] ---
Created attachment 83040
  --> https://bugs.kde.org/attachment.cgi?id=83040&action=edit
Here's a screenshot of test photo in Windows Photo Gallery

It is detecting the tag correctly, but I think the rectangle is slightly off.
I've added a screenshot of where windows live displays it in case that is were
it's supposed to be.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

Veaceslav Munteanu
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #30 from Veaceslav Munteanu <[hidden email]> ---
Created attachment 83046
  --> https://bugs.kde.org/attachment.cgi?id=83046&action=edit
Tagged photo

Please test this one :)

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

Veaceslav Munteanu
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #31 from Veaceslav Munteanu <[hidden email]> ---
Created attachment 83047
  --> https://bugs.kde.org/attachment.cgi?id=83047&action=edit
No tags

Also, check this one without any tags :)

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

harry
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #32 from [hidden email] ---
Hi

Neither of those two show up as having people tags in windows photo gallery.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

Veaceslav Munteanu
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #33 from Veaceslav Munteanu <[hidden email]> ---
Created attachment 83049
  --> https://bugs.kde.org/attachment.cgi?id=83049&action=edit
Jpeg tagged

Hmm... can it be because the file is .png?

Here, try a jpeg photo...

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

harry
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #34 from [hidden email] ---


(In reply to comment #33)
> Created attachment 83049 [details]
> Jpeg tagged
>
> Hmm... can it be because the file is .png?
>
> Here, try a jpeg photo...

Ok, I tried to add a tag to a png and check it with exiv2. Windows Photo
Gallery doesn't appear to write any metadata to pngs.

The new jpeg didn't work either however.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

Veaceslav Munteanu
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #35 from Veaceslav Munteanu <[hidden email]> ---
Created attachment 83050
  --> https://bugs.kde.org/attachment.cgi?id=83050&action=edit
Jpeg tagged 2

Ok, so no png support,

I found some errors in first image's rectangle, here version 2

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

harry
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #36 from [hidden email] ---
That one works great :)

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

Veaceslav Munteanu
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #37 from Veaceslav Munteanu <[hidden email]> ---

> @bug_id = 277429
> @bug_status = RESOLVED
> @resolution = FIXED
> @cf_commitlink = http://commits.kde.org/digikam/9d297b9d7a2c3c7eeb212ce3090a4349e930ed27
>
> Git commit 9d297b9d7a2c3c7eeb212ce3090a4349e930ed27 by Veaceslav Munteanu.
> Committed on 23/10/2013 at 13:20.
> Pushed by munteanu into branch 'master'.
>
> M  +28   -38   libs/dmetadata/dmetadata.cpp
> M  +0    -3    libs/dmetadata/dmetadata.h
>
> http://commits.kde.org/digikam/9d297b9d7a2c3c7eeb212ce3090a4349e930ed27

The Good: I pushed changes into git mater
The Bad: digiKam's git is only for testing since it integrated GSoC projects
and next stable version will be after at least half of year...

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 277429] Write out face rectangles to XMP file

Ananta Palani
In reply to this post by Bugzilla from leif@dkstat.com
https://bugs.kde.org/show_bug.cgi?id=277429

--- Comment #38 from Ananta Palani <[hidden email]> ---
(In reply to comment #35)
> Created attachment 83050 [details]
> Jpeg tagged 2
>
> Ok, so no png support,
>
> I found some errors in first image's rectangle, here version 2

You can see the WIC (and by extension Windows [Live] Photo Gallery) doesn't
support XMP outside of JPEG and TIFF (for PNG they only support tEXt):

 
http://msdn.microsoft.com/en-us/library/windows/desktop/ee719653%28v=vs.85%29.aspx#metadataextensibility

Seems to be a common problem. According to this forum, Photoshop and many Adobe
products don't either (although the last comment indicates that it's planned
for Photoshop in future):

   http://forums.adobe.com/thread/516779

I still think we write them out regardless since there are plenty of other apps
that support it. And if someone has to use Adobe or some other app that doesn't
when editing a photo, they can always use XMP sidecars.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
123