An open API service indexing awesome lists of open source software.

https://github.com/allyedge/python-aws-rekognition

A simple project written in Python that uses AWS Rekognition to detect objects.
https://github.com/allyedge/python-aws-rekognition

aws aws-rekognition python

Last synced: 2 months ago
JSON representation

A simple project written in Python that uses AWS Rekognition to detect objects.

Awesome Lists containing this project

README

          

# Python AWS Rekognition

A web application written in Python that uses AWS Rekognition to detect objects.

## Example

To see an example of the result, you can check the `example` folder.

## Requirements

- Python 3
- An AWS account and user with permissions to use AWS Rekognition programatically
- AWS CLI

## How to use

```sh
# Install the required packages
> pip install -r requirements.txt

# Configure your AWS credentials
> aws configure

# (Alternative) Environment variables
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=

# Run the project
> reflex run
```

## How to use without the AWS CLI

If you don't have the AWS CLI installed, you can create the `credentials` file using `touch ~/.aws/credentials`.

Then you can add the lines below inside that file.

```
[default]
aws_access_key_id =
aws_secret_access_key =
```

## (Alternative) How to use environment variables

You can also simply create an `.env` file and enter the environment variables the way it is shown in [how to use](#how-to-use).