[digikam] [Bug 320666] Add search of similar images outside digiKam collections [patch]

Mario Frank bugzilla_noreply at kde.org
Fri Jan 6 15:45:44 GMT 2017


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

--- Comment #34 from Mario Frank <mario.frank at uni-potsdam.de> ---
(In reply to Simon from comment #33)
> The percentages logged to stdout are meaningful (i.e. not binary).

Okay, then it is no HAAR search problem and must be a problem in the
listFromHaarSearch function. 

Are the images with similarity 100 identical to the image searched for?

Do you use a SQLite DB or MySQL?

Can you test the following:
in libs/database/item/imagelister.cpp, function listFromHaarSearch,
after 

record.currentSimilarity = (*it).toDouble();

insert:

qCDebug(DIGIKAM_DATABASE_LOG) << "Similarity of image " << record.imageID << "
in imageLister: " << record.currentSimilarity;

When you compile this and search again, is the current similarity 0.0?

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


More information about the Digikam-devel mailing list