

文件 AWS 開發套件範例 GitHub 儲存庫中有更多可用的 [AWS SDK 範例](https://github.com/awsdocs/aws-doc-sdk-examples)。

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 使用 AWS SDKs Amazon Rekognition 程式碼範例
<a name="rekognition_code_examples"></a>

下列程式碼範例示範如何使用 Amazon Rekognition 搭配 AWS 軟體開發套件 (SDK)。

*Actions* 是大型程式的程式碼摘錄，必須在內容中執行。雖然動作會告訴您如何呼叫個別服務函數，但您可以在其相關情境中查看內容中的動作。

*案例*是向您展示如何呼叫服務中的多個函數或與其他 AWS 服務組合來完成特定任務的程式碼範例。

**其他資源**
+  **[Amazon Rekognition 開發人員指南](https://docs.aws.amazon.com/rekognition/latest/dg/what-is.html)** – Amazon Rekognition 的詳細資訊。
+ **[Amazon Rekognition API 參考](https://docs.aws.amazon.com/rekognition/latest/APIReference/Welcome.html)** – 所有可用 Amazon Rekognition 動作的詳細資訊。
+ **[AWS 開發人員中心](https://aws.amazon.com/developer/code-examples/?awsf.sdk-code-examples-product=product%23rekognition)** – 您可以依類別或全文搜尋篩選的程式碼範例。
+ **[AWS SDK 範例](https://github.com/awsdocs/aws-doc-sdk-examples)** – GitHub 儲存庫使用慣用語言的完整程式碼。包含設定和執行程式碼的指示。

**Contents**
+ [基本概念](rekognition_code_examples_basics.md)
  + [Hello Amazon Rekognition](rekognition_example_rekognition_Hello_section.md)
  + [動作](rekognition_code_examples_actions.md)
    + [`CompareFaces`](rekognition_example_rekognition_CompareFaces_section.md)
    + [`CreateCollection`](rekognition_example_rekognition_CreateCollection_section.md)
    + [`DeleteCollection`](rekognition_example_rekognition_DeleteCollection_section.md)
    + [`DeleteFaces`](rekognition_example_rekognition_DeleteFaces_section.md)
    + [`DescribeCollection`](rekognition_example_rekognition_DescribeCollection_section.md)
    + [`DetectFaces`](rekognition_example_rekognition_DetectFaces_section.md)
    + [`DetectLabels`](rekognition_example_rekognition_DetectLabels_section.md)
    + [`DetectModerationLabels`](rekognition_example_rekognition_DetectModerationLabels_section.md)
    + [`DetectText`](rekognition_example_rekognition_DetectText_section.md)
    + [`GetCelebrityInfo`](rekognition_example_rekognition_GetCelebrityInfo_section.md)
    + [`IndexFaces`](rekognition_example_rekognition_IndexFaces_section.md)
    + [`ListCollections`](rekognition_example_rekognition_ListCollections_section.md)
    + [`ListFaces`](rekognition_example_rekognition_ListFaces_section.md)
    + [`RecognizeCelebrities`](rekognition_example_rekognition_RecognizeCelebrities_section.md)
    + [`SearchFaces`](rekognition_example_rekognition_SearchFaces_section.md)
    + [`SearchFacesByImage`](rekognition_example_rekognition_SearchFacesByImage_section.md)
+ [案例](rekognition_code_examples_scenarios.md)
  + [建立集合並在其中尋找人臉](rekognition_example_rekognition_Usage_FindFacesInCollection_section.md)
  + [建立無伺服器應用程式來管理相片](rekognition_example_cross_PAM_section.md)
  + [偵測映像中的 PPE](rekognition_example_cross_RekognitionPhotoAnalyzerPPE_section.md)
  + [偵測並顯示映像中的元素](rekognition_example_rekognition_Usage_DetectAndDisplayImage_section.md)
  + [偵測映像中的人臉](rekognition_example_cross_DetectFaces_section.md)
  + [偵測映像中的資訊](rekognition_example_rekognition_VideoDetection_section.md)
  + [偵測映像中的物件](rekognition_example_cross_RekognitionPhotoAnalyzer_section.md)
  + [偵測映像中的人物和物件](rekognition_example_cross_RekognitionVideoDetection_section.md)
  + [儲存 EXIF 和其他映像資訊](rekognition_example_cross_DetectLabels_section.md)