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.
- 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.
- Restart Photos.
wget https://github.com/jinlife/Synology_Photos_Face_Patch/releases/latest/download/libsynophoto-plugin-model.so -O /var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-model.so
- Download libsynophoto-plugin-model.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-model.so /var/packages/SynologyPhotos/target/usr/lib/
If the libsynophoto-plugin-model.so doesn't work, please try libsynophoto-plugin-model.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.