🏔 Image recognition for nextcloud

Overview

Nextcloud Recognize

Image recognition for Nextcloud

This app goes through your photo collection and adds fitting tags, automatically categorizing your photos. Tagging works via the Nextcloud's Collaborative Tags.

Categories

This is the list of recognized things and which categories they are currently mapped to. I'm happy to accept pull requests for this file to fine tune predictions.

Install

Requirements

  • php 7.3 and above
  • Processor
    • x86 64bit
    • ARM 64bit
    • ARMv7 (32bit)
  • ~2GB of free RAM (so, depending on your server load, you should probably have 4GB RAM)

One click

Go to "Apps" in your nextcloud, search for "recognize" and click install.

Manual install

Dependencies

Setup

cd /path/to/nextcloud/apps/
git clone https://github.com/marcelklehr/recognize.git
cd recognize
make

Maintainers

Donate

If you'd like to support the creation and maintenance of this software, consider donating.

Contribute

We always welcome contributions. Have an issue or an idea for a feature? Let us know. Additionally, we happily accept pull requests.

In order to make the process run more smoothly, you can make sure of the following things:

  • Announce that you're working on a feature/bugfix in the relevant issue
  • Make sure the tests are passing
  • If you have any questions you can let the maintainers above know privately via email, or simply open an issue on github

Please read the Code of Conduct. This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.

More information on how to contribute: https://nextcloud.com/contribute/

Happy hacking ❤️

License

This software is licensed under the terms of the AGPL written by the Free Software Foundation and available at COPYING.

