https://bugs.kde.org/show_bug.cgi?id=425254

            Bug ID: 425254
           Summary: Face tagging in Digikam: Exiv2 saves [XMP-mwg-rs] with
                    "inf, inf, inf, inf" instead of numbers
           Product: digikam
           Version: unspecified
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Faces-Maintenance
          Assignee: digikam-bugs-n...@kde.org
          Reporter: josjonke...@gmail.com
  Target Milestone: ---

Face tagging in Digikam: DigiKam or Exiv2 saves [XMP-mwg-rs] with "inf, inf,
inf, inf" instead of numbers.

STEPS TO REPRODUCE
1. Open a picture in Digikam
2. Tag a face
3. View resulting metadata (for example with exiftool)

Output of exiftool -G1 -a -s before confirming a face with Digikam: (as you can
see; it was already tagged)

[XMP-mwg-rs]    RegionAppliedToDimensionsH      : 2048
[XMP-mwg-rs]    RegionAppliedToDimensionsUnit   : pixel
[XMP-mwg-rs]    RegionAppliedToDimensionsW      : 1536
[XMP-mwg-rs]    RegionAreaH                     : 0.178125
[XMP-mwg-rs]    RegionAreaUnit                  : normalized
[XMP-mwg-rs]    RegionAreaW                     : 0.237500
[XMP-mwg-rs]    RegionAreaX                     : 0.60625
[XMP-mwg-rs]    RegionAreaY                     : 0.4421875
[XMP-mwg-rs]    RegionName                      : NAME
[XMP-mwg-rs]    RegionType                      : Face


Output of exiftool -G1 -a -s AFTER confirming a face with Digikam:

[XMP-mwg-rs]    RegionAppliedToDimensionsH      : 2048
[XMP-mwg-rs]    RegionAppliedToDimensionsUnit   : pixel
[XMP-mwg-rs]    RegionAppliedToDimensionsW      : 1536
[XMP-mwg-rs]    RegionName                      : NAME
[XMP-mwg-rs]    RegionType                      : Face
[XMP-mwg-rs]    RegionAreaX                     : inf
[XMP-mwg-rs]    RegionAreaY                     : inf
[XMP-mwg-rs]    RegionAreaW                     : inf
[XMP-mwg-rs]    RegionAreaH                     : inf
[XMP-mwg-rs]    RegionAreaUnit                  : normalized

As you can see, instead of numbers (for ex. RegionAreaX), it now only says
"inf, inf, inf, inf".

Im I correct in understanding that this is not the expected behaviour?

If so, what to do to remedy this? Updating the internally used exiv2 version of
Digikam?


OBSERVED RESULT
[XMP-mwg-rs]    RegionAreaX                     : inf
[XMP-mwg-rs]    RegionAreaY                     : inf
[XMP-mwg-rs]    RegionAreaW                     : inf
[XMP-mwg-rs]    RegionAreaH                     : inf


EXPECTED RESULT
[XMP-mwg-rs]    RegionAreaH                     : 0.178125
[XMP-mwg-rs]    RegionAreaW                     : 0.237500
[XMP-mwg-rs]    RegionAreaX                     : 0.60625
[XMP-mwg-rs]    RegionAreaY                     : 0.4421875


SOFTWARE/OS VERSIONS
Windows: 10, latest August 2020 update

ADDITIONAL INFORMATION
Digikam version 7.0.0 (build 16 july 2020)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to