We refer this link (https://github.com/charlesw/tesseract-samples)
Features of the components -
Removed the Sample OCR document action and build in separate component (Common Utility).