Working with text and using OCR featuresΒΆ

These are the steps to switch to another language than the standard english (eng):

  1. find the folder SikulixTesseract/tessdata in your SikuliX <app-data> folder (see docs)

2. download the languages needed from Tesseract languages version 3 (only the files with .traineddata)

  1. put the .traineddata files into the tessdata folder (step 1.)

  2. in your script say before using OCR features:

    tr = TextOCR.start()

where xxx is the shorthand for the wanted language (the letters in the filename (step 3.) before the .traineddata)