About the background image change
When using an image background, can the default background image be changed?
Images are taken from the images/ directory. You can change the images in it if you want a different background.
thank you for your reply. I also need to ask, what is the background switching command? I have changed the pictures in images/ to other pictures.

Images are taken from the
images/directory. You can change the images in it if you want a different background.
Thank you for your reply. I have replaced the pictures in the images/ directory, what is the generation command?

trdg -c 1000 -b 3 will generate 1000 images with image background.
trdg -c 1000 -b 3
I used this command to generate 100 pictures with background, but no text was generated on the pictures I replaced.
Could be a bug, please share the image.
Could be a bug, please share the image.
可能是错误,请分享图片。

Pictures have been shared, please reply, thank you!
Same problem
Hi! Sorry this one fell through the cracks.
The reason why the background does not change is that the pip package is probably installed in a different location so you are looking at a different directory. You can try running python3 trdg/run.py -c 1000 -b 3.
EDIT: You can also use --image_dir [path to your images] to fix the issue.
Hi! Sorry this one fell through the cracks.
The reason why the background does not change is that the pip package is probably installed in a different location so you are looking at a different directory. You can try running
python3 trdg/run.py -c 1000 -b 3.EDIT: You can also use
--image_dir [path to your images]to fix the issue.
The problem is solved. Thank you very much!