Bug 495985 - Feature idea: Image metadata analytics
Summary: Feature idea: Image metadata analytics
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Schema (other bugs)
Version First Reported In: unspecified
Platform: Other Other
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-08 20:17 UTC by Michael Miller
Modified: 2024-11-14 01:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Miller 2024-11-08 20:17:28 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Feature request.  Not a bug

STEPS TO REPRODUCE
1. Not a bug
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
One if the features I really like in Lightroom is the ability to look at counts of images using information from my image metadata.  It helps me understand my favorite bodies, lenses, focal lengths, shutter speed, f/stop, ISO and other camera settings.  It would be nice to have a screen where the user could select different metadata properties, and values or value ranges and then digiKam could populate a grid with the number of images matching the parameters.  For example, I'm considering a new wide-angle lens.  It would be nice to be able to see how many images I already have in my library with a focal length of less than 28mm.  What aperture did I use for most of the images? What ISO? Does it make sense to buy a faster wide-angle lens?  Would I use it enough?

I know I can make SQL queries directly against the SQLite or MariaDB databases, but most people don't have the tools or the knowledge to do so.

Here are a few of my favorite SQL queries.  If we could create a UI in digiKam so all users can see this information, I think it would be a great addition to the program.

Helps me understand the focal lengths and lenses I use most:
SELECT make,model,lens,focalLength,count(*) FROM ImageMetadata
WHERE make="SONY"
GROUP BY make,model,lens,focalLength
ORDER BY count(*) DESC;
 
Tells me my favorite lenses for my current body:
SELECT make,model,lens,focalLength,count(*) FROM ImageMetadata
WHERE make="SONY" AND model="ILCE-7RM3A"
GROUP BY lens
ORDER BY count(*) DESC;

Tells me my favorite ISO settings for a given focal length:
SELECT make,model,lens,sensitivity,focalLength,count(*) FROM ImageMetadata
WHERE make="SONY" AND model="ILCE-7RM3A"
GROUP BY sensitivity
ORDER BY count(*) DESC;
Comment 1 Maik Qualmann 2024-11-08 20:35:45 UTC
You want a statistics? A bar chart? Because such queries are already possible. I just checked, I only have 1239 images under 30mm focal length, so a wide angle is not worth it for me ((:-))

Maik
Comment 2 Michael Miller 2024-11-08 22:19:30 UTC
(In reply to Maik Qualmann from comment #1)
> You want a statistics? A bar chart? Because such queries are already
> possible. I just checked, I only have 1239 images under 30mm focal length,
> so a wide angle is not worth it for me ((:-))
> 
> Maik

I have over 6000 images under 28mm.  I like big landscapes. (:-)) 

I think a grid display would be best.  Something simple.  Select the metadata columns you want to see like make, model, lens, focal length, and then the grid has those columns with a count column.  Click on the column grid header to sort ascending or descending.  It's almost like a spreadsheet, but with a UI with dynamically populated dropdowns with checkboxes in the dropdown to select the metadata values.

Where does this exist in digiKam now?  How did I miss it?  I've been looking for this for years!
Comment 3 Maik Qualmann 2024-11-13 19:56:21 UTC
(In reply to Michael Miller from comment #2)
> Where does this exist in digiKam now?  How did I miss it?  I've been looking
> for this for years!

Well, listing specific images by photo properties in combinations by camera make, model, lens, focal length, etc. works with the advanced search in digiKam. But I think you know that?

Maik
Comment 4 Michael Miller 2024-11-14 01:14:30 UTC
(In reply to Maik Qualmann from comment #3)
> (In reply to Michael Miller from comment #2)
> > Where does this exist in digiKam now?  How did I miss it?  I've been looking
> > for this for years!
> 
> Well, listing specific images by photo properties in combinations by camera
> make, model, lens, focal length, etc. works with the advanced search in
> digiKam. But I think you know that?
> 
> Maik

Hi Maik,
yes, I'm thinking of something very similar, but instead of showing images, there's a grid that shows counts of images.  I'll put together some UI mockups, or google for screenshots of the Adobe Lightroom feature I'm thinking about.

Cheers,
Mike