Synology Photos Facial Recognition Patch
- This patch will ignore GPU and let DS918+ to have facial recognization function in Synology Photos.
- DS3615xs might need this patch and it depends on CPU.
- DS918+ might need this patch and it depends on CPU and GPU, I would strongly recommend to use GPU if it works.
- Support both face and object recognition in new version, but please aware it only recognizes face if there is person in the picture. The object is for none person picture only and you will need 4GB memory at least to support object recognition.
- For location recognition, it depends on whether your phone has GPS enabled and the location information should be included in the properties of each photo. Synology Photos supports it without any patches.
- Go Control Panel -> Task Scheduler.
- Click Create -> Scheduled Task -> User-defined script.
- Select root in the user field.
- Go Task Settings , paste the code as follows in Run Command field .
- Click OK and Run this Task.
As of V1.6.0-0629, the file was updated from libsynophoto-plugin-model.so to libsynophoto-plugin-platform.so
wget https://github.com/jinlife/Synology_Photos_Face_Patch/releases/latest/download/libsynophoto-plugin-platform.so -O /var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-platform.so && synopkgctl stop SynologyPhotos && synopkgctl start SynologyPhotos
- Download libsynophoto-plugin-platform.so and upload it to home folder in Synology
- SSH connect to Synology and input below command to patch the file.
- Please change 'jinlife' to your own account.
- Restart Photos after patch.
cp /volume1/homes/jinlife/libsynophoto-plugin-platform.so /var/packages/SynologyPhotos/target/usr/lib/
If the libsynophoto-plugin-platform.so doesn't work, please try libsynophoto-plugin-platform.so.1.0 with same steps. Or I would recommend to patch it by yourself, please take a look at link
The patch for libsynosdk.so.7 will allow remote NFS/CIFS shared folder be used in VideoStation, AudioStation and Photos etc.
cp /volume1/homes/jinlife/libsynosdk.so.7 /usr/lib/
- It has side effect for FileStation that you cannot eject the folder anymore, it will be treated as local folder, however you can still umount it.
- For Photos, it will work perfectly in Shared folder: photo. But you cannot delete picture in personal homes folder. However, you can delete it in FileStation, but it is still inconvienient.
- Maybe you can upload photo by App "DS File", it can specify the uploaded folder out of homes.
- Anyway, I would suggest to use it for VideoStation only.
- Restart DSM after patch.