1

I'm trying to create curved text images with python as fake image to train my network.

sample desired image : sample I tried using TextRecognitionDataGenerator but it's output wrap characters but I want characters to be on curve not distorted. I saw also this example matplotlib but can't work on it. I can create with photoshop but because of large amount of images it is impossible.

regards

Peyman habibi
  • 680
  • 1
  • 6
  • 17
  • What have you tried ? I would do it by generating svg images. You have everything you need here : https://www.w3schools.com/graphics/svg_text.asp – Alex_6 Oct 06 '19 at 11:28
  • Then you should be able to make it in svg. You'll just have to generate the text letter by letter and to compute each time the top left position and rotation. – Alex_6 Oct 06 '19 at 11:42
  • thanks. I want to create image with desired text. my image counts is over 10000000 with desired text. and want to create python script and generate them with one time run. – Peyman habibi Oct 06 '19 at 11:42

0 Answers0