gwxie / Synthesize-Distorted-Image-and-Its-Control-Points

Synthesize distorted document image and control points.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

如何改变背景里面的合成图片的大小?

1191658517 opened this issue · comments

请问作者,需要修改哪些地方,使得背景里面合成的扭曲图片更小呢?求解答QAQ

请问作者,需要修改哪些地方,使得背景里面合成的扭曲图片更小呢?求解答QAQ

改这里

reduce_value = np.random.choice([2*2, 4*2, 8*2, 16*2, 24*2, 32*2, 40*2, 48*2], p=[0.02, 0.18, 0.2, 0.3, 0.1, 0.1, 0.08, 0.02])

好的,十分感谢您的回答!