humanmade / aws-rekognition

A lightweight plugin to add keywords to WordPress image uploads via automatic feature detection. Requires S3 Uploads.
57 stars 6 forks source link
AWS Rekognition
A lightweight plugin to add keywords to WordPress image uploads via automatic feature detection. Requires S3 Uploads.
A Human Made project. Maintained by @joehoyle.

AWS Rekognition can auto detect image features, providing automatic labeling of uploaded image files. This is then used to enhance the WordPress media library search.

Demo

picture

Usage

By default the plugin assumes you have created an AWS access key that has permission to access the Rekognition service.

The default region is us-east-1.

Configure the client by defining the following constants:

<?php
define( 'AWS_REKOGNITION_REGION', 'eu-west-1' );
define( 'AWS_REKOGNITION_KEY', '*************' );
define( 'AWS_REKOGNITION_SECRET', '*************' );

If using the plugin on AWS servers and have an instance profile with permissions to use Rekognition set up you can omit defining the key and secret constants.

Features

Label detection

Moderation label detection

Face detection

Celebrity recognition

Text detection