due to file size limit, I couldn't upload the font file, the but the font is available in C:\Windows\Fonts
在2022年2月5日星期六 UTC+8 00:24:12<陈奕润> 写道: > I use tesseract to recognize game texts, which has a very small font size, > so I want to generate images of small font size to fine tune tesseract, but > after a few tries, I was not able to get the image I want. What am I doing > wrong? > [image: test.png][image: sample_text.png] > the first image is cut from game and enlarged twice the size, it looks the > same with SimSun font in size 9. > the second image is generated by text2image, command is: > text2image --fonts_dir=fonts_my --font=SimSun > --text=tmp/sample_text.txt--xsize 300 --ysize 50 --margin 0 --ptsize 9 > > I've uploaded the font I use, and the text is "蝙蝠翅膀". > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/d4f909e9-0f1b-423f-a767-ac8d5118a055n%40googlegroups.com.