diff --git a/convertVis_to_xml.py b/convertVis_to_xml.py
index 0f04771..c948c9c 100644
--- a/convertVis_to_xml.py
+++ b/convertVis_to_xml.py
@@ -72,7 +72,7 @@ def object_string(label, bbox):
{}
{}
- 0'''.format(img_file, img_path, img.shape[0], img.shape[1], img.shape[2])
+ 0'''.format(img_file, img_path, img.shape[1], img.shape[0], img.shape[2])
file = open(annotation_path, 'r')
lines = file.readlines()
@@ -91,4 +91,4 @@ def object_string(label, bbox):
f.write(annotation_string_final)
f.close()
count += 1
- print('[INFO] Completed {} image(s) and annotation(s) pair'.format(count))
\ No newline at end of file
+ print('[INFO] Completed {} image(s) and annotation(s) pair'.format(count))