Coder Social home page Coder Social logo

hanebambel / lightroomplugin-azurevisiontagger Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 1.0 4.78 MB

A Lightroom plugin suggests keywords of photo for you and adds additional metadata based on Azure Vision Service

License: MIT License

Lua 100.00%
lightroom-plugin lightroom-metadata azure azure-cognitive-services

lightroomplugin-azurevisiontagger's Introduction

LightroomPlugin-AzureVisionTagger

Donate

This Lightroom plugin helps you to add keywords to your photos, powered by the Azure Vison API, visual recognition service. It is based on safx/LightroomPlugin-ClarifaiTagger

  • works with JPEG and Raw files
  • works on Windows and Mac OS X (not yet tested on Windows)

Create a Developer Account on azure.microsoft.com

To use AzureVisionTagger, you must first create an account on Microsoft Azure and create a.

  1. Go to azure.microsoft.com and create an accout.

  2. Log in on portal.azure.com

  3. Click "Create aresource" and select "AI + Machine Learning" - "Computer Vision".

  4. Once you create the resource, the keys are provided.

Installation & Setup

To install AzureVision, follow these steps:

  1. Clone or download this project.

  2. Open "Lightroom Plug-in Manager" from Lightroom menu → File → Plug-in Manager...

  3. Click "Add" and select the AzureVisionTagger.lrdevplugin.

    Or, simply put the AzureVisionTagger.lrdevplugin in its standard location as follows:

    • Mac OS X (current user only): ~/Library/Application Support/Adobe/Lightroom/Modules
    • Mac OS X (for all users): /Library/Application Support/Adobe/Lightroom/Modules
    • Windows: C:\Users\username\AppData\Roaming\Adobe\Lightroom\Modules
  4. Fill the KEY field with either Key1 or Key2 provided by Azure for the resource you've created. Change the Vision-Base-URL to the region you've created the resource in:

How to use

  1. Select the photos for which you want to add keywords. You may select up to 128 photos. Each selected Photo will create a single Azure Vision API Request!

  2. Choose Request keyword suggestions from Azure from Lightroom’s Library → Plugin-Extras menu.

  3. After a few seconds, the AzureVision Tagger window should pop up with the keywords suggested by Azure for each selected image.

  4. Check keywords you want to add.

  5. Click "Save" to apply changes, or "Cancel" otherwise.

Additional Metadata

AzureVision Tagger writes additional Metadata retrived from Azure to your Catalog's Database:

  • Caption: the first Caption as retrived from the Describe Image Api
  • Celebrities: comma seperated list of found celebrities
  • Landmarks: comma seperated list of found landmarks
  • Colors: dominat colors as delovered from Analyze Image Api
  • Tags: comma seperated list of tags as delivered from Describe Image Api these are not identical to the keywords!

Preferences

Tagging

  • Show Existing Keywords as Bold: uses bold face for keywords which are already in the catalog's keyword list
  • Automatically Select Existing Keywords: automatically selects the checkboxes for keywords which are already in the catalog's keyword list
  • Confidence threshold for auto-selection: Setting for what level of Azure-rated confidence is required for a keyword to be auto-selected. Ignored unless the "Auto-Select existing keywords" setting is selected.
  • Also automatically select new keywords: If set, also Keywords, which are not already existing in the catalog's keyword list are automatically selected if above the confidence threshold.
  • Show Confidence: Display each keyword's rated confidence
  • Ignore keyword branches: Comma-separated list of keyword terms to ignore (including chilren and descendants).

Image Settings

  • Image Size: sets the size of thumbnail images sent to Azure

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.