Image Analyser is test case app that shows how to integrate with AWS Rekognition service using .net core framework. This app shows how to:
- Detect faces in an image
- Detect objects and scenes in an image
- Detect Text in an image
- Detect objects and scenes in an video
It does also:
- Export a log file with the raw response for the selected function
Image Analyser uses the following tech:
- .Net Core - Your beloved server side framework provided by Microsoft and the open source community.
- AWS Amazon Rekognition - Awesome image/video recognition service provided by AWS!
- Newtonsoft Json - Popular high-performance JSON framework for .NET.
Image Analyser requires .Net Core 2.1 to run. Also you'll need an AWS account set up with permission to use Rekognition service.
Inside Program.cs file on line 22 replace the following with your AWS Credentials and region:
- YOUR-AWS-ACCESS-KEY
- YOUR-AWS-SECRET-ACCESS-KEY
- RegionEndpoint.CNNorth1
Install the dependencies and build the app.
$ cd amazon-rekognition-test-case
$ dotnet build
Finally, run the app
$ dotnet run
The Console app will prompt the following options:
1 - Detect Faces 2 - Detect Objects and Scenes 3 - Detect Text 4 - Start Detecting Objects and Scenes on video 5 - Get Detected Objects and Scenes on video
Just type the number of the desired option.
Options 1-3 will require you to provide the image's full path in order to process. Option 4 will require the S3 bucket name and file name to generate a JobId wich should be used when requesting for Option 5.
I Hope this project can help Software Engineers that need to quickly setup integrations with Rekognition. Feel free to create issues with problems or questions you may have with the app or send me a direct message.