[KPhotoAlbum] image search question
grabner at icg.tugraz.at
Tue Apr 24 22:20:16 CEST 2012
On Monday 23 April 2012 06:39:33 Martin Jost wrote:
> from my experience, KPA doesn't distinguish between the same string in
> different sub-categories. If the string is the same, they are treated as
> identical in the search.
> Based on what you intend, this might be a bug or a feature.
> In your case it looks like a bug. The correction would be - as already
> suggested - to add a tag "Pool", independent from the hotels and then
> search for "Hotel A & Pool" or "Hotel B & Pool". This will also work for
> "Hotel C and Pool" later on.
> It becomes a feature, if you have things like this:
> I have my "Persons" ordered into subcategories, from where I know them.
> E.g. friends, amnesty international, colleagues, organized bicycle
> tours, ...
> Now there are persons who belong in two of these categories. If I search
> for them, I will find them, no matter for what subcategory I tagged
> their name. (So it is a feature here !)
The person example is indeed better since the same person can belong to
different subcategories as you note, while the pools at hotel A and B are
actually distinct objects. I think I will rearrange my tags accordingly.
> If I would like to only find the fotos of person x, but only the ones
> taken in context "amnesty international", I would need to search for
> "Person A & amnesty international". (Unfortunately, this seems to give
> wrong results, when I just tried - but I don't have the time to look
> closer at this right now...)
Regardless of the use case, there really seems to be some undesirable
behaviour here (aka "bug" :-). I did the following:
*) I added the tag "George" to all photos of my neighbor George.
*) I added the tag "Scream" (the name of a music group) to all photos taken in
the context of this music group.
*) Since George is a member of Scream, I added "George" as a subcategory of
Now I would expect the following query results:
1.) query "George" -> all photos of George
2.) query "George&Scream" -> all photos of George taken in the context of
The first query works as expected, but the second query gives exactly the same
results as the first one, which I don't think makes sense. So my questions
*) Should the two queries above really give the same results?
*) If yes, how can I tag the images and/or rewrite the query to get only those
photos of George which also include the tag "Scream"?
Thanks & kind regards,
Institute for Computer Graphics and Vision
Graz University of Technology, Inffeldgasse 16a/II, 8010 Graz, Austria
More information about the KPhotoAlbum