# Index image files with OCR

**URL:** <https://discuss.elastic.co/t/index-image-files-with-ocr/80908>\
**Category:** Elasticsearch\
**Created:** [April 1, 2017, 9:18pm UTC](https://discuss.elastic.co/t/index-image-files-with-ocr/80908 "2017-04-01T21:18:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ESCoder](https://avatars.discourse-cdn.com/v4/letter/e/9e8a1a/32.png) [@ESCoder](https://discuss.elastic.co/u/ESCoder)\
**Post date:** [April 1, 2017, 9:18pm UTC](https://discuss.elastic.co/t/index-image-files-with-ocr/80908/1 "2017-04-01T21:18:20Z")

</div>

hi,  
i want to OCR image files and index them in ElasticSearch, i want to be able to highlight sections of the images with respect to search results...is it possible to do with the ingest plugin ? i know that apache tika is used but wasnt sure if OCR of images was supported.

thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 1, 2017, 10:00pm UTC](https://discuss.elastic.co/t/index-image-files-with-ocr/80908/2 "2017-04-01T22:00:19Z")

</div>

I don't know if Tikka can do that, but you'd need to use something like it.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 1, 2017, 10:46pm UTC](https://discuss.elastic.co/t/index-image-files-with-ocr/80908/3 "2017-04-01T22:46:47Z")

</div>

OCR works in Tika when Tesseract is available. But ingest-attachment does not work with Tesseract I think.

You can look at FSCrawler project which is supposed to work with Tesseract although I know there is an open issue about this.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 29, 2017, 10:47pm UTC](https://discuss.elastic.co/t/index-image-files-with-ocr/80908/4 "2017-04-29T22:47:09Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
