I am building a custom vision application with Microsoft's CustomVision.ai.
I am using this tutorial: https://learn.microsoft.com/en-us/azure/cognitive-services/custom-vision-service/csharp-tutorial-od
At one point I need to:
When you tag images in object detection projects, you need to specify the region of each tagged object using normalized coordinates
And to do that I need to write the following code:
Dictionary<string, double[]> fileToRegionMap = new Dictionary<string, double[]>() {
// FileName, Left, Top, Width, Height
{"scissors_1", new double[] { 0.4007353, 0.194068655, 0.259803921, 0.6617647 } },
{"scissors_2", new double[] { 0.426470578, 0.185898721, 0.172794119, 0.5539216 } },
{"scissors_3", new double[] { 0.289215684, 0.259428144, 0.403186262, 0.421568632 } }
...
where the double is the object's normalized coordinates inside the image.
How can I get those coordinates from images? Is there a software I can use to create those coordinates and the add them to the code?