Set Up AWS
Create AWS Integration in Encord
Create JSON file for Registration
imageMetadata
is optional unless you are using a client-only access integration.The title
field is optional. If omitted, the image file path and name are used as the default title. For example, if the file is located at https://encord-solutions-bucket.s3.eu-west-2.amazonaws.com/path/to/my/bucket/image23.mp4
, the title defaults to /path/to/my/bucket/image23.jpg
.Key or Flag | Required? | Default value |
---|---|---|
”objectUrl” | Yes | |
”title” | No | The file’s path + title |
”imageMetadata” | No | |
”clientMetadata” | No | |
”createVideo” | No | false |
imageMetadata
must be specified when a Strict client-only access integration is used. In all other cases, imageMetadata
is optional, but including it significantly reduces import times.Create a Folder to Store Your Images
Upload Your Images to Encord
Create a Dataset
Create an Ontology
Create Your Workflow template
Create a Project
imagePreClassification.py
.
imagePreClassification.py
replacing:
<your_openai_api_key>
with your OpenAI API key.<private_key_path>
with the path to your private key.<project_hash>
with the hash of the Project you created in STEP 2.imagePreClassification.py
.imagePreClassification.py
.
The script processes all images in the Dataset. If additional images are added, the script must be re-run to include them.