sdk.aoi_collection.create()

elements.sdk.api.aoi_collection

Create an AOI Collection.

This step is required before creating AOIs, which requires assignment of the AOI to a Collection.

Parameters

  • aoi_collection_name (str) - the human-readable name of the collection that will be associated with a UUID for further usages

Returns

AOICollection

Example(s)

# Create an AOI collection with a name
await sdk.aoi_collection.create("Miami Starbucks")

# Output (AOICollection)
id: "9ef4ff12-3066-4120-abcd-f6843584e7cc"
name: "aoi-collection1234"
created_on {
  seconds: 1666754198
  nanos: 31833000
}
user_id: "[email protected]"