Answers.Body: <p>DjVu files are normally image only. From these file sections can be selected as images but not as text¹.</p>
  
  <p>If <a href="https://en.wikipedia.org/wiki/Optical_character_recognition">OCR</a> was applied during, or after, the conversion to DjVu. Extra information is stored in the files that associate image areas with text. Only if that was done you can select text from such a file².</p>
  
  <p>Applying OCR to a DjVu file can be done <a href="http://www.newocr.com/">online</a>. If you don't like that you could try <a href="https://en.wikisource.org/wiki/Help%3aDjVu_files/OCR_with_Tesseract">this script</a>, that uses <a href="https://en.wikipedia.org/wiki/Tesseract_%28software%29">Tesseract</a>. Or you can go for commercial software such as <a href="http://www.caminova.net/en/products/?src=products2.aspx">Document Express</a>.</p>
  
  <p>¹ <sub> e.g. using  the <a href="http://djvu.sourceforge.net/djview4.html">djview</a> program.</sub><br>
  ² <sub>In theory one could do OCR on the fly in the DjVu viewer, but I don't think any of the currently available viewers can do that.</sub></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-12-27T16:32:54.650Z
Answers.Text: Tesseract is not only an OCR engine, but also an Asgardian artifact of unimaginable power!
Answers.UserDisplayName: Jason Down
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-12-27T06:39:46.970Z
Answers.LastActivityDate: 2013-12-27T06:57:52.217Z
Answers.LastEditDate: 2013-12-27T06:57:52.217Z
Answers.UserDisplayName: Anthon
Answers.Body: <p>You can also use <a href="http://jwilk.net/software/ocrodjvu" rel="nofollow">ocrodjvu</a> with a selected OCR engine, e.g. tesseract.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-12T07:11:51.660Z
Answers.LastActivityDate: 2014-10-12T07:11:51.660Z
Answers.UserDisplayName: Janusz S. Bień
Answers.Body: <p>You can use <a href="http://djvu.sourceforge.net/doc/man/djvuxml.html#lbAF" rel="nofollow noreferrer">djvuxmlparser</a> to insert XML with OCR text.</p>
  
  <p>You can prepare this XML for example in <a href="https://en.wikipedia.org/wiki/ABBYY_FineReader" rel="nofollow noreferrer">FineReader</a>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-08T23:48:52.977Z
Answers.LastActivityDate: 2018-07-08T23:48:52.977Z
Answers.UserDisplayName: Stilgar Dragonclaw
Body: <p>DjVu is efficient at compression, but sometimes the text becomes an image and non-selectable. Is there anyway to make sure that the text remains selectable? Which program should I use for this conversion?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-12-29T06:21:50.773Z
Comments.Text: Linux/ Win 7. Any option in both.
Comments.UserDisplayName: amarprabhu
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-12-27T06:48:13.270Z
Comments.Text: Which OS are you working?
Comments.UserDisplayName: Anthon
Tags: <conversion><djvu><ocr>
Title: How to create DjVu format with selectable text?
UserDisplayName: amarprabhu
ThreadText: # How to create DjVu format with selectable text?
  
  (Asked by: username_0 on 2013-12-27)
  
  DjVu is efficient at compression, but sometimes the text becomes an image and non-selectable. Is there anyway to make sure that the text remains selectable? Which program should I use for this conversion?
  
  **Tags:** conversion, djvu, ocr
  
  > **Comments:**
  > **username_1**: Which OS are you working?  
  > **username_0**: Linux/ Win 7. Any option in both.  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2013-12-27. Score: 9
  
  DjVu files are normally image only. From these file sections can be selected as images but not as text¹.
  
  If [OCR](https://en.wikipedia.org/wiki/Optical_character_recognition) was applied during, or after, the conversion to DjVu. Extra information is stored in the files that associate image areas with text. Only if that was done you can select text from such a file².
  
  Applying OCR to a DjVu file can be done [online](http://www.newocr.com/). If you don't like that you could try [this script](https://en.wikisource.org/wiki/Help%3aDjVu_files/OCR_with_Tesseract), that uses [Tesseract](https://en.wikipedia.org/wiki/Tesseract_%28software%29). Or you can go for commercial software such as [Document Express](http://www.caminova.net/en/products/?src=products2.aspx).
  
  ¹  e.g. using the [djview](http://djvu.sourceforge.net/djview4.html) program.  
  ² In theory one could do OCR on the fly in the DjVu viewer, but I don't think any of the currently available viewers can do that.
  
  > **Comments:**
  > **username_2**: Tesseract is not only an OCR engine, but also an Asgardian artifact of unimaginable power!  
  
  ---
  
  ### Answer by username_3 on 2014-10-12. Score: 2
  
  You can also use [ocrodjvu](http://jwilk.net/software/ocrodjvu) with a selected OCR engine, e.g. tesseract.
  
  
  ---
  
  ### Answer by username_4 on 2018-07-08. Score: 0
  
  You can use [djvuxmlparser](http://djvu.sourceforge.net/doc/man/djvuxml.html#lbAF) to insert XML with OCR text.
  
  You can prepare this XML for example in [FineReader](https://en.wikipedia.org/wiki/ABBYY_FineReader).
  
  
  ---
  
  