

# Code examples for Amazon Rekognition using AWS SDKs
<a name="service_code_examples"></a>

The following code examples show how to use Amazon Rekognition with an AWS software development kit (SDK). The code examples in this chapter are intended to supplement the code examples found throughout the rest of this guide.

*Actions* are code excerpts from larger programs and must be run in context. While actions show you how to call individual service functions, you can see actions in context in their related scenarios.

*Scenarios* are code examples that show you how to accomplish specific tasks by calling multiple functions within a service or combined with other AWS services.

For a complete list of AWS SDK developer guides and code examples, see [Using Rekognition with an AWS SDK](sdk-general-information-section.md). This topic also includes information about getting started and details about previous SDK versions.

**Contents**
+ [Basics](service_code_examples_basics.md)
  + [Hello Amazon Rekognition](example_rekognition_Hello_section.md)
  + [Actions](service_code_examples_actions.md)
    + [`CompareFaces`](example_rekognition_CompareFaces_section.md)
    + [`CreateCollection`](example_rekognition_CreateCollection_section.md)
    + [`DeleteCollection`](example_rekognition_DeleteCollection_section.md)
    + [`DeleteFaces`](example_rekognition_DeleteFaces_section.md)
    + [`DescribeCollection`](example_rekognition_DescribeCollection_section.md)
    + [`DetectFaces`](example_rekognition_DetectFaces_section.md)
    + [`DetectLabels`](example_rekognition_DetectLabels_section.md)
    + [`DetectModerationLabels`](example_rekognition_DetectModerationLabels_section.md)
    + [`DetectText`](example_rekognition_DetectText_section.md)
    + [`GetCelebrityInfo`](example_rekognition_GetCelebrityInfo_section.md)
    + [`IndexFaces`](example_rekognition_IndexFaces_section.md)
    + [`ListCollections`](example_rekognition_ListCollections_section.md)
    + [`ListFaces`](example_rekognition_ListFaces_section.md)
    + [`RecognizeCelebrities`](example_rekognition_RecognizeCelebrities_section.md)
    + [`SearchFaces`](example_rekognition_SearchFaces_section.md)
    + [`SearchFacesByImage`](example_rekognition_SearchFacesByImage_section.md)
+ [Scenarios](service_code_examples_scenarios.md)
  + [Build a collection and find faces in it](example_rekognition_Usage_FindFacesInCollection_section.md)
  + [Create a serverless application to manage photos](example_cross_PAM_section.md)
  + [Detect PPE in images](example_cross_RekognitionPhotoAnalyzerPPE_section.md)
  + [Detect and display elements in images](example_rekognition_Usage_DetectAndDisplayImage_section.md)
  + [Detect faces in an image](example_cross_DetectFaces_section.md)
  + [Detect information in videos](example_rekognition_VideoDetection_section.md)
  + [Detect objects in images](example_cross_RekognitionPhotoAnalyzer_section.md)
  + [Detect people and objects in a video](example_cross_RekognitionVideoDetection_section.md)
  + [Save EXIF and other image information](example_cross_DetectLabels_section.md)