TextRecognitionDataGenerator icon indicating copy to clipboard operation
TextRecognitionDataGenerator copied to clipboard

Bugfix: random_skewing and skewing_angle parameters conflict

Open DenisDiachkov opened this issue 5 months ago • 0 comments

if random_skew=False, skewing_angle is not forced to be positive anymore.

Before

random_angle = rnd.randint(0 - skewing_angle, skewing_angle)

Would give an error if skewing_angle is negative

DenisDiachkov avatar Aug 29 '24 09:08 DenisDiachkov