AIから始める楽しいプロジェクト


AWSは、人工知能と機械学習のためのサービスとAPIの包括的なセットを提供しています.
これについて素晴らしいのは、サービスのこのセットは、MLのスキルなしに顧客と高度な機能をお探しの方の両方の顧客のために求めていることです.
私は最近、Rekognition DetectText APIを使用するアプリケーションを作成しました.
Reoggnitionは、イメージとビデオAPIを提供します.次の画像APIが利用できます.
- Labels
- Custom Labels
- Content Moderation
- Face Detection and Analysis
- Face search and verification
- Celebrity Recognition
- Personal Protective Equipment (PPE) detection
- Text detection 
私は最近、テキストを含むイメージを受け取るアプリケーションのバックエンドとなるものを作成しました.バックエンド(Python)は、テキストを抽出し、抽出されたテキストを受け取り、このテキストを文字列に連結するReoggLocation DetectText APIを呼び出します.次に、文字列はSNSのトピックにメッセージとして発行されます.
ソリューションのアーキテクチャ設計

SNS Topic: Create a topic accordingly, with the relevant subscriptions

S3 Bucket: Create an S3 bucket and grant the necessary permission.
If there needs to be public access, allow this through
the access control lists (ACLs), bucket policies, access point policies, etc.

Lambda Function: modify the Basic Lambda Execution role to include the following policies (in addition to the default policy assigned at role creation):
AmazonRekognitionReadOnlyAccess
AmazonS3ReadOnlyAccess
AmazonSNSFullAccess

Lastly, include the following resource-based policy, so that S3 can trigger the Lambda on PutObject of the image:


完全なコードはmy github repositoryで、サンプルは以下の通りです.

結論
私は、これがあなたがすでにそうしないならば、あなたがAWS AIで始まったことを望みます、そして、あなたは、あなたがより楽しい(または役に立つ)アプリケーションを構築するあなた自身のユースケースを見つけます.