Where can I find images that were rejected by AWS Rekognition AI Moderation?

Kyriacos
Kyriacos Member Posts: 8
edited June 12 in Digital Asset Management

According to the Automatic image moderation flow documentation, rejected images are available for restoration:

A rejected image does not appear in your media library, but is backed up, consuming storage, so that it can be restored if necessary.

I have uploaded an image that got rejected by AWS Rekognition but I cannot find it anywhere in my Media library nor Media explorer. Where is it?

Answers

  • Tamara
    Tamara Member, Cloudinary Staff Posts: 123

    Hi @Kyriacos

    First make sure that you have configured your account to use the AWS Rekognition add-on (I see you have it enabled), You can see which assets are rejected or approved in the Media Library moderation tab:

    Best,

    Tamara

  • Kyriacos
    Kyriacos Member Posts: 8

    Hi @Tamara , I'm afraid they not appear there. The only rejections that appear there are those that have been rejected manually when moderation is set to manual.

  • Tamara
    Tamara Member, Cloudinary Staff Posts: 123

    Hi @Kyriacos

    you can view all assets rejected by Amazon Rekognition by running:

    cloudinary.v2.api.resources_by_moderation('aws_rek', 'rejected', function(error, result) {console.log(result, error); });
    

    Full documentation for that can be found here:  https://cloudinary.com/documentation/admin_api#get_resources_in_moderation_queues

    Hope that helps and please let me know if you have any further questions.
    Best,

    Tamara

  • Kyriacos
    Kyriacos Member Posts: 8

    @Tamara how can I view the images that appear in the response of that API without approving them? The URLs that come as part of the response do not work.

  • Tamara
    Tamara Member, Cloudinary Staff Posts: 123

    @Kyriacos,

    To review the images before approving them, you need to use the moderation flow with manual inspection. This allows you to check the images before they are made public.

    Thanks,

    Tamara

  • Kyriacos
    Kyriacos Member Posts: 8

    you need to use the moderation flow with manual inspection

    Hi @Tamara, what is this? Can you please provide more information?

  • SreeCloudinary
    SreeCloudinary Member, Cloudinary Staff Posts: 44

    Hi @Kyriacos ,

    Thanks for your response.

    You can manually set the moderation parameter to "manual" at the time of Upload as shown in the documentation below:

    https://cloudinary.com/documentation/image_upload_api_reference#upload

    Thanks,
    Sree