TextRecognitionDataGenerator
TextRecognitionDataGenerator copied to clipboard
Bugfix: random_skewing and skewing_angle parameters conflict
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