From 7fc3dc8c3160f5b79a7ed7378f34ee5786729860 Mon Sep 17 00:00:00 2001 From: Shreeshrii Date: Fri, 18 Mar 2016 16:26:37 +0530 Subject: [PATCH] Updated Command Line Usage (markdown) --- Command-Line-Usage.md | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/Command-Line-Usage.md b/Command-Line-Usage.md index cd00a07..cd7d8f6 100644 --- a/Command-Line-Usage.md +++ b/Command-Line-Usage.md @@ -95,8 +95,38 @@ Output marrön räpido salta sobre el perro perezoso. A raposa marrom räpida salta sobre o cäo preguieoso. + +## Order of multiple languages -The output can be different based on the order of languages, so -l eng+deu can give different result than -l deu+eng. +The output can be different based on the order of languages, so -l eng+hin can give different result than -l hin+eng. + +Following examples use a greyscale version of this image which has text in multiple languages - Hindi and English. + +![bilingual.jpg](https://i.ytimg.com/vi/Z0qDeKu7TWA/hqdefault.jpg) + +Using English as primary language and then Hindi + + tesseract --tessdata-dir ./ ./testing/bilingual.jpg ./testing/bilingual-enghin -l eng+hin + +Output + + हिदीसेअंठौजी + HINDI To + + ENGLISH + — + +Using Hindi as primary language and then English + + tesseract --tessdata-dir ./ ./testing/bilingual.jpg ./testing/bilingual-hineng -l hin+eng + +Output + + हिंदी से अंग्रेजी + H I N D I T o + + E N G L I S H + — ## Searchable pdf output