Can i use google text recognizer in ionic 2 framework?

Hi there, i am currently working on this project which i would need to take a picture of a text and then i want the text in the image to be highlighted something like the google translate application.I have found a google API that will recognize the image just as the google translate app however the language is in java (Android development).My question will be is it possible to implement the API in ionic 2 (typescript and angular2). The details of the API is provided under this link.I am still relatively new to ionic2 , i would greatly appreciate any help that is given.Thanks in advance

And also the attached are the images of the google translate application’s feature which i would want to implement on my project.