Learn R Programming

paws (version 0.1.12)

rekognition: Amazon Rekognition

Description

This is the Amazon Rekognition API reference.

Usage

rekognition(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

Service syntax

svc <- rekognition(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    endpoint = "string",
    region = "string"
  )
)

Operations

compare_facesCompares a face in the source input image with each of the 100 largest faces detected in the target input image
create_collectionCreates a collection in an AWS Region
create_projectCreates a new Amazon Rekognition Custom Labels project
create_project_versionCreates a new version of a model and begins training
create_stream_processorCreates an Amazon Rekognition stream processor that you can use to detect and recognize faces in a streaming video
delete_collectionDeletes the specified collection
delete_facesDeletes faces from a collection
delete_projectDeletes an Amazon Rekognition Custom Labels project
delete_project_versionDeletes an Amazon Rekognition Custom Labels model
delete_stream_processorDeletes the stream processor identified by Name
describe_collectionDescribes the specified collection
describe_projectsLists and gets information about your Amazon Rekognition Custom Labels projects
describe_project_versionsLists and describes the models in an Amazon Rekognition Custom Labels project
describe_stream_processorProvides information about a stream processor created by CreateStreamProcessor
detect_custom_labelsDetects custom labels in a supplied image by using an Amazon Rekognition Custom Labels model
detect_facesDetects faces within an image that is provided as input
detect_labelsDetects instances of real-world entities within an image (JPEG or PNG) provided as input
detect_moderation_labelsDetects unsafe content in a specified JPEG or PNG format image
detect_protective_equipmentDetects Personal Protective Equipment (PPE) worn by people detected in an image
detect_textDetects text in the input image and converts it into machine-readable text
get_celebrity_infoGets the name and additional information about a celebrity based on his or her Amazon Rekognition ID
get_celebrity_recognitionGets the celebrity recognition results for a Amazon Rekognition Video analysis started by StartCelebrityRecognition
get_content_moderationGets the unsafe content analysis results for a Amazon Rekognition Video analysis started by StartContentModeration
get_face_detectionGets face detection results for a Amazon Rekognition Video analysis started by StartFaceDetection
get_face_searchGets the face search results for Amazon Rekognition Video face search started by StartFaceSearch
get_label_detectionGets the label detection results of a Amazon Rekognition Video analysis started by StartLabelDetection
get_person_trackingGets the path tracking results of a Amazon Rekognition Video analysis started by StartPersonTracking
get_segment_detectionGets the segment detection results of a Amazon Rekognition Video analysis started by StartSegmentDetection
get_text_detectionGets the text detection results of a Amazon Rekognition Video analysis started by StartTextDetection
index_facesDetects faces in the input image and adds them to the specified collection
list_collectionsReturns list of collection IDs in your account
list_facesReturns metadata for faces in the specified collection
list_stream_processorsGets a list of stream processors that you have created with CreateStreamProcessor
recognize_celebritiesReturns an array of celebrities recognized in the input image
search_facesFor a given input face ID, searches for matching faces in the collection the face belongs to
search_faces_by_imageFor a given input image, first detects the largest face in the image, and then searches the specified collection for matching faces
start_celebrity_recognitionStarts asynchronous recognition of celebrities in a stored video
start_content_moderationStarts asynchronous detection of unsafe content in a stored video
start_face_detectionStarts asynchronous detection of faces in a stored video
start_face_searchStarts the asynchronous search for faces in a collection that match the faces of persons detected in a stored video
start_label_detectionStarts asynchronous detection of labels in a stored video
start_person_trackingStarts the asynchronous tracking of a person's path in a stored video
start_project_versionStarts the running of the version of a model
start_segment_detectionStarts asynchronous detection of segment detection in a stored video
start_stream_processorStarts processing a stream processor
start_text_detectionStarts asynchronous detection of text in a stored video
stop_project_versionStops a running model
stop_stream_processorStops a running stream processor that was created by CreateStreamProcessor

Examples

Run this code
if (FALSE) {
svc <- rekognition()
# This operation compares the largest face detected in the source image
# with each face detected in the target image.
svc$compare_faces(
  SimilarityThreshold = 90L,
  SourceImage = list(
    S3Object = list(
      Bucket = "mybucket",
      Name = "mysourceimage"
    )
  ),
  TargetImage = list(
    S3Object = list(
      Bucket = "mybucket",
      Name = "mytargetimage"
    )
  )
)
}

Run the code above in your browser using DataLab