Why change source file? text2image --help | grep degrade --degrade_image Degrade rendered image with speckle noise, dilation/erosion and rotation (type:bool default:true)
Zdenko pi 5. 10. 2018 o 18:16 anonynamja <[email protected]> napĂsal(a): > I wish to disable the degradeimage function when generating training data. > Does anyone know how to do this? Do I change this line 64 in text2image.cpp: > > // Degrade the rendered image to mimic scanner quality. > > BOOL_PARAM_FLAG(degrade_image, true, > > "Degrade rendered image with speckle noise, > dilation/erosion " > > "and rotation"); > > to false? > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/tesseract-ocr. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/aacf2075-a804-4c99-bb4f-f4f3318a3abe%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/aacf2075-a804-4c99-bb4f-f4f3318a3abe%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8yjpGg37cgpLYYgNuxv9t0pcbo3OAKajurTm8BWH84thQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

