| Summary: | Support for "portrait size" | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Roberto <betokella> |
| Component: | Faces-Workflow | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | wishlist | CC: | caulier.gilles |
| Priority: | NOR | ||
| Version First Reported In: | 8.2.0 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Unspecified | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Query and output | ||
|
Description
Roberto
2023-10-14 12:36:27 UTC
REFINING THE PROPOSED METHOD The portrait size should be calculated as the total sum of the face rectangles areas (height x width) divided by the total area of the image (height x width) multiplied by 100 and rounded to integer. This will not affect single portraits and will acomodate the concept of portrait size to support group portraits where multiple small faces will use up a big area. There could be an additional item in the "Face regions" section in "Advanced search" reading something like "Faces sizes: Return items with faces regions total area ratio ___ to ___ (min-max %). Created attachment 166485 [details]
Query and output
The "Query and output" attachment contains a sample query and results showing the proposed method (could not manage XML in SQLite so used regexp). /Roberto |