fix ocr language check
Merge pull request #10 from chrox/master

fix ocr language check