Open source face recognition for your family photos

NOTE: I have currently problems to compile DLIB. My base system does not allow to compile DLIB due to version problems. Therefore I cannot update the Nextcloud docker for face recognition.

Do you like face recognition for your family pictures? Me, too. But I figured out, that I spend too much time with the administration, especially with migrating it from laptop to laptop. And since I have multiple computers, mixed Microsoft, Linux and Mac, I got tired of the silos. Initially, I used MacOS Aperture then Photos and and and …

Every time I have tagged the pictures properly, I got a new computer, my wife couldn’t access the photos on her laptop and was always complaining about that. So I decided to move all photos to my nextcloud server. I run Nextcloud on a Intel Nuc at home, using Linux (Openmediavault) and heavily Docker. I can access it from anywhere in the world, thanks to Duckdns.

Since no nextcloud docker image had the requirements installed I needed for the face recognition app in nextcloud, I decided to make a docker image by myself and published it on Docker Hub. Feel free to use it. I will maintain it try to enhance it step by step

https://hub.docker.com/r/iamklaus/nextcloud


Comments

17 responses to “Open source face recognition for your family photos”

  1. I have been looking for a solution for that setup as well!

  2. Hi Klaus,

    Fantastic! Thank you very much for sharing the docker image. Do you know if it’s feasible to have an `arm64` docker image ? I’d like to deploy nextcloud with face recognition a raspi 4B (8GB RAM). I’m new at docker…I’d be happy to help with it as a small hobby project.

    Cheers,


    Feth

  3. Hey there,

    I have analysed the underlaying nextcloud:apache dockerfile. There I have learn’t that you need to set NEXTCLOUD_UPDATE=1. Can you please try that?

    Regards,
    Klaus

  4. Tell me, is there an instruction on how to perform the same steps as you in order to raise your docker image nextcloud?
    At the same time, so that it is updated from the official repository and patched with my patches?

  5. Antonio Viola

    Hi Klaus,

    I did follow the steps you mentioned but there is something misleading. If I go inside my docker instance and print the env variables from the command line I see
    NEXTCLOUD_VERSION=20.0.4

    However, when I log into the NC Web UI Admin -> Settings -> Overview I get notification saying a new version of NC is available and have the below info:
    Version
    Nextcloud 20.0.3
    A new version is available: Nextcloud 20.0.4

    Is there any reason why the version is not updated from the UI and as such not in sync causing the notification always to pop-up?

    Thank you in advance.

    Regards,

    Antonio

  6. Hi Antonio,

    I have remove the ENV variable from my Dockerfile. So, removing it on your end and pulling the image again should update your nextcloud instance.

    Cheers,
    Klaus

  7. Hi Klaus,

    Thank you for coming back on this. I have a docker-compose with your NC image and I guess that this env variable is defined in your Dockerfile. Should I stop and pull all the images from the compose file and it will fix the problem? If I remove the env variable from the docker instance, I have a feeling that it will work but then, should I pull down and up the compose the env variable will be back. Or am I missing something?

    Cheers.

    Antonio

  8. Hello Antonio,

    it’s fixed. Please remove the ENV variable “NEXTCLOUD_UPDATE” from your docker instance and pull the image again. Then you should see the updated version.

    Cheers,
    Klaus

  9. Hello Antonio,

    I will look into this. I can reproduce the update issue. Regards general updates: Yes, I will maintain this. Version 20.0.4 will be available as soon as the underlying nextcloud/apache:latest image is updated on 20.0.4. I checked this afternoon and it still was on 20.0.3.

    Cheers,
    Klaus

  10. Hi IamKlaus,

    I am using your docker image with the face recognition since one week now and seems all good. Thank You for your hard work on getting this done. I still need to find the best settings but I am sure playing around with it I will be able to find one that works.

    However, I am just running into an issue and I wanted to double check with you. The NC UI is telling me that there is a new version 20.0.4 available. I am currently on version 20.0.3.

    So, when I try to update it through command line using php occ upgrade it says `Nextcloud is already latest version` which clearly I am not. I have also tried from the UI through the Open Updater button but I am getting a 404 Not Found error. So, at this moment in time I am not sure how can I update my NC.

    Would you have any idea? I would much appreciate your help.

    Also, are you planning to maintain the docker image in the future?

    Thank you again.

    Regards,

    Antonio

Leave a Reply

Your email address will not be published. Required fields are marked *

The maximum upload file size: 128 MB. You can upload: image, audio, video, document, archive, other. Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded. Drop files here