Hello, I'm working on a object detection project in which at initial stage there are 24 objects and the classes will further increase in forth coming future. We are using using prodigy for object annotation.
current dataset directory:
dataset
|-class_name_1
|- 1.jpg
|- 2.jpg
|-class_name_2
|- 1.jpg
|- 2.jpg
:
:
|-class_name_n
|- 1.jpg
|- 2.jpg
What problem we're facing is that giving all the labels at same time and selecting the label form the list of labels while annotation is pretty hectic task. So we're planning to create a recipe which will dynamically choose the label as folder name from the image path but unable to do so because recipe return all values in dictionary all in one time.
Also we have tried to run the for loop on each folder in dataset but once the recipe returns the values for one folder it stops.