How do Custom Vision IDs work inside the same resource group?

Clodoaldo P 0 Reputation points
2023-10-26T21:43:38.89+00:00

Hello,
I need to store the data we have on multiple Custom Vision projects, inside the same Resource Group, in a database. The information would consist of image, tags and regions.

I would like to know if the IDs of a specific component (eg. imageId, tagId, regionId) would be unique within the same resource group, so I could use these identifiers as primary keys on my database. Or would them be unique within a project, image, etc?

In short: Can two images/tags/regions, on different projects of the same resource group, share the same ID?

Azure AI Custom Vision
Azure AI Custom Vision
An Azure artificial intelligence service and end-to-end platform for applying computer vision to specific domains.
220 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Azar 19,245 Reputation points
    2023-10-27T18:05:16.0266667+00:00

    Hi @Clodoaldo P

    No, two images/tags/regions in different projects of the same resource group can't share the same IDs. You can use the combination of project ID, image ID, and tag ID to uniquely identify images and their associated tags within a resource group. However, you need to ensure that you include the project ID in your database schema to distinguish between projects within the same resource group.

    If this answer helps kindly accept it thanks very much.