Skip to content

Sample of how to leverage Optical Character Recognition (OCR) to extract text from images to enable Full Text Search in Azure Search

License

Notifications You must be signed in to change notification settings

liamca/AzureSearchOCR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Sample of how to leverage Optical Character Recognition (OCR) to extract text from images to enable Full Text Search in Azure Search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages