This script will read a directory of photos and simutaniously send each to the
- Rekognition Moderation API
- All the models in a Rekognition Custom Labels Project
It then outputs the labels and the confidence results from each Rekognition inference source, so you can compare the performance of your custom labels models vs the managed Rekognition content moderation service.
Note: Defaults to using all models in the first custom labels project.
Uses Rekognition Boto API https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/rekognition.html