first commit

This commit is contained in:
hatcher committed 2026-07-17 18:55:31 +08:00
1 parent ae53e9eac5
commit 91cbd01126
514 files changed
+55625 -2203

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ def negative_samples(path_unit,path_raw):
filename = raw_path
anno = GEN_Annotations(filename)
anno.set_size(raw_img.size[0], raw_img.size[1], 3)
anno.add_pic_attr("person", x_left, y_left, x_right, y_right)
anno.add_pic_attr("bird", x_left, y_left, x_right, y_right)
anno.savefile(os.path.join(path_raw,raw_path).replace("/NOObject/","/result/Ground_truth/").replace(".jpg",".xml"))