How are previews for faces determined? #646
Replies: 15 comments 1 reply
-
The latest photo of a person will be selected: pigallery2/src/backend/model/database/PersonManager.ts Lines 34 to 44 in 68d09ce |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I'm not sure if I understand the question.
Face regions are from the exif/xmp data that is the first few bytes of a
jpg file.
…On Mon, Jun 5, 2023 at 9:36 AM hajo62 ***@***.***> wrote:
The previews are a part of the picture and not the faces which has been
tagged?
[image: Screenshot]
<https://user-images.githubusercontent.com/15800980/243283331-0870a746-fc23-401d-a9f2-33c08d83b508.png>
I see some face previews, where the shown preview does not show the tagged
person, although the image itself shows that the tag is set at the correct
area.
—
Reply to this email directly, view it on GitHub
<#646 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZKA5U5YM46DWD5JBUFMQLXJWEBRANCNFSM6AAAAAAV5RCL54>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Did you updated that photo?
Can you try deleting the faces folder in the temp folder, maybe it fixes it?
…-- Sorry for being brief, sent from my phone.
On Wed, 14 Jun 2023, 10:40 hajo62, ***@***.***> wrote:
In my case the face region is specified with digicam and stored in the xmp
meta data in the file.
If I show the image the face area is displayed correct.
But when I go to faces, the screenshot above is shown, which is another
area in the same image.
[image: image]
<https://user-images.githubusercontent.com/15800980/245730464-d59e2ce4-5736-4e17-acb5-d29dd574436d.png>
—
Reply to this email directly, view it on GitHub
<#646 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZKA5XVJSAOLBAMEPTF4EDXLF2JRANCNFSM6AAAAAAV5RCL54>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
No updates, except metadata with digikam. Will try deleting the faces temp-folder. |
Beta Was this translation helpful? Give feedback.
-
I suspect that you had a photo with the wrong face region coordinates. The
app used that to generate the person thumbnail. Then you fixed the face
region, so on the lightbox/photo previous it works.
(Face region is the xmp tag name in the photo metadata)
…-- Sorry for being brief, sent from my phone.
On Wed, 14 Jun 2023, 13:25 hajo62, ***@***.***> wrote:
No updates, except metadata with digikam.
Will try deleting the faces temp-folder.
—
Reply to this email directly, view it on GitHub
<#646 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZKA5TQO2M65NHZ6KLVQALXLGNSPANCNFSM6AAAAAAV5RCL54>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hhm, might be. Tomorrow I will try deleting the faces temp-folder and look what happens. |
Beta Was this translation helpful? Give feedback.
-
I deleted the f-folder and restarted the container. Regarding "wrong face region coordinates and fixed later": You never know, but I assume not. The region would have been far away from the correct face region. How would I best push pigallery to rescan and update the face tags for an image or a folder? |
Beta Was this translation helpful? Give feedback.
-
Hello, in face overview, wrong region is showed; [IFD0] Orientation : Rotate 180 I can send you the photo if you want ... |
Beta Was this translation helpful? Give feedback.
-
Hi
Yes pls. Send a photo that has the issue.
Patrik
…-- Sorry for being brief, sent from my phone.
On Fri, 8 Sept 2023, 13:33 beber56, ***@***.***> wrote:
Hello,
same pb for me; face region is specified with digikam ;
PiGallery2 edge-debian-bullseye, docker version;
in face overview, wrong region is showed;
On the photo, it's correct;
I suspect it's when the photo is flipped in exif data;
in exif :
[IFD0] Orientation : Rotate 180
[...]
[XMP-mwg-rs] RegionAppliedToDimensionsW : 4032
[XMP-mwg-rs] RegionAppliedToDimensionsH : 2688
[XMP-mwg-rs] RegionAppliedToDimensionsUnit : pixel
[XMP-mwg-rs] RegionName : Domi, Isa
[XMP-mwg-rs] RegionType : Face, Face
[XMP-mwg-rs] RegionAreaX : 0.596726, 0.338294
[XMP-mwg-rs] RegionAreaY : 0.71596, 0.703497
[XMP-mwg-rs] RegionAreaW : 0.139881, 0.12996
[XMP-mwg-rs] RegionAreaH : 0.236235, 0.311756
[XMP-mwg-rs] RegionAreaUnit : normalized, normalized
I can send you the photo if you want ...
[image: 20230908_131519]
<https://user-images.githubusercontent.com/105120783/266596675-4cabc47c-3454-44e6-9302-a89e6c76f438.JPG>
[image: 20230908_131552]
<https://user-images.githubusercontent.com/105120783/266596681-a49a11d6-4990-45fe-821c-6bde935b2ff7.JPG>
—
Reply to this email directly, view it on GitHub
<#646 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZKA5XEN7C46FAJE56XGVLXZL7AZANCNFSM6AAAAAAV5RCL54>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
hello,
attached ...
Le ven. 8 sept. 2023 à 13:35, Patrik J. Braun ***@***.***> a
écrit :
… Hi
Yes pls. Send a photo that has the issue.
Patrik
-- Sorry for being brief, sent from my phone.
On Fri, 8 Sept 2023, 13:33 beber56, ***@***.***> wrote:
> Hello,
> same pb for me; face region is specified with digikam ;
> PiGallery2 edge-debian-bullseye, docker version;
>
> in face overview, wrong region is showed;
> On the photo, it's correct;
> I suspect it's when the photo is flipped in exif data;
> in exif :
>
> [IFD0] Orientation : Rotate 180
> [...]
> [XMP-mwg-rs] RegionAppliedToDimensionsW : 4032
> [XMP-mwg-rs] RegionAppliedToDimensionsH : 2688
> [XMP-mwg-rs] RegionAppliedToDimensionsUnit : pixel
> [XMP-mwg-rs] RegionName : Domi, Isa
> [XMP-mwg-rs] RegionType : Face, Face
> [XMP-mwg-rs] RegionAreaX : 0.596726, 0.338294
> [XMP-mwg-rs] RegionAreaY : 0.71596, 0.703497
> [XMP-mwg-rs] RegionAreaW : 0.139881, 0.12996
> [XMP-mwg-rs] RegionAreaH : 0.236235, 0.311756
> [XMP-mwg-rs] RegionAreaUnit : normalized, normalized
>
> I can send you the photo if you want ...
>
> [image: 20230908_131519]
> <
https://user-images.githubusercontent.com/105120783/266596675-4cabc47c-3454-44e6-9302-a89e6c76f438.JPG>
> [image: 20230908_131552]
> <
https://user-images.githubusercontent.com/105120783/266596681-a49a11d6-4990-45fe-821c-6bde935b2ff7.JPG>
>
> —
> Reply to this email directly, view it on GitHub
> <
#646 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ABZKA5XEN7C46FAJE56XGVLXZL7AZANCNFSM6AAAAAAV5RCL54>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#646 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZCAID5QK527HMK563CO4IDXZL7GZANCNFSM6AAAAAAV5RCL54>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
7ec6725 should fix this. |
Beta Was this translation helpful? Give feedback.
-
Yes ! Thanks ! |
Beta Was this translation helpful? Give feedback.
-
What determines which headshot is used for the thumbnail preview of a particular person ("face")? Can we manually control it?
Beta Was this translation helpful? Give feedback.
All reactions