Image processing tool for Electronic Health Records (EHR) using Spark, HDFS, Tesseract, and ElasticSearch
- Clone this repo
- Import and activate the conda environment. All following steps must be done in this environment.
conda env create -f environment.yml
source activate ehr-big-dataNeed some content here
python text_detection.py --image examples/images/example_09.jpg --east frozen_east_text_detection.pbFirst, run the following to create a directory of PDF's.
python pdf_generator.pySecond, run the following to detect, decode, and upload predictions into a MongoDB.
python ocr_tesseract.py