I'm currently using the OCR tools in Sikuli API to find a transaction ID from the following screen: 

[![Expected Text from Application](https://i.stack.imgur.com/R4ILd.png)](https://i.stack.imgur.com/R4ILd.png)

It finds the text and returns the following after a little bit of cleanup:

[![Characters returned from Sikuli OCR](https://i.stack.imgur.com/1VWZa.png)](https://i.stack.imgur.com/1VWZa.png)

My question is...How would one best replace the letter characters generated from the OCR with proper Numbers? From what I can see, its fairly consistent with how it deciphers the letters. For example, a '0' usually ends up '1J', a '6' turns into a 'b', and a '7' turns into a 'T'.

For those that are interested, I'll post the code I used to get the OCR to work as most correspondences about this are more then 2 years old.

1) Import your Sikuli libraries into your java project

2) At the top of your class, set the settings to TRUE

[![Settings Image](https://i.stack.imgur.com/le8Ao.png)](https://i.stack.imgur.com/le8Ao.png)

3) Setup you image to anchor off of and do a variation of the following code.

[![enter image description here](https://i.stack.imgur.com/0yqGm.png)](https://i.stack.imgur.com/0yqGm.png)

Thanks in advance for any help!