mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
add some more docs for facerecognition
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
d9c90afd00
commit
f0e206b60d
1 changed files with 18 additions and 0 deletions
|
|
@ -3,6 +3,24 @@ This container bundles the external model of facerecognition and auto-configures
|
||||||
|
|
||||||
### Notes
|
### Notes
|
||||||
- This container needs imaginary in order to analyze modern file format images. Make sure to enable imaginary in the AIO interface before adding this container.
|
- This container needs imaginary in order to analyze modern file format images. Make sure to enable imaginary in the AIO interface before adding this container.
|
||||||
|
- Facerecognition is by default disabled for all users, if you want to enable facerecognition for all users, you can run the following before adding this container:
|
||||||
|
```bash
|
||||||
|
# Go into the container
|
||||||
|
sudo docker exec --user www-data -it nextcloud-aio-nextcloud bash
|
||||||
|
```
|
||||||
|
Now inside the container:
|
||||||
|
```bash
|
||||||
|
NC_USERS_NEW=$(php occ user:list | sed 's|^ - ||g' | sed 's|:.*||')
|
||||||
|
mapfile -t NC_USERS_NEW <<< "$NC_USERS_NEW"
|
||||||
|
for user in "${NC_USERS_NEW[@]}"
|
||||||
|
do
|
||||||
|
php occ user:setting "$user" facerecognition full_image_scan_done false
|
||||||
|
php occ user:setting "$user" facerecognition enabled true
|
||||||
|
done
|
||||||
|
|
||||||
|
# Exit the container shell
|
||||||
|
exit
|
||||||
|
```
|
||||||
- If facerecognition shall analyze shared files & folders (`sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:app:set facerecognition handle_shared_files --value true`), groupfolders (`sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:app:set facerecognition handle_group_files --value true`) and/or external storages (`sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:app:set facerecognition handle_external_files --value true`) in Nextcloud, you need to enable support for it manually first by running the mentioned commands before adding this container. See https://github.com/matiasdelellis/facerecognition/wiki/Settings#hidden-settings for further notes on each of these settings.
|
- If facerecognition shall analyze shared files & folders (`sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:app:set facerecognition handle_shared_files --value true`), groupfolders (`sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:app:set facerecognition handle_group_files --value true`) and/or external storages (`sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:app:set facerecognition handle_external_files --value true`) in Nextcloud, you need to enable support for it manually first by running the mentioned commands before adding this container. See https://github.com/matiasdelellis/facerecognition/wiki/Settings#hidden-settings for further notes on each of these settings.
|
||||||
- See https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers how to add it to the AIO stack
|
- See https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers how to add it to the AIO stack
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue