photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: Cobblestone-TLT on April 28, 2018, 05:27:12 PM

Title: Filter images with less/more N keywords
Post by: Cobblestone-TLT on April 28, 2018, 05:27:12 PM
Hello!
Is there a way to filter images with a certain number of keywords (or more / less than a certain number)?
Thanks!
Title: Re: Filter images with less/more N keywords
Post by: Mario on April 28, 2018, 06:43:47 PM
How unusual. Why do you want to do that?

If this is some sort of quality measure, check out this know-how article: https://www.photools.com/3594/visual-clues-improve-workflow/
Tip: Files without keywords are show in the "No Keywords" category under "IMatch Workflow Categories" in the Category View.

To group files by the number of keywords, you can setup a data driven category based on the following variable:

{File.MD.XMP::Lightroom\hierarchicalSubject\HierarchicalSubject\0|count:true}

with these basic settings:

(https://www.photools.com/community/index.php?action=dlattach;topic=7950.0;attach=18936;image)

This groups your files by the number of keywords and you can then select the categories you are interested in (e.g, the categories 1-5 to see files with 1 to 5 keywords).
You can use this category then also in the filter panel and elsewhere.

Note: Data-driven categories based on variables can do amazing things but they are much slower than regular data-driven categories, especially with databases with a few hundred thousand files.
Set it to manual (Auto Update off) update to avoid performance issues and refresh it only when needed.

You can also use filters or numeric ranges in the data-driven options to further control the contents and number of categories created. E.g. use filters to group them.
Title: Re: Filter images with less/more N keywords
Post by: Cobblestone-TLT on April 28, 2018, 08:15:39 PM
Quote from: Mario on April 28, 2018, 06:43:47 PM{File.MD.XMP::Lightroom\hierarchicalSubject\HierarchicalSubject\0|count:true}

Thank You so much! That is exactly what I need!