G Photos import

Immich I am running Immich on a Windows 10 Desktop version v1.72.2. I have imported all the current photos on my Windows PC using the CLI uploader. All is working well. All these photos and others are on Google Photos in “high quality” not original quality. There has been facial recognition and location detection on all the photos. I want the extra photos/albums etc in Immich. I have downloaded the photos in a Takeout. I have some questions. 1. Do I have to do anything to the Takeout files before uploading? 2. Will the Google facial recognition be used and will it assist the Immich facial recognition? 3. Will the duplicates of the existing photos not be used or removed? 4. If duplicates are recognised, what happens to the Google “High quality” copies of existing photos? Will they be removed or will they be classed as new photos? Thanks
5 Replies
Harlequin
Harlequin2y ago
I used - https://github.com/TheLastGimbus/GooglePhotosTakeoutHelper to fix the exif data on google takeout and then imported into immich. I believe that immich will see the HQ google versions of the photos and your originals as different photos. So I believe you will end up with duplicates. But my google photos were stored as original quality so I'm not 100% sure.
GitHub
GitHub - TheLastGimbus/GooglePhotosTakeoutHelper: Script that organ...
Script that organizes the Google Takeout archive into one big chronological folder - GitHub - TheLastGimbus/GooglePhotosTakeoutHelper: Script that organizes the Google Takeout archive into one big ...
Simulot
Simulot2y ago
Hi, I have similar needs: 100K photos, 20K in google photos. I have many photos either in my local nas at full resolution, and in compressed version in GP. So I'm writing my own tool to upload both sources of images. It replaces the immich version with the best photo. When a better photo is found, it upload it, add it to same albums as the original and it deletes the original. Have a look to my repository https://github.com/simulot/immich-go/tree/v0.1.3
GitHub
GitHub - simulot/immich-go at v0.1.3
Contribute to simulot/immich-go development by creating an account on GitHub.
harrisc
harriscOP2y ago
immich-go looks like what I want, thanks for the development. I have one question. What happens to the Google Photos facial recognition data? Is it imported? How does it combine with the immich facial recognition data?
sogan
sogan2y ago
Hi @harrisc, welcome to Immich! 1. I haven't used Takeout, but from users I hear the metadata from it is a mess. There are community tools and guides to help with this, including the helper @Harlequin linked. It isn't mandatory though. 2. No, Immich doesn't use this data. It'll do facial recognition on its own. 3. Exact duplicates won't be uploaded, but similar images will be added as separate images. 4. "High quality" images are compressed, so they'll have a different hash than the originals and be uploaded as separate images.
Simulot
Simulot2y ago
@harrisc , I have never allowed google to recognize any faces. So I don't even know if faces names are included into the takeout. I confirm that Immich doesn't detect the both low and high quality image as duplicates. Here is an extract from my own collection.
2006-11-26T14:30:41Z:
P1030036 2560x1920, 1856752 bytes
P1030036 1920x2560, 2436075 bytes
2006-11-26T14:35:38Z:
P1030038 2560x1920, 3278459 bytes
P1030038 2560x1920, 2482001 bytes
2006-11-26T14:30:41Z:
P1030036 2560x1920, 1856752 bytes
P1030036 1920x2560, 2436075 bytes
2006-11-26T14:35:38Z:
P1030038 2560x1920, 3278459 bytes
P1030038 2560x1920, 2482001 bytes
So I'm working on adding the functionality to detect such duplicates and keep only the best version. It's based on image name and date of capture.
So I'm working on adding the functionality to detect such duplicates and keep only the best version. It's based on image name and date of capture.
Done.

Did you find this page helpful?