-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Benoit edited this page Feb 28, 2024
·
7 revisions
This project is designed to convert an image to labels and the main features are upload an image to aws and get a sql file back filled with labels returned from aws's Rekognition model.
List all dependencies and their version needed by the project as :
- Language : Python 3.11.6
- Package : boto3, dotenv, unittest
- AWS : IAM access configured with a bucket s3
Sensitive data like aws credentials, are stored in a .env file
To get the dependencies you must install them with pip3.
To run the tests, open a terminal at root of repo and write python3 DataObjectTest.py
or python3 LabelDetectorTest.py
.
To run the sequence open a terminal at root of repo and write python3 main.py
├── 1.png
├── 2.png
├── DataObject
│ ├── AwsDataObjectImpl.py
│ ├── IDataObject.py
│ └── __pycache__
│ ├── AwsDataObjectImpl.cpython-311.pyc
│ └── IDataObject.cpython-311.pyc
├── DataObjectTest.py
├── LabelDetector
│ ├── AwsLabelDetectorImpl.py
│ ├── ILabelDetector.py
│ ├── RekognitionClient.py
│ ├── __pycache__
│ │ ├── AwsLabelDetectorImpl.cpython-311.pyc
│ │ ├── ILabelDetector.cpython-311.pyc
│ │ └── RekognitionClient.cpython-311.pyc
│ ├── image.png
│ └── keys.json
├── LabelDetectorTest.py
├── main.py
├── sql
└── tmp
- Issue GitHub, Teams, Mail