#No "change feature photo" option and some feature photo's are black causing people to be hidden

1 messages Β· Page 1 of 1 (latest)

sick zephyr
#

Currently running Immich local network only (not yet public facing)
When browsing images i somethimes see faces tagged but the with a missing feature photo, this also causes those "people" to not show up in the people list.
Secondly i don't seem to have a "change feature photo" option (might be me being daft)

#

Current version = 1.105.1

zinc atlas
#

You have to go to the people tab, click on a person, and then in the top right hit select feature photo

sick zephyr
#

ah

#

thanks,

#

then there is still the issue of missing feature images and that causing, them not to show up in the list of people

zinc atlas
#

That I am unsure of with no logs and such

sick zephyr
#

if you tell me what logs you need and where to get em, ill try πŸ™‚

zinc atlas
sick zephyr
#

manually setting a feature image, does fix the issue

#

however now finding all the people who he's "found" without a name is another thing.
Will try to get the logs πŸ™‚

#

there you go

zinc atlas
#

Hmm. Nothing suspicious in there error wise. Not 100% sure what would have happened in this case. Can see if anyeone else has any insights

sick zephyr
#

please do πŸ™‚

#

I think i know why this is happening

#

i just tried to change the feature photo and selected a video

#

and then the feature foto changed to a blank one

#

so could be that the face recognition is trying to get feature pictures from video's

zinc atlas
#

Oh yes, I doubt that would work. Thumbnails are generated based off the first frame of a video, if there's no face in it that could cause issues. Let me ask team about it

sick zephyr
#

causing this issue

zinc atlas
#

Is it blank or broken?

sick zephyr
#

broken

zinc atlas
#

Alright, asking the crew

sick zephyr
#

thanks!

zinc atlas
#

Seems like a bug, I would search github and make sure it's not a (open) duplicate and if not, open a issue with your setup, description and such πŸ™‚

sick zephyr
#

will do

zinc atlas
#

Thank you!

sick zephyr
#

you too!

short moth
#

Same here. Seems like a bug and I really hope the broken faces can be fixed after the bugfix without having to re-recognize all faces πŸ˜…

short moth
#

This is what comes in my logs regarding this error:

[Nest] 310 - 06/12/2024, 12:55:59 PM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-person-thumbnail): Error: Input file contains unsupported image format
[Nest] 310 - 06/12/2024, 12:55:59 PM ERROR [Microservices:JobService] Error: Input file contains unsupported image format
at Sharp.toFile (/app/immich/server/node_modules/sharp/lib/output.js:89:19)
at MediaRepository.generateThumbnail (/app/immich/server/dist/repositories/media.repository.js:69:14)
at PersonService.handleGeneratePersonThumbnail (/app/immich/server/dist/services/person.service.js:429:36)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /app/immich/server/dist/services/job.service.js:148:36
at async Worker.processJob (/app/immich/server/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
at async Worker.retryIfFailed (/app/immich/server/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
[Nest] 310 - 06/12/2024, 12:55:59 PM ERROR [Microservices:JobService] Object:
{
"id": "fd9ccfcb-806f-493e-b16d-72cf5a58d4d4"
}

wicked jasper
short moth
#

it happens on all videos that were uploaded in the timesince last update (the one before yesterday) and only on faces which weren't already known

#

I just made a 1sek Video of the google images results of "person" and it happened again

#

it doesn't matter if the video came form my form or through web UI. The GoPro videos I uploaded are also affected

wicked jasper
#

Hmm

#

Perhaps you will need to run re recognize all faces

short moth
#

that would kill me πŸ˜…

#

There is may be 10h of work

wicked jasper
#

Up to you, I think it might be some artifact from previous versions that cause the issue

short moth
#

314 faces of all people in my life since I was born

#

isn't it possible to select all damaged faces from the database only

wicked jasper
#

You can also spin up a test instance and try those new photos

short moth
#

Re recognize all faces of the new photos that have the issue is no problem

#

I haven't sorted anything there, as they are damaged anyway and I was waiting for a fix in the next version πŸ˜…

#

But "Input file contains unsupported image format" looks like an error in the thumbnail processing, not inside the database, doesn't it?

#

just checked my timeline again. it definetely began with version v1.105.1

#

where are the face-thumbnails stored? could it be a folder permission problem maybe?

wicked jasper
wicked jasper
lament lodge
#

I think the missing person thumbnails are related to people only identified in videos. I noticed some errors in my logs when I upgraded Immich and re-ran the missing thumbnails job. I get the "Input file contains unsupported image format" only for people that only appear in videos, but no photos.

wicked jasper
#

Hmm do you have a video that you can share for reproducing the issue?

lament lodge
#

Sure, how can I send it to you?

wicked jasper
#

You can zip it up and DM me

wicked jasper
#

@short moth Did you change your video transcoding settings?

short moth
#

could be, but my settings look pretty "normal"

#

"ffmpeg": {
"crf": 25,
"threads": 0,
"preset": "fast",
"targetVideoCodec": "hevc",
"acceptedVideoCodecs": [
"hevc",
"h264"
],
"targetAudioCodec": "aac",
"acceptedAudioCodecs": [
"aac",
"mp3"
],
"targetResolution": "original",
"maxBitrate": "90M",
"bframes": -1,
"refs": 0,
"gopSize": 0,
"npl": 0,
"temporalAQ": false,
"cqMode": "auto",
"twoPass": false,
"preferredHwDevice": "auto",
"transcode": "required",
"tonemap": "hable",
"accel": "disabled",
"accelDecode": false
},
"machineLearning": {
"enabled": true,
"url": "http://127.0.0.1:3003",
"clip": {
"enabled": true,
"modelName": "ViT-B-32__openai"
},
"duplicateDetection": {
"enabled": true,
"maxDistance": 0.0155
},
"facialRecognition": {
"enabled": true,
"modelName": "buffalo_l",
"minScore": 0.7,
"maxDistance": 0.5,
"minFaces": 1
},
"classification": {
"enabled": true
}
},

#

I just updated to the hotfix but the problem still persists

wicked jasper
short moth
#

okay, just a moment

#

still happens 😦

wicked jasper
short moth
#

I always record a short video of the google image results to test it 😁

short moth
#

I'm using the All-in-one Image btw (but thinking about switching to the official release as it's compact now)

polar karma
#

We probably still need to crop the preview image for videos

short moth
#

Thank you very much, it's working again!

#

how can I fix the broken faces/assets now? I'm not afraid of database queries πŸ™‚

#

okay I found it out. Selecting the feature photo will refresh the person thumbnail