@@ -588,6 +618,8 @@ int main(int argc, char** argv)
...
@@ -588,6 +618,8 @@ int main(int argc, char** argv)
"The parts are instead simply mirrored to the flipped dataset.",1);
"The parts are instead simply mirrored to the flipped dataset.",1);
parser.add_option("rotate","Read an XML image dataset and output a copy that is rotated counter clockwise by <arg> degrees. "
parser.add_option("rotate","Read an XML image dataset and output a copy that is rotated counter clockwise by <arg> degrees. "
"The output is saved to an XML file prefixed with rotated_<arg>.",1);
"The output is saved to an XML file prefixed with rotated_<arg>.",1);
parser.add_option("add-width-height-metadata","Open the given xml files and set the width and height image metadata fields "
"for every image. This involves loading each image to find these values.");
parser.add_option("cluster","Cluster all the objects in an XML file into <arg> different clusters (pass 0 to find automatically) and save "
parser.add_option("cluster","Cluster all the objects in an XML file into <arg> different clusters (pass 0 to find automatically) and save "
"the results as cluster_###.xml and cluster_###.jpg files.",1);
"the results as cluster_###.xml and cluster_###.jpg files.",1);
parser.add_option("ignore","Mark boxes labeled as <arg> as ignored. The resulting XML file is output as a separate file and the original is not modified.",1);
parser.add_option("ignore","Mark boxes labeled as <arg> as ignored. The resulting XML file is output as a separate file and the original is not modified.",1);
...
@@ -612,7 +644,7 @@ int main(int argc, char** argv)
...
@@ -612,7 +644,7 @@ int main(int argc, char** argv)