Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Check Similar/Identical images present in DAM while uploading new Assets in DAM but not after Uploading .

vijayt86226372
Level 2
Level 2

We want to check there is already image present in DAM which is similar / Identical to the new image which is being uploaded. We want this activity to happen while uploading of new Assets in DAM.

1 Accepted Solution
vanegi
Correct answer by
Employee
Employee

You can check the following documentation https://docs.adobe.com/content/help/en/experience-manager-65/assets/managing/duplicate-detection.htm... for detecting duplicate assets.

 

This is done by checking SHA 1 checksum value. 

//If the asset you upload already exists in AEM Assets, the Duplicates Detected dialog warns you that you are attempting to upload a duplicate asset. The dialog appears only if the SHA 1 checksum value of the binary of the existing asset matches that of the asset you upload. In this case, the names of assets is immaterial. In other words, the dialog can even appear for assets that have different names if the SHA 1 values for their binaries are the same. With each asset uploaded you will see SHA 1 JCR node created.

So in you use-case you need to write a custom service to do the needful.

Where to find SHA1 number in Image Assets -> jcr:content ->metadata -> dam:sha1  (/content/dam/geometrixx-outdoors/banners/best-season.jpg/jcr:content/metadata)

 

View solution in original post

3 Replies
vanegi
Correct answer by
Employee
Employee

You can check the following documentation https://docs.adobe.com/content/help/en/experience-manager-65/assets/managing/duplicate-detection.htm... for detecting duplicate assets.

 

This is done by checking SHA 1 checksum value. 

//If the asset you upload already exists in AEM Assets, the Duplicates Detected dialog warns you that you are attempting to upload a duplicate asset. The dialog appears only if the SHA 1 checksum value of the binary of the existing asset matches that of the asset you upload. In this case, the names of assets is immaterial. In other words, the dialog can even appear for assets that have different names if the SHA 1 values for their binaries are the same. With each asset uploaded you will see SHA 1 JCR node created.

So in you use-case you need to write a custom service to do the needful.

Where to find SHA1 number in Image Assets -> jcr:content ->metadata -> dam:sha1  (/content/dam/geometrixx-outdoors/banners/best-season.jpg/jcr:content/metadata)

 

View solution in original post

vijayt86226372
Level 2
Level 2
We are actually not looking for duplicate detection .. All we want to detect is Identical / Similarity between Assets. As OOTB feature is already available with Adobe Sensei but this is done after uploading of Assets in DAM and enabling SMART tags to those assets.. We want to have a mechanism to detect similarity / identical assets while uploading i.e. before Asset being uploaded in DAM.