title: How to take images only within the bounding box in android custom camera
body: <p>Recently, I found a app that captures only the images within the boxes like the image below. Should I use a SurfaceView ? or are there some other technique to do this ? I made a camera app with surfaceview and thinking about implementing a blue box like the image below so that I can take the images within the 2 blue boxes.</p>
  
  <p><img src="https://i.stack.imgur.com/6tVI1.png" alt="enter image description here"></p>