How to manipulate preview of camera?



I am having trouble to manipulate the camera preview of my ionic app (i am currently using the plugin CameraPreview).
I basically want to treat it as a canvas to have the ability to get informations about the image displayed on tap.
This plugin would have perfectly done the job for me, but it is broken and i can’t build my app if i install it.
It would be awesome to have a little help there.

Thank you !