内容目录
停用Synology Photos
黑群晖Synology Photos驱动安装
适用于群晖DSM 7.X 系统,此方法为在人脸识别中禁止调用核显,仅调用CPU识别。打开套件中心,停用Synology Photos。 通过SSH,登录到黑群晖,进行以下操作:
sudo -i
cp -f /var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-model.so /var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-model.so-bak
wget https://inis.harvi.cn/storage/article/12022-12/libsynophoto-plugin-model.so
cp -f libsynophoto-plugin-model.so /var/packages/SynologyPhotos/target/usr/lib/
chmod +x /var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-model.so
chown SynologyPhotos:SynologyPhotos /var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-model.so
启动Synology Photos
设置
网页端打开Synology Photos的人脸识别,保存,然后重建索引
等待人脸识别处理
如果你的群晖系统重装系统或者升级系统,又或者是重装Synlology Photos套件或者升级Synlology Photos套件,那么该补丁会失效,需要重新打补丁。重复操作即可
还原
还原原版的话
rm -f /var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-model.so
mv -f /var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-model.so-bak /var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-model.so
chmod +x /var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-model.so
chown SynologyPhotos:SynologyPhotos /var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-model.so
引用
https://blog.csdn.net/qq_35379989/article/details/129287528
https://blog.csdn.net/hwadong/article/details/128302660
近期评论