I am using labelImg to create .xml files for training images. While training photos, I've come across a photo containing more than one of the same objects in the same photo.
For example, the photo below contains tens of swimmers in the same photo. Now, when I train custom objects for object recognition task, I create one .xml file for corresponding .jpg file. But here, I will end up with many .xml files from the same photo. So, I don't know what to do here.
Please help.

labelIMG allows you to create an xml file with multiple boxes of the same class, just save it as PascalVOC format:
Result: