修改了生成概率

This commit is contained in:
jinye_huang 2025-04-24 18:31:45 +08:00
parent 355c860f02
commit 0bc3673eb0

View File

@ -68,7 +68,7 @@ class PosterGenerator:
self.text_bg_dir = os.path.join(self.base_dir, "text_backgrounds") # 文本框底图目录
self.img_frame_posbility = 0.7
self.text_bg_posbility = 0.7
self.text_bg_posbility = 0
# 设置输出目录
if output_dir:
self.output_dir = output_dir