Place a frame when camera opens?

want to place a frame when camera open as you can see in lenskart App.i searched for for it but didn’t find it ,is there any way to do it ?