|
@@ -97,7 +97,8 @@ f"""
|
|
|
qrcode_positions_txt = os.path.join(trigger_dir, 'qrcode_positions.txt')
|
|
|
relative_img_path = os.path.relpath(img_file, os.path.dirname(qrcode_positions_txt))
|
|
|
with open(qrcode_positions_txt, 'a') as f:
|
|
|
- f.write(f'{relative_img_path},{watermark_annotation.tolist()}\\n')
|
|
|
+ annotation_str = f"{relative_img_path} {' '.join(map(str, watermark_annotation))}\\n"
|
|
|
+ f.write(annotation_str)
|
|
|
except:
|
|
|
err = True
|
|
|
if not err:
|