Skip to content

bondtko/Synology_Photos_Face_Patch

 
 

Repository files navigation

Synology_Photos_Face_Patch

Synology Photos Facial Recognition Patch

  1. This patch will ignore GPU and let DS918+ to have facial recognization function in Synology Photos.
  2. DS3615xs might need this patch and it depends on CPU.
  3. DS918+ might need this patch and it depends on CPU and GPU, I would strongly recommend to use GPU if it works.

Use it at your own risk, you might lose data with this patch.

Choice1 (No need SSH, Recommend!)

  1. Go Control Panel -> Task Scheduler.
  2. Click Create -> Scheduled Task -> User-defined script.
  3. Select root in the user field.
  4. Go Task Settings , paste the code as follows in Run Command field .
  5. Click OK and Run this Task.
  6. 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

Choice2

  1. Download libsynophoto-plugin-model.so and upload it to home folder in Synology
  2. SSH connect to Synology and input below command to patch the file.
  3. Please change 'jinlife' to your own account.
  4. 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

Misc (libsynosdk.so.7)

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/

Note:

  1. 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.
  2. 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.
  3. Maybe you can upload photo by App "DS File", it can specify the uploaded folder out of homes.
  4. Anyway, I would suggest to use it for VideoStation only.
  5. Restart DSM after patch.

About

Synology Photos Facial Recognition Patch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 87.1%
  • C 12.9%