Thank you very much, Sachin! I will try that, what I want to do is to dewarp the text in pic like this. Currently I got no good result with the border noise, since my algorithm isn't sensitive enough to it. Do you think I could either physically detect and cut off the border noise or use a filter pipe to get ride of this edge noise content.
and that's what I got from you ocrpus-nlbin -n function.
Any suggestion would be appreciated. Thank you very much!