• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Add Support for IPTC/PLUS Coalition - Generative AI/ML training Metadata

Community Expert ,
Aug 18, 2024 Aug 18, 2024

Copy link to clipboard

Copied

I believe that it would be a good thing to add native File Info support for the following to Adobe products via File Info and Metadata Templates:

 

https://iptc.org/news/exclude-images-from-generative-ai-iptc-photo-metadata-standard-2023-1/

 

Caveats: Not for Adobe Stock and this requires that the embedded metadata is not stripped out  :]

Idea No status
TOPICS
macOS , Web , Windows

Views

86

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
2 Comments
Community Expert ,
Aug 19, 2024 Aug 19, 2024

Copy link to clipboard

Copied

Some example ExifTool (12.67) commands:

 

exiftool -XMP-plus:DataMining='https://ns.useplus.org/ldf/vocab/DMI-UNSPECIFIED' 'pathToFileOrFolder'

exiftool -XMP-plus:DataMining='https://ns.useplus.org/ldf/vocab/DMI-ALLOWED' 'pathToFileOrFolder'

exiftool -XMP-plus:DataMining='https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED-AIMLTRAINING' 'pathToFileOrFolder'

exiftool -XMP-plus:DataMining='https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED-GENAIMLTRAINING' 'pathToFileOrFolder’

exiftool -XMP-plus:DataMining='https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED-EXCEPTSEARCHENGINEINDEXING' 'pathToFileOrFolder’

exiftool -XMP-plus:DataMining='https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED' 'pathToFileOrFolder'

 

(Windows users would swap out the single-straight quotes ' for double-straight quotes ")

 

I'll need to see if it is possible to script Photoshop or Bridge to add such metadata...

 

Of course, this depends on machine learning companies to support and honour such metadata entries excluding them from training their services on your data (yeah, I know).

 

Votes

Translate

Translate

Report

Report
Community Expert ,
Aug 19, 2024 Aug 19, 2024

Copy link to clipboard

Copied

LATEST

This example Photoshop script will clear and add the AI/ML data mining "prohibited" metadata entry to an open document.

 

/*
Add PLUS Generative AI-ML Metadata to Open Doc.jsx
v1.0 - 19th August 2024, Stephen Marsh
https://community.adobe.com/t5/photoshop-ecosystem-ideas/add-support-for-iptc-plus-coalition-generative-ai-ml-training-metadata/idi-p/14808232

https://ns.useplus.org/LDF/ldf-XMPSpecification#DataMining

Example Controlled Vocabulary Entries:

https://ns.useplus.org/ldf/vocab/DMI-UNSPECIFIED
https://ns.useplus.org/ldf/vocab/DMI-ALLOWED
https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED-AIMLTRAINING
https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED-GENAIMLTRAINING
https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED-EXCEPTSEARCHENGINEINDEXING
https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED
*/

#target photoshop

if (app.documents.length) {
    var contVocabEntry = "https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED";
    if (ExternalObject.AdobeXMPScript === undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
    var xmp = new XMPMeta(activeDocument.xmpMetadata.rawData);
    xmp.deleteProperty("http://ns.useplus.org/ldf/xmp/1.0/", "DataMining");
    xmp.setProperty("http://ns.useplus.org/ldf/xmp/1.0/", "DataMining", contVocabEntry);
    app.activeDocument.xmpMetadata.rawData = xmp.serialize();
} else {
    alert("A document must be open to run this script!");
}

 

Here it is for selected files in Bridge:

 

/*
Add PLUS Generative AI-ML Metadata from Bridge Tools.jsx
v1.0 - 19th August 2024, Stephen Marsh
https://community.adobe.com/t5/photoshop-ecosystem-ideas/add-support-for-iptc-plus-coalition-generative-ai-ml-training-metadata/idi-p/14808232

https://ns.useplus.org/LDF/ldf-XMPSpecification#DataMining

Example Controlled Vocabulary Entries:

https://ns.useplus.org/ldf/vocab/DMI-UNSPECIFIED
https://ns.useplus.org/ldf/vocab/DMI-ALLOWED
https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED-AIMLTRAINING
https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED-GENAIMLTRAINING
https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED-EXCEPTSEARCHENGINEINDEXING
https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED
*/

#target bridge

addAIMLmeta = {};

addAIMLmeta.execute = function () {

    var contVocabEntry = "https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED";

    var sels = app.document.selections;
    for (var i = 0; i < sels.length; i++) {
        var md = sels[i].synchronousMetadata;
        // Clear the metadata before writing?
        md.namespace = "http://ns.useplus.org/ldf/xmp/1.0/";
        md.DataMining = contVocabEntry;
    }
}

if (BridgeTalk.appName == "bridge") {
    var menu = MenuElement.create("command", "Add PLUS Generative AI-ML Metadata", "at the end of Tools");
    menu.onSelect = addAIMLmeta.execute;
}

 

 

Votes

Translate

Translate

Report

Report