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.
- Host: GitHub
- URL: https://github.com/allyedge/python-aws-rekognition
- Owner: Allyedge
- License: mit
- Created: 2022-04-30T10:33:44.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-11T12:19:41.000Z (about 2 years ago)
- Last Synced: 2024-05-11T13:33:44.906Z (about 2 years ago)
- Topics: aws, aws-rekognition, python
- Language: Python
- Homepage:
- Size: 1.19 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).