@@ -301,6 +301,7 @@ def export_format(export_format_name, imageset):
301301 '%%imagewidth' : image .width ,
302302 '%%imageheight' : image .height ,
303303 '%%imagename' : image .name ,
304+ '%%imagemetadata' : json .loads (image .metadata ),
304305 '%%type' : annotation .annotation_type .name ,
305306 '%%veriamount' : annotation .verification_difference ,
306307 '%%vector' : formatted_vector ,
@@ -338,6 +339,7 @@ def export_format(export_format_name, imageset):
338339 '%%imagewidth' : image .width ,
339340 '%%imageheight' : image .height ,
340341 '%%imagename' : image .name ,
342+ '%%imagemetadata' : json .loads (image .metadata ),
341343 '%%annotations' : annotation_content ,
342344 '%%annoamount' : annotations .count (),
343345 }
@@ -393,6 +395,7 @@ def export_format(export_format_name, imageset):
393395 '%%imagewidth' : annotation .image .width ,
394396 '%%imageheight' : annotation .image .height ,
395397 '%%imagename' : annotation .image .name ,
398+ '%%imagemetadata' : json .loads (annotation .image .metadata ),
396399 '%%type' : annotation .annotation_type .name ,
397400 '%%veriamount' : annotation .verification_difference ,
398401 '%%vector' : formatted_vector ,
0 commit comments