using sikuli, how to compare two strings of the image?

Asked by sathish

how to compare numbers present on the two image.

On the image.1 it has Kilometer as 10Km

After Doing particular procedure i need to check distance ?

So in different image, i need to check Kilometer?

Here how i will check

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
j (j-the-k) said :
#1

You can try the OCR feature.
To use it, you have to get the region in which the numbers are displayed.

You can then use region.text() to extract the text from the region.
But this feature is still not very exact so it may not work.

Can you help with this problem?

Provide an answer of your own, or ask sathish for more information if necessary.

To post a message you must log in.