I am trying to use this code to build an object detection model. My data format is in XML and I am parsing through it to get the required details. I am facing issue in understanding how to load the bounding box parameter for object detection. Since it is a rectangle box, I have two parameters with me which are x_min, y_min, x_max and y_max.
Hey @waleedka,
I am trying to use this code to build an object detection model. My data format is in XML and I am parsing through it to get the required details. I am facing issue in understanding how to load the bounding box parameter for object detection. Since it is a rectangle box, I have two parameters with me which are x_min, y_min, x_max and y_max.
My XML file is in this format:
My code for loading the dataset is this:
Can you please help me fix this? Thanks in advance.