Camera2 API is not available on merlin nor is there any way to enable it , there are some very old builds of gcam available with limited functionality that dont have cam2api as a requirement, but the closest similar, up-to-date alternative would be installing Gcam GO ported by Greatness (Night sight doesn't work).Well, Thanks for the recommendation. I will sure try it soon.
I wanted to install GCam on my phone as it has really good photo processing capabilities. When I searched about it I came to know that I had to enable Camera2 API. So any idea on how to do it in my phone?? (Moto G Turbo - Merlin)
https://www.celsoazevedo.com/files/android/google-camera/f/changelog1447/