Skip to content

πŸ‘ πŸ‘‚ Smart media tagging for Nextcloud: recognizes faces, objects, landscapes, music genres

License

Notifications You must be signed in to change notification settings

biglari/recognize

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Recognize for Nextcloud

Join the chat at https://gitter.im/marcelklehr/recognize

Smart media tagging for Nextcloud

This app goes through your media collection and adds fitting tags, automatically categorizing your photos and music.

  • πŸ“· πŸ‘ͺ Recognizes faces and groups photos by face
  • πŸ“· πŸ” Recognizes animals, landscapes, food, vehicles, buildings and other objects
  • πŸ“· πŸ—Ό Recognizes landmarks and monuments
  • πŸ‘‚ 🎡 Recognizes music genres
  • ⚑ Tagging works via Nextcloud's Collaborative Tags, allowing access by any of your apps
    • πŸ‘‚ listen to your tagged music with the audioplayer app
    • πŸ“· view your tagged photos with the photos app

Examples

(Screenshot by @_DigitalWriter_)

Privacy

This app does not send any sensitive data to cloud providers or similar services. All image processing is done on your nextcloud machine, using Tensorflow.js running in Node.js, which comes bundled with this app.

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.

Behind the scenes

Recognize uses

Learn more about what's going on behind the scenes in this wiki article.

Install

Requirements

  • php 7.4 and above
  • App "collaborative tags" enabled
  • For native speed:
    • Processor: x86 64-bit (with support for AVX instructions)
    • System with glibc (usually the norm on Linux; Alpine linux and FreeBSD are not such systems)
  • For sub-native speed (using JavaScript mode)
    • Processor: x86 64-bit, arm64, armv7l (no AVX needed)
    • System with glibc or musl (incl. Alpine linux)
  • ~4GB of free RAM (if you're cutting it close, make sure you have some swap available)

One click

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

Help: If one-click install fails

Configuration

Any configuration is done in Settings/Recognize of your Nextcloud instance.

Ignoring directories

If you want path/to/your/folder/* to be excluded from image recognition, add a file path/to/your/folder/.noimage. If you want to exclude it from music genre recognition, add a file path/to/your/folder/.nomusic. If you want to exclude it from video recognition, add a file path/to/your/folder/.novideo. If you want to exclude it from all recognition, add a file path/to/your/folder/.nomedia.

Manual install

Dependencies

Setup

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

Maintainers

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.

The recognize logo Smart tag by Xinh Studio from the Noun Project is licensed under a Creative Commons Attribution license.

About

πŸ‘ πŸ‘‚ Smart media tagging for Nextcloud: recognizes faces, objects, landscapes, music genres

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 52.6%
  • PHP 42.2%
  • Vue 4.8%
  • Makefile 0.4%