← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #631838]: Extract string from image that contains spaces between words and then print the extracted text

 

Question #631838 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/631838

Description changed to:
I am using sikuli ide 1.1.1 and I want to extract string from image that contains spaces between words and then print the extracted text from image. I am using the following code for extraction of text
a = find (image).text ( )
print a
But it couldn't extract spaces between words correctly.   For example if an image contains following text: 
Text Recognition Example
Then by applying the above mentioned code I got an output: TextRecognition Example
Note: There is no space extracted between Text and Recognition. 
The above mentioned script works well for extraction of word from some images not all.
I use the above mentioned script on sikuli ide 1.1.1 and sikuli-X-1.0RC3 but faced same problem. Will you please give me some solution to resolve these problems?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.