Comments
  • Memory leak / Large images kill classifier process OOM

    Memory leak / Large images kill classifier process OOM

    Describe the bug After some time recognize throws an error and stops working (see additional context)

    To Reproduce Steps to reproduce the behavior:

    1. Start manual process.
    2. Wait.
    3. Check errors

    Recognize (please complete the following information):

    • JS-only mode: No
    • Enabled modes: All

    Server (please complete the following information):

    • Nextcloud: 22
    • OS: Ubuntu 20.04
    • RAM: 24
    • Processor Architecture x86_64
    • Database: PostgreSQL 13

    Additional context

    Error message from bash:

    Classifying photos of user 4479F707-255F-465B-9468-9D92669CDB71
    Failed to classify images
    An exception occurred while executing a query: SQLSTATE[HY000]: General error: 7 server closed the connection unexpectedly
            This probably means the server terminated abnormally
            before or while processing the request.
    

    Nextcloud log:

    [core] Error: Movie preview generation failed Output: ["ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers","  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)","  configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared","  libavutil      56. 31.100 / 56. 31.100","  libavcodec     58. 54.100 / 58. 54.100","  libavformat    58. 29.100 / 58. 29.100","  libavdevice    58.  8.100 / 58.  8.100","  libavfilter     7. 57.100 /  7. 57.100","  libavresample   4.  0.  0 /  4.  0.  0","  libswscale      5.  5.100 /  5.  5.100","  libswresample   3.  5.100 /  3.  5.100","  libpostproc    55.  5.100 / 55.  5.100","[mov,mp4,m4a,3gp,3g2,mj2 @ 0x563a3443a700] moov atom not found","/tmp/oc_tmp_c1YWtl: Invalid data found when processing input"]
    
    GET /core/preview?fileId=13377535&x=256&y=256&a=true&v=616ef18336c79
    from 192.168.10.2 by 3A60C52D-9415-4F28-A2B7-71A8CBD7A9E3 at 2021-11-02T22:34:12+01:00
    

    + direclty after such an error:

    [index] Error: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 7 server closed the connection unexpectedly
    	This probably means the server terminated abnormally
    	before or while processing the request.
    
    GET /core/preview?fileId=13377748&x=256&y=256&a=true&v=616f1e70cccac
    from 192.168.10.2 by 3A60C52D-9415-4F28-A2B7-71A8CBD7A9E3 at 2021-11-02T22:34:26+01:00
    

    PostgreSQL log (literally millions entries, log = 1.4 GB):

    2021-11-02 15:34:44.619 UTC [3225304] nextcloud@nextcloud STATEMENT:  INSERT INTO "oc_systemtag_object_mapping" ("objectid", "objecttype", "systemtagid") VALUES($1, $2, $3)
    2021-11-02 15:34:44.620 UTC [3225701] nextcloud@nextcloud ERROR:  duplicate key value violates unique constraint "oc_systemtag_object_mapping_pkey"
    2021-11-02 15:34:44.620 UTC [3225701] nextcloud@nextcloud DETAIL:  Key (objecttype, objectid, systemtagid)=(files, 13400109, 316) already exists.
    

    From within the PostgreSQL logs I cannot find anything which indicates a closing of the connection.

    opened by derritter88 61
  • Classifier process errored - CPU Architecture

    Classifier process errored - CPU Architecture

    I installed v1.5.8 but the procces still fails without any usefull error message. :(

    {
      "reqId": "b6Wn01s9daui30J6ezBX",
      "level": 2,
      "time": "2021-08-24T07:45:23+00:00",
      "remoteAddr": "",
      "user": "--",
      "app": "recognize",
      "method": "",
      "url": "--",
      "message": "Classifier process errored",
      "userAgent": "--",
      "version": "22.1.0.1",
      "id": "6124ac5f5bb41"
    }
    
    {
      "reqId": "b6Wn01s9daui30J6ezBX",
      "level": 2,
      "time": "2021-08-24T07:45:23+00:00",
      "remoteAddr": "",
      "user": "--",
      "app": "recognize",
      "method": "",
      "url": "--",
      "message": "Classifier process error",
      "userAgent": "--",
      "version": "22.1.0.1",
      "id": "6124ac5f5bb0a"
    }
    
    opened by LotusAxt 46
  • timeout set too low in ./occ

    timeout set too low in ./occ

    The classifier doesn't work anymore

    A node process starts as it should but shortly after it reports 'classifier timed out'

    I used occ to run the classifier manually

    opened by arch-user-france1 36
  • sh: line 1: exec: : not found (nodejs path empty)

    sh: line 1: exec: : not found (nodejs path empty)

    Describe the bug Recognize does not classify anything. It fails.

    To Reproduce Steps to reproduce the behavior:

    1. Go to 'getfedora.org'
    2. Click on 'workstation (download now)'
    3. Scroll down to 'Fedora 35'
    4. Follow the installation instroductions
    5. Install Nextcloud (not described, should check out the documentations...)
    6. Install recognize
    7. Execute php ... classify-images
    8. See error

    Expected behavior It should do its job

    Recognize (please complete the following information):

    • JS-only mode: [e.g. Yes/No] No
    • Enabled modes: [e.g. object detection, face recognition] All

    Server (please complete the following information):

    • Nextcloud: [e.g. 21.0.4] Newest stable
    • OS: [e.g. iOS] Fedora (iOS what the heck you cannot run an nc server on a phone without jailbreaking etc)
    • RAM: [e.g. 16GB] 40GB!
    • Processor Architecture [e.g. x86, ARM64, etc. ] Intel I5 @ 3GHz amd64

    Additional context

    1. Hey, I'm back.....
    2. Error: (You speak german so you should be able to understand it?)
    Classifying array (
      0 => '/var/www/html/nextcloud/data/---/files/Nextcloud.png',
      1 => '/var/www/html/nextcloud/data/---/files/Photos/Birdie.jpg',
      2 => '/var/www/html/nextcloud/data/---/files/Photos/Frog.jpg',
      3 => '/var/www/html/nextcloud/data/---/files/Photos/Gorilla.jpg',
      4 => '/var/www/html/nextcloud/data/---/files/Photos/Library.jpg',
      5 => '/var/www/html/nextcloud/data/---/files/Photos/Nextcloud community.jpg',
      6 => '/var/www/html/nextcloud/data/---/files/Photos/Steps.jpg',
      7 => '/var/www/html/nextcloud/data/---/files/Photos/Toucan.jpg',
      8 => '/var/www/html/nextcloud/data/---/files/Photos/Vineyard.jpg',
    )
    --- => username (removed sensitive information such as name)
    Running array (
      0 => '',
      1 => '/var/www/html/nextcloud/apps/recognize/src/classifier_imagenet.js',
      2 => '-',
    )
    Classifier process output: sh: Zeile 1: exec: : Nicht gefunden.
    
    Classifier process output: sh: Zeile 1: exec: : Nicht gefunden.
    
    Failed to classify images
    Classifier process error
    
    opened by arch-user-france1 35
  • Background processing stops very often

    Background processing stops very often

    Describe the issue I installed Recognize with NC 25 at the 19.10, and it's working on my images since this time. In the CPU usage from my nextcloud VM, it shows that the background process only works for some minutes and stops then: grafik

    In the settings of Recognize it displays the same: grafik

    It always just processes a small amount of images, and then it stops for a while. My cron jobs are running every 15 mins, it looks like image processing also starts with every cron job and then runs for some minutes.

    Currently, there are 11k images in the queue, and it is still increasing. This process would take multiple week to finish if it continues like this.

    Expected behavior I would expect the image recognition to run the whole time in the background, without stopping that often.

    Recognize (please complete the following information):

    • JS-only mode: Yes (WASM is not enabled)
    • Enabled modes: Only face recognition (for now)

    Server (please complete the following information):

    • Nextcloud: 25.0.0
    • OS: Ubuntu
    • RAM: 4GB
    • Processor Architecture: x64 (3.40GHz (8 cores))
    bug v3.x 
    opened by Demian98 31
  • GPU is not being used

    GPU is not being used

    Hello @marcelklehr ,

    I have enabled GPU support at the admin GUI but when I start a manual process via occ recognize:classify I can see that a process is being started and using 100 % a CPU core. The GPU is not being used.

    I have installed all the specified Nvidia applications/libraries

    enhancement 
    opened by derritter88 25
  • Update not possible: Out-of-path file extraction

    Update not possible: Out-of-path file extraction

    recognize new version available: 1.5.1 recognize couldn't be updated

    recognize new version available: 1.5.2 recognize couldn't be updated

    Nextcloud 21.0.4

    opened by EmJotGeh 24
  • Contact Pictures 401 Unauthorized

    Contact Pictures 401 Unauthorized

    Describe the bug Face recognition fails to pull contact pictures with a 401 unauthorized response, shown in nextcloud logs. The failing URL in the log file correctly returns the contact image when visited from the browser.

    At fist I thought this might be the fault of my reverse proxy (Traefik) so I changed the nextcloud configuration to 'overwrite.cli.url' => 'https://sub.domain.com/' to http://localhost/ but still see the 401 response.

    Interestingly, when file_get_contents() fails I see the exact same behavior as issue #137 when running php occ recognize:classify-images from the cli. The 401 errors only appear in the nextcloud log, but the command output looks the same.

    Stack trace from log:

    {
      "reqId": "geL7jQxgMIf9MgDiVELz",
      "level": 3,
      "time": "2022-01-10T06:29:01+00:00",
      "remoteAddr": "",
      "user": "--",
      "app": "PHP",
      "method": "",
      "url": "--",
      "message": "file_get_contents(http://sub.domain.com/remote.php/dav/addressbooks/users/jim/personal/B8E3244B-F48C-43AB-A80C-FCDA482FF497.vcf?photo): Failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized\r\n at /var/www/html/custom_apps/recognize/lib/Service/ReferenceFacesFinderService.php#72",
      "userAgent": "--",
      "version": "22.2.3.0",
      "exception": {
        "Exception": "Error",
        "Message": "file_get_contents(http://sub.domain.com/remote.php/dav/addressbooks/users/jim/personal/B8E3244B-F48C-43AB-A80C-FCDA482FF497.vcf?photo): Failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized\r\n at /var/www/html/custom_apps/recognize/lib/Service/ReferenceFacesFinderService.php#72",
        "Code": 0,
        "Trace": [
          {
            "function": "onError",
            "class": "OC\\Log\\ErrorHandler",
            "type": "::",
            "args": [
              2,
              "file_get_contents(http://sub.domain.com/remote.php/dav/addressbooks/users/jim/personal/B8E3244B-F48C-43AB-A80C-FCDA482FF497.vcf?photo): Failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized\r\n",
              "/var/www/html/custom_apps/recognize/lib/Service/ReferenceFacesFinderService.php",
              72
            ]
          },
          {
            "file": "/var/www/html/custom_apps/recognize/lib/Service/ReferenceFacesFinderService.php",
            "line": 72,
            "function": "file_get_contents",
            "args": [
              "http://sub.domain.com/remote.php/dav/addressbooks/users/jim/personal/B8E3244B-F48C-43AB-A80C-FCDA482FF497.vcf?photo"
            ]
          },
          {
            "file": "/var/www/html/custom_apps/recognize/lib/Service/ClassifyImagesService.php",
            "line": 85,
            "function": "findReferenceFacesForUser",
            "class": "OCA\\Recognize\\Service\\ReferenceFacesFinderService",
            "type": "->",
            "args": [
              "jim"
            ]
          },
          {
            "file": "/var/www/html/custom_apps/recognize/lib/BackgroundJobs/ClassifyImagesJob.php",
            "line": 64,
            "function": "run",
            "class": "OCA\\Recognize\\Service\\ClassifyImagesService",
            "type": "->",
            "args": [
              "jim",
              100
            ]
          },
          {
            "file": "/var/www/html/lib/public/BackgroundJob/Job.php",
            "line": 79,
            "function": "run",
            "class": "OCA\\Recognize\\BackgroundJobs\\ClassifyImagesJob",
            "type": "->",
            "args": [
              null
            ]
          },
          {
            "file": "/var/www/html/lib/public/BackgroundJob/TimedJob.php",
            "line": 63,
            "function": "execute",
            "class": "OCP\\BackgroundJob\\Job",
            "type": "->",
            "args": [
              {
                "__class__": "OC\\BackgroundJob\\JobList"
              },
              {
                "__class__": "OC\\Log"
              }
            ]
          },
          {
            "file": "/var/www/html/cron.php",
            "line": 127,
            "function": "execute",
            "class": "OCP\\BackgroundJob\\TimedJob",
            "type": "->",
            "args": [
              {
                "__class__": "OC\\BackgroundJob\\JobList"
              },
              {
                "__class__": "OC\\Log"
              }
            ]
          }
        ],
        "File": "/var/www/html/lib/private/Log/ErrorHandler.php",
        "Line": 92,
        "CustomMessage": "--"
      },
      "id": "61dc621541d41"
    }
    

    To Reproduce Steps to reproduce the behavior:

    1. Install recognize from Nextcloud Apps
    2. Enable face recognition
    3. Wait for cron or run cli (both fail)

    Expected behavior Contact faces correctly recognized without 401 errors in log.

    Recognize (please complete the following information):

    • JS-only mode: No
    • Enabled modes: object detection, face recognition

    Server (please complete the following information):

    • Nextcloud: 22.2.3.0
    • OS: Official Nextcloud docker container (Ubuntu host)
    • RAM: 32GB
    • Processor Architecture: x86

    Additional context Configuration 'allow_local_remote_servers' => true, doesn't appear to make a difference. Object recognition works as expected.

    opened by james-choncholas 20
  • Failed to classify images: Permission denied

    Failed to classify images: Permission denied

    I am trying to run the recognize app on my unraid NC docker install(22.1.0), but when I try to run the app either automatically or manually through terminal. I am greeted by:

    root@5acf1b785cfe:/# sudo occ recognize:classify
    Classifying photos of user Feyded
    Failed to classify images
    Classifier process error
    

    When I check my NC logs, I see that it says the code below even if run with sudo occ recognize:classify

    [recognize] Warning: Classifier process output: sh: exec: line 1: : Permission denied
    at 2021-10-03T01:41:59+00:00
    

    Please help, Im unsure of where to go from here.

    opened by feyded1020 20
  • insufficient RAM available

    insufficient RAM available

    Hi,

    I am running recognize and it has classified about 30000 photo's this far. But i have to start it using the occ command, however that is not an issue for me. This worked up untill now. When i try to run it now it will kill after a minute. From the log i understand that it exceeds the amount of required RAM. My system (VM) has about 8GB RAM and an Intel quad core CPU (i5). It is only running the object recognition and the javascript mode is disabled.

    Even with javascript mode enabled this problem happens.

    Classifier process output: 2021-10-08 11:02:48.254659: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. 2021-10-08 11:02:57.837144: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 806249910 exceeds 10% of free system memory. 2021-10-08 11:03:02.888040: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 3224999640 exceeds 10% of free system memory. 2021-10-08 11:03:03.950179: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 3224999640 exceeds 10% of free system memory. 2021-10-08 11:03:04.692891: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 3224999640 exceeds 10% of free system memory.

    Before this issue happened the task was killed after everey ~1000 photos with a different memory allocation issue.

    Classifier process output: ============================ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed things up dramatically, install our node backend, which binds to TensorFlow C++, by running npm i @tensorflow/tfjs-node, or npm i @tensorflow/tfjs-node-gpu if you have CUDA. Then call require('@tensorflow/tfjs-node'); (-gpu suffix for CUDA) at the start of your program. Visit https://github.com/tensorflow/tfjs-node for more details. ============================ Error: maxMemoryUsageInMB limit exceeded by at least 6MB at requestMemoryAllocation (/var/www/nextcloud/apps/recognize/node_modules/jpeg-js/lib/decoder.js:1051:13) at prepareComponents (/var/www/nextcloud/apps/recognize/node_modules/jpeg-js/lib/decoder.js:601:13) at constructor.parse (/var/www/nextcloud/apps/recognize/node_modules/jpeg-js/lib/decoder.js:755:13) at Object.decode [as image/jpeg] (/var/www/nextcloud/apps/recognize/node_modules/jpeg-js/lib/decoder.js:1096:11) at Jimp.parseBitmap (/var/www/nextcloud/apps/recognize/node_modules/@jimp/core/dist/utils/image-bitmap.js:196:53) at Jimp.parseBitmap (/var/www/nextcloud/apps/recognize/node_modules/@jimp/core/dist/index.js:431:32) at /var/www/nextcloud/apps/recognize/node_modules/@jimp/core/dist/index.js:373:15 at FSReqCallback.readFileAfterClose [as oncomplete]

    Any idea on what is causing this issue?

    waiting for more information 
    opened by parsupo 19
  • node-v14.9.0-linux-x64: not found

    node-v14.9.0-linux-x64: not found

    Hi,

    I have a problem with the app. I am in a docker

    My logs Warning | recognize | Classifier process output: sh: exec: line 1: /config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-x64: not found |   | 2021-05-04T22:20:36+0200 -- | -- | -- | -- | -- Warning | recognize | Classifying photos of user xxxxxx|   | 2021-05-04T22:20:36+0200

    However the file seems to be available abc@923daf94994c:/$ ls /config/www/nextcloud/apps/recognize/bin/ node-v14.9.0-linux-arm64 node-v14.9.0-linux-armv7l node-v14.9.0-linux-x64

    I tried to uninstall and install the app again but no result

    opened by yogoud 16
  • Include a Process to Review or Approve Newly Categorized Faces to an Existing Named Person/Cluster

    Include a Process to Review or Approve Newly Categorized Faces to an Existing Named Person/Cluster

    Describe the feature you'd like to request

    Due to the complexity of AI Facial Recognition, and understanding that it will never be perfect, it would be beneficial to have a Review or Approval process when newly categorized faces are added to an existing Named Person/Cluster.

    For example. I have a Person that I have edited and renamed as "Brian" instead of the default Cluster ID # 123. This means I know and care about the Person. I have 3,000 images in the Person Cluster named Brian. When faces are detected, categorized as Brian, and added to the Brian cluster (ID # 123), it's very cumbersome and nearly impossible to find this image in the Brian cluster to be sure it was properly categorized. This is especially true if adding older images to Nextcloud, as verifying newer images would be a bit easier but still quite cumbersome.

    This type of feature could also be beneficial to https://github.com/nextcloud/recognize/issues/606

    Describe the solution you'd like

    I want the option to enable a review and/or approval process when new faces are categorized into an already-established Person/Cluster.

    Even something as simple as some type of report showing which images were added to which clusters would be helpful so they can be reviewed for accuracy.

    Describe alternatives you've considered

    Click on the Person I expect an image to be categorized as and carefully review the images to be sure they were categorized properly. If they're not found in the expected cluster, perform the manual review of other existing clusters. Honestly, there is no good alternative for this that I can think of.

    enhancement 
    opened by bdevy 0
  • Don't Delete Clusters of a Removed Person

    Don't Delete Clusters of a Removed Person

    Describe the feature you'd like to request

    When a cluster is removed by the user via the "Remove Person" action, the cluster disappears from the oc_recognize_face_clusters table - so I think it is permanently deleted.

    What is to stop a Person in that cluster from being recreated in a new cluster if the Face Recognition is toggled off and back on, and the faces are re-detected and queued up again? I think in this case a new cluster is created again with that same Person whose cluster was removed. Unfortunately, toggling off/on is inevitable during troubleshooting and working out bugs.

    It may be better to maintain the cluster state and instead hide it. New images of the "Removed Person" would also not generate a new cluster - they would just be added to the hidden cluster. This also then may benefit from a 'review / approve' process to be sure that unintended faces/images aren't added to hidden clusters without ever knowing about it.

    It would also be nice to be able to view and manage a hidden "Person", but this part may be a Photos App / Memories App feature.

    Thanks, Brian

    Describe the solution you'd like

    I would like a new cluster to not be generated in the case that the user has already performed the Remove Person function despite whether the Face Recognition feature has been toggled off/on or if a new image of the undesired Person is added to Nextcloud.

    Describe alternatives you've considered

    Manually delete the clusters of the undesired Person any time the Face Recognition feature is toggled off/on or a new image of the undesired Person is added to Nextcloud.

    enhancement 
    opened by bdevy 0
  • [Bug]: All tagging by app Recognize is logged as 'activity by others'

    [Bug]: All tagging by app Recognize is logged as 'activity by others'

    ⚠️ This issue respects the following points: ⚠️

    • [X] This is a bug, not a question or a configuration/webserver/proxy issue.
    • [X] This issue is not already reported on Github (I've searched it).
    • [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
    • [X] Nextcloud Server is running on 64bit capable CPU, PHP and OS.
    • [X] I agree to follow Nextcloud's Code of Conduct.

    Bug description

    The app 'recognize' automatically tags images with face- and object recognition. However, adding tags is logged under 'activity' as 'activity by others'.

    I use this to keep an eye on file downloads. I don't see tagging by an internal Nextcloud app as activity by other people.

    Steps to reproduce

    1. Install Nextcloud 25 (I use Nextcloud AIO)
    2. Install the app 'recognize'
    3. In dashboard click on 'activity', then on 'others'

    Expected behavior

    I expect the tagging-activity of 'recognize' to show up in another log or not at all.

    Installation method

    Official All-in-One appliance

    Operating system

    Debian/Ubuntu

    PHP engine version

    PHP 8.0

    Web server

    Apache (supported)

    Database engine version

    PostgreSQL

    Is this bug present after an update or on a fresh install?

    Updated to a major version (ex. 22.2.3 to 23.0.1)

    Are you using the Nextcloud Server Encryption module?

    None

    What user-backends are you using?

    • [X] Default user-backend (database)
    • [ ] LDAP/ Active Directory
    • [ ] SSO - SAML
    • [ ] Other

    Configuration report

    ... i really don't think it's relevant, it is probably programmed behaviour not dependend on the configuration...
    

    List of activated Apps

    Recognize
    

    Nextcloud Signing status

    No errors have been found.
    

    Nextcloud Logs

    arning	activity	Failed sending activity email to user 'sanan'.		2023-01-02T21:01:30+0100
    Error	activity	Swift_TransportException: Connection could not be established with host 127.0.0.1 :stream_socket_client(): Unable to connect to 127.0.0.1:25 (Connection refused)		2023-01-02T21:01:30+0100
    Warning	activity	Failed sending activity email to user 'gerben'.		2023-01-02T21:01:30+0100
    Error	activity	Swift_TransportException: Connection could not be established with host 127.0.0.1 :stream_socket_client(): Unable to connect to 127.0.0.1:25 (Connection refused)		2023-01-02T21:01:30+0100
    Warning	activity	Failed sending activity email to user 'sanan'.		2023-01-02T20:56:28+0100
    Error	activity	Swift_TransportException: Connection could not be established with host 127.0.0.1 :stream_socket_client(): Unable to connect to 127.0.0.1:25 (Connection refused)		2023-01-02T20:56:28+0100
    Warning	activity	Failed sending activity email to user 'gerben'.		2023-01-02T20:56:28+0100
    Error	activity	Swift_TransportException: Connection could not be established with host 127.0.0.1 :stream_socket_client(): Unable to connect to 127.0.0.1:25 (Connection refused)
    

    Additional info

    nope

    bug 
    opened by rekcodocker 1
  • Image tagging not working

    Image tagging not working

    Which version of recognize are you using?

    3.3.4

    Enabled Modes

    Face recognition

    TensorFlow mode

    Normal mode

    Which Nextcloud version do you have installed?

    25.0.2

    Which Operating system do you have installed?

    Linux Mint 21.1

    Which Docker container are you using to run Nextcloud? (if applicable)

    Nextcloud-AIO v4.0.1

    How much RAM does your server have?

    32GiB

    What processor Architecture does your CPU have?

    x86_64

    Describe the Bug

    I installed nextcloud, then the Recognize app and turned ON 'face recognition" but nothing happens.

    Here is my settings : Screenshot from 2023-01-02 19-56-29 Screenshot from 2023-01-02 19-56-53

    What can I do please ?

    Expected Behavior

    The face recognition to start.

    To Reproduce

    Just install Nextcloud_AIO (latest), then the Recognize app with "face recognition" turned ON/

    Debug log

    There is no info in the "Logging" tab.

    bug 
    opened by kjlhgfds 1
  • Ability to create a new person.

    Ability to create a new person.

    Describe the feature you'd like to request

    The software has recognised me but has also also included some else (PERSON Y) as being me. I want to mark the photos of PERSON Y and move them to a new person. I can't do this as PERSON Y has not been recognised on his own and I appear to be only able to move someone to en existing person.

    Describe the solution you'd like

    When you try and move the pictures to another person, as well as the list of people recognised it would be nice to have a "Create new person"

    Describe alternatives you've considered

    There isn't an obvious one

    enhancement 
    opened by racheljwood 0
  • Selecting and then merging photos merges ALL photos

    Selecting and then merging photos merges ALL photos

    Which version of recognize are you using?

    3.3.4

    Enabled Modes

    Face recognition

    TensorFlow mode

    WASM mode

    Which Nextcloud version do you have installed?

    25.0.2

    Which Operating system do you have installed?

    Ubuntu 22.04.1

    Which Docker container are you using to run Nextcloud? (if applicable)

    Casa V0.4.0 - Docker version 20.10.17, build 100c70180f

    How much RAM does your server have?

    4Gb

    What processor Architecture does your CPU have?

    x86_64

    Describe the Bug

    A person (PERSON A) has many pictures of someone else (PERSON B), so whist looking at PERSON A I select all the PERSON B photos. Then I click merge with another person and all of the photos of PERSON A are merged with PERSON B. Person A has in effect disappeared and I left with PERSON B who has all of PERSON A and PERSON B photos.

    Expected Behavior

    Only the photos selected should be merged.

    To Reproduce

    1. Go to the Photos app in Nextcloud
    2. Click on the Menu item People
    3. Choose a person (Lets call them PERSON A).
    4. Select two or more of "their" photos by clicking on the box in the photo.
    5. In the top right corner, click the three dots and select "Merge with different person"
    6. A window will appear with all the previously recognised people. Select one of them (PERSON B) by clicking on them.
    7. ALL of the photos of PERSON A will now be completely merged with PERSON B and PERSON A will be removed

    Debug log

    No response

    bug 
    opened by racheljwood 5
Releases(v3.3.4)
Owner
Marcel Klehr
Passionate rationalist. Pragmatic melancholic. Random spectator. Inventor of open things.
Marcel Klehr
🍞🎨 Full-featured photo image editor using canvas. It is really easy, and it comes with great filters.

Full featured image editor using HTML5 Canvas. It's easy to use and provides powerful filters. Packages toast-ui.image-editor - Plain JavaScript compo

NHN 5.7k Jan 6, 2023
Chart image and QR code web API

QuickChart QuickChart is a service that generates images of charts from a URL. Because these charts are simple images, they are very easy to embed in

Ian Webster 1.3k Dec 25, 2022
Generate an image of all your Github contributions

GitHub Contribution Chart Generator Generates an image of all your GitHub contributions since you have signed up, so you can use it in social media. T

Sallar 4.3k Jan 2, 2023
Github action generates dynamic image URL for contributor list to display it!

github-action-contributors Github action generates dynamic image URL for contributor list to display it! Contributors Usage - run: mkdir -p build - na

小弟调调™ 10 Dec 31, 2022
📸 Generate image using HTML5 canvas and SVG

egami → image README | 中文文档 Generate image using HTML5 canvas and SVG Fork from html-to-image Installation pnpm pnpm add egami npm npm i egami Usage i

weng 12 Jan 3, 2023
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
An application to map out game reserves using aerial photography, intelligent image stitching and AI driven recognition focus.

Map Out Game Reserves Using Aerial Photographs An application to map out game reserves using aerial photography, intelligent image stitching and AI dr

COS 301 - 2022 4 Sep 29, 2022
optimize image & upload file to cloud as image bed with tiny image automic.

Rush! 图片压缩 & 直传图床工具 这是一个兴趣使然的项目, 希望 Rush! 能让这个世界的网络资源浪费减少一点点 下载 Downloads 获取最新发行版 功能 Features 拖拽批量压缩图片, 支持格式 jpg/png/gif Drop to optimize, jpg/png/gif

{ Chao } 3 Nov 12, 2022
:speech_balloon: Speech recognition for your site

annyang! A tiny JavaScript Speech Recognition library that lets your users control your site with voice commands. annyang has no dependencies, weighs

Tal Ater 6.4k Jan 1, 2023
JavaScript API for face detection and face recognition in the browser and nodejs with tensorflow.js

face-api.js JavaScript face recognition API for the browser and nodejs implemented on top of tensorflow.js core (tensorflow/tfjs-core) Click me for Li

Vincent Mühler 14.6k Jan 2, 2023
A speech recognition library running in the browser thanks to a WebAssembly build of Vosk

A speech recognition library running in the browser thanks to a WebAssembly build of Vosk

Ciaran O'Reilly 207 Jan 3, 2023
JAVASCRIPT library recognition of signs input from the smartphone display

Recosigns Demo: https://gaidadei.ru/recosigns/demo/ Documentation: https://gaidadei.ru/recosigns/ Download: https://gaidadei.ru/recosigns/recosigns.zi

null 23 Nov 12, 2022
Hand gesture recognition with React.js, Tensorflow.js and Fingerpose

Hand gesture recognition with React.js, Tensorflow.js and Fingerpose

null 7 Dec 7, 2022
Telegram voice recognition bot

Node.js bot for telegram messenger based on Microsoft Azure Speech Service and Node.js Telegram Bot API

Dmitry 4 Mar 9, 2022
A facial recognition/detection app with Angular using Microsoft's Face API

Deja-Vu Overview Deja-Vu is a client side application generated with Angular CLI version 13. The core function of this application is to detect, recog

Wali Ullah 3 Jul 30, 2022
API4AI Samples: Face Detection and Recognition

API4AI is cloud-native computer vision & AI platform for startups, enterprises and individual developers. This repository contains sample mini apps that utilizes Facial Image Analysis API provided by API4AI.

api4ai 11 May 24, 2022
JSNation 2022 - Building a Solar System using Hand Recognition and Three.js

Building a Solar System using Hand Recognition and Three.js ?? Accompanying code for JSNation 2022 talk. Demo video here: https://www.youtube.com/watc

Liad Yosef 16 Dec 14, 2022
Solve reCAPTCHA challenges by using offline speech recognition.

reCAPTCHA Solver Solve reCAPTCHA challenges by using offline speech recognition. It can be very useful when you want to do E2E tests with your applica

JacobLinCool 9 Nov 28, 2022