[digikam] [Bug 376681] Region Coordinates Are Sometimes inf / Large Numbers

Yingjie Liu bugzilla_noreply at kde.org
Wed Mar 15 08:56:22 GMT 2017


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

--- Comment #8 from Yingjie Liu <1127553236 at qq.com> ---
Hi Gilles,
I set the filter as you said, click the tags filters, and turn on all in the
Views and Behavior, as shown in the Attachment "filter1" and "filter2".
Then I installed mysql for the db reading and writing.
But I met three problems.
The first is some pictures have XMP metadata (see attachment "has metadata", I
closed some filters in it, just left the useful ones), and some pictures have
no XMP and other metadata (see attachment "has no metadata").
The second problem is that the XMP metadata about face tags is unavaliable, as
shown in attachment "has metadata".
The third problem is that I installed 5.5.0 in windows, the "Last Keyword XMP"
will show the face tag's name after I draw the box and click "Album->Write
Metadata to Images", as shown in attachment "windows5.5.0 version". However, in
ubuntu, I compiled the latest code and installed the software, draw the box,
click "Album->Write Metadata to Images", the face tag's name still not shows in
"Last Keyword XMP" view, the attachment "has metadata" shows the result.

I read the method storing the metadata that you posted two days ago:

https://cgit.kde.org/digikam.git/tree/libs/dmetadata/dmetadata.cpp#n1659

This method add the metadata of "Area","Regions" and "Region List" to XMP view.
I found that the method is invoked by:

https://cgit.kde.org/digikam.git/tree/libs/fileactionmanager/metadatahub.cpp#n271

Then I debuged the program, and I found that the operations like create/modify
face tags, write/read metadata from database or write/read tags from database,
they all did not invoke the write method, therefore the setImageFacesMap can't
be executed, so the XMP view has no data.

I don't know whether I missed some configurations of the software, if so,
please indicate it for me. If there are some mistakes in my operations or I did
not see the right code, please indicate it too. Thanks.

Yingjie Liu

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Digikam-devel mailing list