Advanced Search with Area-Property

Post Reply
Robosoc
Posts: 38
Joined: 11 Apr 10 8:56
Location: Germany

Advanced Search with Area-Property

Post by Robosoc »

1. Is there a way to look for images that have e.g. more then 5 areas defined?
(Example: automated face detection in external tool finds many unimportant faces on mass events such as wedding photos, sport events, concerts...)

2. Is there a way to show images that have areas without linked labels (I would call them empty areas)?

3. Is there an advanced search method that performes following task:
Find images, that have one or more areas (empty or linked) AND a label "Sven" BUT no link between "Sven" and the/an area?

BR,
Sven
Robosoc
Posts: 38
Joined: 11 Apr 10 8:56
Location: Germany

Re: Advanced Search with Area-Property

Post by Robosoc »

For 3. I had an idea, but it does not work out so far:

My test case:
I currently have three images of any "Sandra" with area's detected.
Only one of them has an area linked to person called "Sandra", but this image also has a linked area called "Jana".
The two other images have one "empty area" (not linked to a person yet) currently.
I would like to perform a search resulting in the two images with no area link.

I processed I Dynamic Search with three items:
  1. including states (With Areas) // as single search this gives me 994 items currently
  2. including text (Sandra@PROP) // as single search this gives me 238 items currently
  3. -> excluding text (Sandra@AREA) // as single search this gives me 24731 items currently - or inverse only the one item with area-link to Sandra.
with "Join these items" (AND).

The Dynamic Search above gives me all three images, which is strange.

"Join" should process an "AND"-Relation between the three search items and an AND-Relation with the third search item which excludes all images of my collection except one, can only result in one image, right? Either I make a mistake or there is a small bug in the dynamic search.

Or in other words:
The beavior of the above given search seems to be
-> (states (with Areas) AND Sandra@PROP) OR Sandra@AREA
while I'd expect
-> states (with Areas) AND Sandra@PROP AND NOT Sandra@AREA

So my suggestion is, that there might be a bug in Dynamics Searches with exclusive searches and Join, or...with me :)

But another example would be a Dynamic Search like
(group (text (*@area))) excluding (group (text (Sandra@area)))
Even on that Search the EXCLUDING is not processed at my side.

Running 6.0.0.3627 by the way
Robosoc
Posts: 38
Joined: 11 Apr 10 8:56
Location: Germany

Re: Advanced Search with Area-Property

Post by Robosoc »

For 2. I had an idea, which also doesn't work.
-> ""@area //gives no results
in fact it seems as if the search is not even performed because the headline in the image view section does not change accordingly

-> @area // gives 6307 results, but I don't understand why, yet. As I have currently 994 images with areas.
Hert
Posts: 7870
Joined: 13 Sep 03 6:24

Re: Advanced Search with Area-Property

Post by Hert »

Robosoc wrote: 25 Mar 21 6:00 -> states (with Areas) AND Sandra@PROP AND NOT Sandra@AREA
Great find! I was able to reproduce this. The excluded search text (Sandra@AREA in your case) was not being added to the search statement, hence the wrong result. This is fixed for the next build.
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
Robosoc
Posts: 38
Joined: 11 Apr 10 8:56
Location: Germany

Re: Advanced Search with Area-Property

Post by Robosoc »

Perfect, thank you Hert.
Hert
Posts: 7870
Joined: 13 Sep 03 6:24

Re: Advanced Search with Area-Property

Post by Hert »

Build 3635 is available from the website (no web update trigger). That includes the fix for the "exclude search text"
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
Robosoc
Posts: 38
Joined: 11 Apr 10 8:56
Location: Germany

Re: Advanced Search with Area-Property

Post by Robosoc »

Installed - tested - works like intended!!! Thank you, Hert.

any Idea for Search 1 (Filter on quantitiy of areas) or Search 2 (Filter on areas without link)?

BR, Sven
Hert
Posts: 7870
Joined: 13 Sep 03 6:24

Re: Advanced Search with Area-Property

Post by Hert »

I've created a script to filter on the number of areas.

filter_areas.png
filter_areas.png (196.4 KiB) Viewed 3007 times
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
Robosoc
Posts: 38
Joined: 11 Apr 10 8:56
Location: Germany

Re: Advanced Search with Area-Property

Post by Robosoc »

cool, thank you very much, Hert!
Post Reply