How to implement google cloud vision ocr in ionic 3

How to implement google cloud vision ocr in ionic 3 to identify text in image uploaded ? Found a github repo to identify text from image. Tried this project with ionic3 Upload image and texts gets extract from the image and tells whether the given keyworks are present or not.below code not working while capturing the image and identifying the text from the image and show highlighted text from identified text .

cloned and tried by ionic serve gives a error access-config file not found which has google could vision api in it. created a access-config file and put google vision api as access-config.ts

export constant access-config{ VISION_API_KEY:‘api_key’

}

but failed capturing the image and get text from the image .

Can someone help me work on this to get work .