I
Immich5mo ago
dekzter

Merging Faces with Digikam Faces

I'm going from an external library to an Immich-managed library with our mobile photos. All of our historical photos have XMP sidecars with face data from Digikam which Immich now reads in. What is going to happen from a technical and usage perspective if I start merging in the faces detected from Digikam with the faces detected and "managed" by Immich? Will this just seemlessly work? Are there any issues with the boundaries / locations in photos of a face Immich detected vs a face that was read in via Digikam data?
10 Replies
Immich
Immich5mo ago
:wave: Hey @dekzter, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :ballot_box_with_check: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: uploaded the relevant information (see below). 7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable (an item can be marked as "complete" by reacting with the appropriate number) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed.
sogan
sogan5mo ago
Since some of these people and faces likely exist in immich’s machine learning results, these will end up being duplicated when you import the face metadata. The face detection job does handle deduplicating faces, but the metadata extraction job responsible for importing XMP data does not.
dekzter
dekzterOP5mo ago
I'm good with "starting over" if necessary and just use Immich, remove the old people it ingested from digikam, but would be nice if I could provide the data of the already matches faces, though I'm sure it's not that simple
sogan
sogan5mo ago
If you’re willing to reset the machine learning data, then you can import the library, wait for everything to finish and then click “reset” next to “face detection” in the job panel. This should produce the cleanest, best result An alternative is to merge the duplicate people and “refresh” face detection instead, but I’m less confident it’d get the same result
dekzter
dekzterOP5mo ago
Could I just delete the people that were imported via digikam without resetting anything? I never merged them and they're named different than what Immich detected
sogan
sogan5mo ago
Oh, you already imported the metadata faces? Hmm, I don’t think there’s a way to get rid of that data through the UI (short of removing it from the XMP itself and re-running metadata extraction). A SQL query could do it though
dekzter
dekzterOP5mo ago
Ah ok. Hmm. Not sure how best to proceed because I would have to remove those faces from the side car files right?
sogan
sogan5mo ago
Do you want to get rid of both metadata-sourced faces and people or just the people? The former can be done with sql, but the latter would need you to merge them yourself
dekzter
dekzterOP5mo ago
Unless I remove the data from the side car files, won't Immich just pick them up again if metadata is refreshed?
sogan
sogan5mo ago
Yes, if you rerun it manually

Did you find this page helpful?