To understand the building process please go through my blog here.
Run below command to install darknet.
You need to have tesseract installed to run this OCR. Now move your data folder and weight file in this repository. To run the OCR follow this command.
pan.py -d -t
You can see the results in output folder in form of a csv file.