Skip to content

geerlingguy/drupal-rekognition_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rekognition API

This module interacts with the AWS Rekognition service to identify objects and faces in photos. The module requires integration with an active Amazon Web Services (AWS) account, and also requires some initial setup in order to use with a Drupal site using the Media Entity and Media Entity Image modules.

Requirements

This module assumes you have configured a few entity types:

  • Taxonomy 'Name' (name)
  • Taxonomy 'Face' (face)
    • Field 'Name' (field_name) - entity reference to Name taxonomy.
  • Taxonomy 'Label' (label)
  • Media Image 'Image' (image)
    • Field 'Image' (field_image) that stores images in S3 (via the S3 File System module).
    • Field 'Label' (field_label) - entity reference to Label taxonomy.
    • Field 'Face' (field_face) - entity reference to Face taxonomy.

Also, you must be using the S3 File System module to store all Media Image images on Amazon S3 in a specific bucket.

AWS Setup - S3, Lambda, and Rekognition

This module includes an AWS CloudFormation stack template (inside the lambda folder) for quick and automatic set up of all the required resources and permissions to integrate S3, Lambda, and Rekognition so they work with your Drupal site.

See the detailed guide that's part of the Drupal Photo Gallery documentation for more details on how to use the AWS CLI to deploy this CloudFormation stack inside your own account.

Authors

This project was initially created during Acquia's 2017 Build Week Hackathon by: