Spacing issue when using .text() feature
Asked by
TooFanHasArrived
Hello,
I am using the .text() feature to extract text from an image. In the image, the wording is as follows:
"I have a red apple and 2 oranges"
When I extract the wording and paste it in notepad, the wording appears slightly off as shown below:
"Ih ave ar ed apple and 2o ranges"
How can I fix this so that the wording appears without the spacing issues shown? Below is my code:
words = find(img.
#code for opening notepad and clicking in it
paste(words)
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask TooFanHasArrived for more information if necessary.
To post a message you must log in.