Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.57 KB

README.md

File metadata and controls

22 lines (15 loc) · 1.57 KB
services platforms author
search
dotnet
liamca

Azure Search Optical Character Recognition Sample (OCR)

This is a sample of how to leverage Optical Character Recognition (OCR) to extract text from images to enable Full Text Search over it, from within Azure Search. In this sample, we take the following PDF that has an embedded image, extract any of the images within the PDF using iTextSharp, apply OCR to extract the text using Project Oxford's Vision API, and then upload the resulting text to an Azure Search index.

Once the text is uploaded to Azure Search, we can then do full text search over the text in the images.

Demo Screen Shot

Requirements

Here are some things that you will need to run this sample:

Special Thanks

Special thanks to Jerome Viveiros who wrote a great sample on how to use iTextSharp on his blog which formed a basis of much of what I used in my sample that extracts the images from the PDF file.