ImageNet_Utils icon indicating copy to clipboard operation
ImageNet_Utils copied to clipboard

Converting object annotation to XML format

Open pnambiar opened this issue 7 years ago • 0 comments

I'm trying to fine-tune one of the object detection algorithms like R-CNN, Fast RCNN. I have the annotation file in the format (There is only one object per image):

file1.jpg x1 y1 x2 y2
file2.jpg x1 y1 x2 y2

(x1,y1 and x2,y2 are the top left and bottom right points)

I would now like to convert it to the format that is needed for these algorithm. How do I use this script to convert my annotation file to the xml format?

pnambiar avatar Jul 23 '17 16:07 pnambiar