Piwigo Documentation (EN)
  • Français (FR)

Search

Get started

Import and manage photos

Browsing your gallery

Organizing albums

Managing tags

Comments and rating

Managing users

Themes

Customizing your gallery

Administrating Piwigo

Plugins

Mobile apps

Piwigo self-hosting

Your feedback about this doc

🇬🇧
Piwigo Documentation
/
🏷️
Managing tags
/Tag Recognition: Tag your photos automatically with AI
Tag Recognition: Tag your photos automatically with AI
Tag Recognition: Tag your photos automatically with AI

Tag Recognition: Tag your photos automatically with AI

Do you have an important number of photos and you want to tag them quickly and automatically? This is possible using the Tag Recognition plugin.

⚠️
If you are a piwigo.com customer, this plugin is only available from the Enterprise plan and higher.

Choosing which API to use

Once the Tag Recognition plugin has been installed and activated, go to the plugin's settings.

You first need to choose which solution you will use to generate tags automatically.

Indeed, the plugin uses a third-party image recognition API, which handles photo analysis and tag generation. You can choose between two solutions:

  • Imagga
  • Microsoft Azure AI Vision

The choice depends on your preferences and the amount of photos that need to be analyzed. Indeed, these two solutions offer a free plan, and fee-based offers above a certain amount. All the details are available on the providers' websites.

⚠️
Since this plugin uses an external API, we cannot ensure that your data won't be used or sold. We recommend checking the data policy for each external API that you use with this plugin.

Setting up Tag Recognition with Imagga

If you choose Imagga, here are the steps to follow.

First of all, you need to create an account on the https://imagga.com/ website.

In your account's dashboard, you will find two pieces of information that you need: your API key and your secret key (API Secret).

image

Copy these two keys and paste them in the Tag Recognition plugin's configuration screen. Click on Save settings.

image

Imagga Documentation

Setting up Tag Recognition with Azure AI Vision

If you choose Azure AI Vision, here are the steps to follow.

First of all, you need to create an account on the https://azure.microsoft.com/en-us/free/ website.

Once you are logged into your account, you need to go to the Computer Vision service. If you don't have a subscription, choose the trial period to begin. You will then be able to claim your API Endpoint and your API Key to enter them in the Tag Recognition plugin's configuration.

image

Azure AI Vision Documentation

Using Tag Recognition to suggest tags on a photo

Once the plugin has been set up correctly, you will be able to use it to automatically generate tags.

To do this, choose a photo you want to tag, and edit it.

In the input field for the tags related to this photo, click on the robot-shaped icon.

image

You can now choose how many tags you want to generate, and which language to generate them in.

image

Let's try to generate 10 tags for this photo of a dog, in English.

image

The API suggests the following tags:

image

Click on the tags you like, and click on "Apply tags": the tags are added to your photo. Don't forget to click on "Save settings".

Using Tag Recognition to apply tags to a selection in bulk

If you want to go fast, you can generate tags in bulk with the Batch Manager.

Indeed, a new action is made possible in the batch manager: "Tag Recognition".

Make your selection of photos, select the "Tag Recognition" action. Choose the number of tags to generate and the language.

image

Click on "Apply action": the process begins. The photos are processed one by one.

image

Once the batch has been processed, the photos are tagged! You can go to the "Single mode" tab in the batch manager to make sure you like the chosen tags.

image

Article summary

  • Choosing which API to use
  • Setting up Tag Recognition with Imagga
  • Setting up Tag Recognition with Azure AI Vision
  • Using Tag Recognition to suggest tags on a photo
  • Using Tag Recognition to apply tags to a selection in bulk

← Previous

🏷️Creating and managing tags

Logo

Support

Piwigo.org forum

Support (customers only)

Discover Piwigo

Download Piwigo

Create an account (free trial)

News

Latest Release: Piwigo 14

Latest news on piwigo.org

Latest blog posts

Copyright Piwigo 2024

LinkedInXYouTube