title: CameraX Image analysis's imageproxy size and PreviewView size are not the same
body: <p>I'm trying to use Firebase's MLKit for face detection with Camerax. I'm having a hard time to get Image analysis's imageproxy size to match PreviewView's size. For both Image analysis and PreviewView, I've set setTargetResolution() to PreviewView width and height. However when I check the size of the Imageproxy in the analyzer, it's giving me 1920 as width and 1080 as height. My PreviewView is 1080 for width and 2042 for height. When I swap the width and the height in setTargetResolution() for Image analysis, I get 1088 for both width and height in imageproxy. My previewview is also locked to portrait mode.</p>
  <p>Ultimately, I need to feed the raw imageproxy data and the face point data into an AR code. So scaling up just the graphics overlay that draws the face points will not work for me.</p>
  <p><strong>Q:</strong> If there are no way to fix this within the camerax libraries, How to scale the imageproxy that returns from the analyzer to match the previewview?</p>
  <p>I'm using Java and the latest Camerax libs:</p>
  <p>def camerax_version = &quot;1.0.0-beta08&quot;</p>